🍸 Tonic: new template/framework on top of Middleman

Hello :wave:

Just want to present a new tool built on top of Middleman.

:cocktail: Tonic

Tonic parses your collection, defined in a YAML or JSON file, and automatically generates a customizable static website to explore your collection in a smart way, with a lot of filtering and sorting options.

:keyboard: Source code

:globe_with_meridians: Live demo

Feel free to share your feedback!

2 Likes

This is pretty cool. What do you think some good applications of how to use it would be?

1 Like

Thanks @donnfelker! Much appreciated!

Initially, I started to build Tonic to (eventually :laughing:) re-write the Awesome Ruby website (https://awesome-ruby.com) and make it more explorable, including data like: downloads, stars, authors, last release, … It would be really useful! This can be extended to any awesome-* like collection.

But you can also build a small online shop, using for example, links to Stripe for the checkout part in the detail page of each item.

Another ideas:

  • front-end for you local movies/music collections
  • album explorer of your trips

Do you have any other ideas in mind? Any kind of structured data can be displayed and explored by a Tonic instance :raised_hands:

Also, it seems this could be of interest to some librarians/archivists.

(By @jrochkind on Reddit: https://www.reddit.com/r/ruby/comments/ypvlxs/comment/ivuqym8/?utm_source=share&utm_medium=web2x&context=3)

1 Like

Thank you for creating this. Looking forward to exploring the source code and learning :slight_smile:

Glad you like it!

Next week I’ll release a new cool feature: allow to filter by parameters :raised_hands:

www.my-collection.com?price_max=40&category=music

Ref: https://github.com/Subgin/tonic/issues/26