tawasuyu

tawasuyu/nahual

Open-with viewers (text/image/audio/video/svg/font/hex/…) in Rust, on Llimphi.

⎇ 34461c1bfd4da287a07c7e46f9b9348711f74431 README.md Markdown · 37 líneas · 2.1 KB Historia crudo

feat: nahual standalone — visores open-with sobre Llimphi (front-door, git-dep al monorepo) f63e78141 · Sergio ·

1# nahual
2
3> `nahual` (Nahuatl: *companion spirit*). Everyday "open-with" viewers, in Rust, on [Llimphi](https://gitea.gioser.net/sergio/llimphi).
4
5`nahual` is the set of viewers a desktop user expects — a file shell that dispatches the right viewer by content, plus viewers for text, images, audio, video, SVG, maps, fonts, hex, tables, markdown, archives and more. All render on the same GPU-accelerated Llimphi UI. A **meta-runtime** lets you define a new viewer from a JSON schema, with no Rust.
6
7## Run
8
9```sh
10cargo run --release -p nahual-shell-llimphi          # the open-with shell (dispatches by content)
11cargo run --release -p nahual-file-explorer-llimphi  # file tree
12cargo run --release -p nahual-image-viewer-llimphi   # image viewer
13cargo run --release -p nahual-text-viewer-llimphi    # text viewer
14```
15
16## Viewers
17
18`text` · `image` (PNG/JPEG/WebP) · `audio` · `video` · `svg` · `map` (geo) · `font` (TTF/OTF glyph outlines) · `hex` · `table` · `markdown` · `archive` (zip/tar) · `card` · `gallery` · `tree` — plus `nahual-viewer-core` / `nahual-source-core` / `nahual-thumb-core` and the `meta-runtime` + `meta-schema` libraries.
19
20## How dependencies work
21
22This is a clean front-door repo: it contains **only nahual's own crates**. Everything else is pulled as a git dependency —
23
24- the **Llimphi** UI framework → [`llimphi.git`](https://gitea.gioser.net/sergio/llimphi)
25- foundational crates (content discern, media decoders, content-addressed sources, shared leaves) → the [`gioser`](https://gitea.gioser.net/sergio/gioser) monorepo, the suite's source of truth.
26
27No vendoring, no duplication. First build clones those repos (cached afterwards).
28
29## Considerations
30
31- **Viewers, not editors.** To *edit* text use `nada`; to edit an image use `pineal`.
32- The media viewers decode AV1/Opus/FLAC/MP3/Vorbis/WebM natively (pure-Rust, no ffmpeg).
33- Cross-platform Llimphi UI (Linux/macOS/Windows); viewers also compile inside the Wawa kernel.
34
35## License
36
37MIT. Builds on [Llimphi](https://gitea.gioser.net/sergio/llimphi) and the [gioser](https://gitea.gioser.net/sergio/gioser) suite.

README.md

nahual

nahual (Nahuatl: companion spirit). Everyday "open-with" viewers, in Rust, on Llimphi.

nahual is the set of viewers a desktop user expects — a file shell that dispatches the right viewer by content, plus viewers for text, images, audio, video, SVG, maps, fonts, hex, tables, markdown, archives and more. All render on the same GPU-accelerated Llimphi UI. A meta-runtime lets you define a new viewer from a JSON schema, with no Rust.

Run

cargo run --release -p nahual-shell-llimphi          # the open-with shell (dispatches by content)
cargo run --release -p nahual-file-explorer-llimphi  # file tree
cargo run --release -p nahual-image-viewer-llimphi   # image viewer
cargo run --release -p nahual-text-viewer-llimphi    # text viewer

Viewers

text · image (PNG/JPEG/WebP) · audio · video · svg · map (geo) · font (TTF/OTF glyph outlines) · hex · table · markdown · archive (zip/tar) · card · gallery · tree — plus nahual-viewer-core / nahual-source-core / nahual-thumb-core and the meta-runtime + meta-schema libraries.

How dependencies work

This is a clean front-door repo: it contains only nahual's own crates. Everything else is pulled as a git dependency —

No vendoring, no duplication. First build clones those repos (cached afterwards).

Considerations

License

MIT. Builds on Llimphi and the gioser suite.