swag-for-dev
swag-for-dev copied to clipboard
WIP: Add wizard to add swag items
- [x] I've checked that this isn't a duplicate pull request.
Add a wizard which creates an entry to data.json
, keeping it well ordered and formatted.
Here's a preview: https://i.imgur.com/nCHCmvT.gif
Usage:
npm run add
TODO:
- [ ] Be able to create tags (waiting for https://github.com/enquirer/enquirer/issues/30)
- [ ] You tell me
Great idea! 💯
Now we can use the current time to add dateAdded
too.
The last part (contributing) needs a bit of more thought. Like maybe a web tool / form (on devswag.io/submit or devswag.io/add) would make it easier for users?
Not to sound too ambitious, but what about a devswag
bot to handle automatic issue/PR creation when there's a new proposed swag?
Yes, we can definitely do that but right now, I'm thinking along the lines of making it more accessible to general public. Similar to getting feedback in Telegram group, we can reduce friction for users to add / submit swag opportunities by providing a link / form to be filled on website itself! The submitted data can be posted to Gitter or Telegram via a webhook and we can take it forward from there as long as there are manageable submissions at any given time. If it starts getting out-of-hand, then automation in GitHub contribution should definitely be prioritized first. Just my $0.02 here (trying to get 80% impact with 20% effort). 😇
I have beta access to GitHub actions if we want to try something with that. I don't know that it's super useful without a backend, though!
Nice! I believe Netlify supports collection of form submissions too.
This page might be useful:
https://zapier.com/apps/netlify/integrations/github
https://zapier.com/apps/netlify/integrations/github
This is beautiful! @swapagarwal I think we should then definitely create the form.
Zapier isn't free :/ We could the free tier of netlify functions to trigger such workflow for free. I definitely like the idea here. We could even collect feedback automatically from the community by posting a link or button to the chat that ups and downs a GitHub issue (let say by editing the first comment or something).
Awesome! I've set up the integration. Just need to add a form on the website. 🎉
Zapier isn't free :/ We could the free tier of netlify functions to trigger such workflow for free
100 tasks/mo are free. Don't foresee crossing that limit in near future. 😅