~reykjalin/Fonn

Fönn is a cross-platform code editor written in C++ with support for highlighting via tree-sitter and extensions written in Lua

c1d2e5f update extensions submodule

4 months ago

dd4f48b remove git extension

4 months ago

#❄️ Fönn

Fönn (pronounced [/fœnː/], sort of like fun) is a code editor that's sort of modeled after what I think the ideal editor should be like. My opinions may have changed since I wrote that blog post, but the essence remains the same. This project is mostly a hobby project I like hacking on but I'm hoping it'll eventually grow into a competent editor that I'll use as a daily driver.

Contributions are welcome, just send patches to ~reykjalin/public-inbox@lists.sr.ht.

#Building Fönn

#Dependencies

You must first install the necessary dependencies on your computer:

  1. meson, which is used to build the project.
  2. wxWidgets, the GUI library.
    • You can either build this from source and make sure wx-config is in your path, or install it system-wide, e.g. via homebrew.

#Build instructions

Once the dependencies have been installed you can build Fönn by doing the following:

  1. Clone repo with git clone --recurse-submodules git@git.sr.ht:~reykjalin/Fonn.
  2. Run meson: meson setup builddir.
  3. Build the editor: meson compile -C builddir.
  4. Run the editor: ./builddir/fn.

Example:

brew install wxwidgets # For MacOS.
apt install libwxgtk # For Ubuntu (I think, can't confirm).
git clone --recurse-submodules git@git.sr.ht:~reykjalin/Fonn
cd Fonn
meson setup builddir
meson compile -C builddir
./builddir/fn