⚡ Where code meets heavy metal. ⚡
This app is a side gig for me to learn Ruby & Rails.
The idea is simple:
- The app randomly selects three Ruby gems (see below)
- An LLM proposes a project prompt for the user to build using two matching gems
- Users can follow, like, etc. each other's work
- Add lots of tropes, puns and inside jokes about music and coding
Not all gems are useful and/or appropriate for a coding challenge.
The app will only select Gems which (according to RubyGems.org) have:
- at least ten versions since 2020
- between 10,000 and 1,000,000 total downloads
- a description and a (working) homepage link
At first, I thought I'd add a minimum length for the Gems' description. Then I noticed that even very common ones usually have very short descriptions on RubyGems.org. Hence the requirement for a homepage link, which the LLM visits when generating the project prompt.
To seed the Rubygem model, you'll need to:
- Check out the
rubygems/rubygems.orgrepo - Download and import a database dump
- Run
script/dump_gemmables.rb > all-gemmables.yml - Run
script/filter_broken_urls all-gemmables.yml db/gemmables.yml - Run
rails db:seed