TUI editor and editor backend written in Zig
4
fork

Configure Feed

Select the types of activity you want to include in your feed.

Zig 99.5%
Other 0.5%
90 1 0

Clone this repository

https://tangled.org/reykjalin.org/fn https://tangled.org/did:plc:ph2n2oeirk7t5zjmxwfkhojk/fn
git@tangled.org:reykjalin.org/fn git@tangled.org:did:plc:ph2n2oeirk7t5zjmxwfkhojk/fn

For self-hosted knots, clone URLs may differ based on your setup.

Download tar.gz
README.md

❄️ Fönn#

A code editor for fun.

Screenshot of the fn TUI modifying its own source code

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#

# 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#

$ fn --help
Usage: fn [file]

General options:

  -h, --help     Print fn help
  -v, --version  Print fn version