An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

This repository contains experiments to interactively pipe content while working
at the command line to a web interface.

image

# 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