https://github.com/cablehead/html-cat
patterns to pipe HTML from the command line to a webpage
https://github.com/cablehead/html-cat
command-line htmx shell
Last synced: 9 months ago
JSON representation
patterns to pipe HTML from the command line to a webpage
- Host: GitHub
- URL: https://github.com/cablehead/html-cat
- Owner: cablehead
- Created: 2024-06-28T17:25:35.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-31T18:13:45.000Z (about 1 year ago)
- Last Synced: 2025-04-11T18:24:39.773Z (9 months ago)
- Topics: command-line, htmx, shell
- Homepage:
- Size: 9.08 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This repository contains experiments to interactively pipe content while working
at the command line to a web interface.

# Available branches / experiments:
## [deno2-with-xs-v1](https://github.com/cablehead/html-cat/tree/deno2-with-xs-v1)
https://github.com/user-attachments/assets/76220cc6-d44b-4ea0-a7e7-f8fdcdecd6e6
- HTTP served with: [deno2](https://deno.land/) +
[hono](https://hono.dev/docs/getting-started/deno) (perfect for using with
[smallweb](https://www.smallweb.run))
- Event bus: [xs](https://github.com/cablehead/xs) / content is edited directly
on the event stream
- aux tools: [minijinja-cli](https://github.com/mitsuhiko/minijinja)
- Client side: vanilla JS, SSE
## [basics](https://github.com/cablehead/html-cat/tree/basics): as lo-fi as can be?
https://github.com/cablehead/html-cat/assets/1394/11e5cb05-fa13-4910-a8a3-069f891546d5
- HTTP served with: [http-sh](https://github.com/cablehead/http-sh) + Bash
- Event bus: cat >> bus; tail -F bus (srsly)
- aux tools: jq, jo
- Client side: htmx, SSE
## [with-xs-snapshot-2024AUG01](https://github.com/cablehead/html-cat/tree/with-xs-snapshot-2024AUG01)
https://github.com/user-attachments/assets/88d8001f-15eb-40fd-bce8-2ae8ee44d513
- HTTP served with: [http-sh](https://github.com/cablehead/http-sh) + Bash +
Nushell
- Event bus: [xs](https://github.com/cablehead/xs) / content is edited in files
/ watchexec -> xs
- aux tools: minijinja-cli
- Client side: htmx, SSE