Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/johnthethird/sinatra-htmx
Example of a Sinatra app using HTMX for implementing an interactive search
https://github.com/johnthethird/sinatra-htmx
css htmx
Last synced: 25 days ago
JSON representation
Example of a Sinatra app using HTMX for implementing an interactive search
- Host: GitHub
- URL: https://github.com/johnthethird/sinatra-htmx
- Owner: johnthethird
- Created: 2020-08-14T03:36:36.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-08-14T03:54:49.000Z (over 4 years ago)
- Last Synced: 2024-08-03T17:09:46.337Z (4 months ago)
- Topics: css, htmx
- Language: HTML
- Homepage:
- Size: 36.1 KB
- Stars: 12
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
- awesome-htmx - sinatara-htmx - Example of a Sinatra app using HTMX for implementing an interactive search (Examples by Back-end / Ruby)
README
# Sinatra HTMX
Web dev is just too damn hard. This here is a showcase of how to do things like it was 1999. Try it, you will like it.
## Sinatra
The little [framework](http://sinatrarb.com/) that could. When you just need to write a little bit of Ruby and put it on the web.
## HTMX
The star of the show, [HTMX](https://htmx.org) is a monumentally great idea. Forget Javascript sprinkles, try markup FTW.
## Tailwinds
Like chocolate and peanut butter, [CSS and HTML](https://tailwindcss.com) go great together. In fact, you can write your CSS **in** your HTML 🤯. As a not-so-side benefit, you will **actually learn** CSS. Bonus!
## Just
Instead of Make, try out [Just](https://github.com/casey/just) for your command-running needs.
Get things going with:
```bash
just dev
```Or in Docker:
```bash
just build
just run
```