Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lukewilliamboswell/roc-htmx-playground
roc + htmx playground
https://github.com/lukewilliamboswell/roc-htmx-playground
htmx roc-lang
Last synced: 8 days ago
JSON representation
roc + htmx playground
- Host: GitHub
- URL: https://github.com/lukewilliamboswell/roc-htmx-playground
- Owner: lukewilliamboswell
- License: upl-1.0
- Created: 2023-12-06T06:30:49.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-08-12T06:01:36.000Z (3 months ago)
- Last Synced: 2024-08-12T07:24:54.347Z (3 months ago)
- Topics: htmx, roc-lang
- Language: Roc
- Homepage:
- Size: 2.19 MB
- Stars: 16
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- roc-awesome - lukewilliamboswell/roc-htmx-playground
README
# roc + htmx playground
- Explore [roc](https://www.roc-lang.org) and [htmx](https://htmx.org) for app development
- Add new features to [roc-lang/basic-webserver](https://github.com/roc-lang/basic-webserver)
- Generally tinker and have funAny PR's or ideas welcome.
You are welcome to play with this and if you have something to share then please do.
![demo](demo.gif)
## Getting Started
Ensure `sqlite3` and `roc` are on your `PATH`
**create test.db** `rm -rf test.db && sqlite3 test.db < test.sql`
**start server** `DB_PATH=test.db roc dev src/main.roc`
## Getting with Kingfisher
As an alternative to the basic-webserver, this playgroud can also be run with the [kingfisher platform](https://github.com/ostcar/kingfisher).
**start server** roc run src/kingfisher.roc -- --no-snapshot