https://github.com/reykjalin/fn
TUI editor and editor backend written in Zig
https://github.com/reykjalin/fn
editor tui zig
Last synced: about 1 year ago
JSON representation
TUI editor and editor backend written in Zig
- Host: GitHub
- URL: https://github.com/reykjalin/fn
- Owner: reykjalin
- License: mit
- Created: 2025-02-02T06:10:24.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-05T04:55:23.000Z (over 1 year ago)
- Last Synced: 2025-03-05T05:31:11.732Z (over 1 year ago)
- Topics: editor, tui, zig
- Language: Zig
- Homepage: https://www.thorlaksson.com/projects/fonn
- Size: 179 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ❄️ Fönn
A code editor for _fun_.

This is currently a toy project, but `fn` is stable enough that I'm exclusively using it when working on changes to the editor.
My primary goal is to have a modern, capable TUI code editor.
A secondary goal is for `fn` to eventually have both a GUI and a TUI powered by the same text editing "engine".
## Build instructions
```sh
# Debug build in ./zig-out/bin/fn.
zig build
# Run debug build in current directory.
zig build run
# Open a file with debug build.
zig build run -- path/to/file
# Release build in ~/.local/bin/fn.
zig build -Doptimize=ReleaseSafe --prefix ~/.local
```
## Usage
```sh
$ fn --help
Usage: fn [file]
General options:
-h, --help Print fn help
-v, --version Print fn version
```