A minimalist starting template for Rails 8+ applications.
No options, just a nice omakase stack and design.
You can edit the list in tinystarter.rb to remove any modules you don't want to install.
Clone the repo and reference the tinystarter.rb file with the -m argument:
Note you will need tailwind and bun, as tinystarter uses DaisyUI which builds on top of tailwind and cannot be installed via importmaps
rails new APP_NAME --css=tailwind --javascript=bun -m /tinystarter/tinystarter.rb
cd APP_NAME && rails db:prepare
./bin/dev
Here's a check list of things to do after creating an app with tinystarter:
- Find and replace
tinyappwith the name of your app. This is used in some headers - Drop your analytics code in
views/shared/_analytics.html.erb - Change
views/shared/_footer.html.erbto your url of choice - Drop a privacy policy and terms and conditions in
views/static_pages/privacy.html.erbandviews/static_pages/terms_and_conditions.html.erb
- Rspec / factorybot config
- devise allow unconfirmed access
- modal / onboarding
- Basic tests
- Mailer config
- Kamal deploy GitHub action
- Exception notification -> slack or telegram
- Metatags (with sensible defaults)