
Security News
Vite Releases Technical Preview of Rolldown-Vite, a Rust-Based Bundler
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
emoji-to-issue
Advanced tools
The fastest way to create GitHub issues on your phone.
Add emoji reactions to messages on Slack and it creates an GitHub issue for you.
If you don't make it an issue, you'll forget it. Don't miss problems of your product. This module helps you to accelerate product development process, especially when you're dog-fooding.
Add an emoji reaction:
Then, the issue is made:
In your package.json
:
"dependencies": {
"emoji-to-issue": "uiur/emoji-to-issue#master",
Then:
npm install
https://slack.com/customize/emoji
Add custom emoji with names such as :issue:
or :issue-assign-uiur:
.
Use alias if you want short one like: :uiu: -> :issue-assign-uiur:
This emoji generator is useful: https://emoji-gen.ninja/
Following api tokens are required:
SLACK_TOKEN
https://api.slack.com/apps/~~/install-on-team
reaction added
events https://api.slack.com/apps/:app/event-subscriptionschannels:history
users:read
https://api.slack.com/apps/:app/oauthGITHUB_TOKEN
Set those tokens via environment variables or pass it to the arguments.
const { ReactionHandler } = require('emoji-to-issue')
handler = new ReactionHandler({
issueRepo: 'hello-ai/sandbox', // required
reactionName: ['bug'], // default: 'issue', 'issue-assign_:assignee' etc.
slackToken: 'bot token', // default: process.env.SLACK_TOKEN
githubToken: 'github token' // default: process.env.GITHUB_TOKEN
})
// event = {
// type: 'reaction_added',
// user: 'UB9T3UXU0',
// item: { type: 'message', channel: 'CGU971U2F', ts: '1565583510.003900' },
// reaction: 'issue',
// item_user: 'UB9T3UXU0',
// event_ts: '1565583513.004000'
// }
if (handler.match(event)) {
handler
.handle(event)
.then(() => {
console.log('ok')
})
.catch(err => {
console.error(err)
})
}
FAQs
the fastest way to create github issues with slack emoji reactions
The npm package emoji-to-issue receives a total of 0 weekly downloads. As such, emoji-to-issue popularity was classified as not popular.
We found that emoji-to-issue demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
Research
Security News
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Research
Security News
Malicious PyPI package semantic-types steals Solana private keys via transitive dependency installs using monkey patching and blockchain exfiltration.