Skip to content
Enoch02Public

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

11 Commits

Folders and files

Repository files navigation

Ìwé

Ìwé is a native Markdown viewer for the GNOME desktop. It shows Markdown files in a clean, read-only view. The name comes from the Yoruba word for book.

Features

  • Renders Markdown with tables, fenced code blocks, and a table of contents.
  • Shows an outline of the headings in a sidebar.
  • Opens a file with the Open button, drag and drop, the command line, or the file manager.
  • Reloads the document when the file changes on disk.
  • Keeps the scroll position after a reload.
  • Follows the system light and dark theme.
  • Opens web links in the default browser.
  • Registers as an application for text/markdown files.

Screenshots

Welcome page Document view
The welcome page with the Choose file button A Markdown document with the outline sidebar

The screenshots show the dark theme.

Requirements

  • Python 3 and PyGObject
  • GTK 4
  • libadwaita
  • WebKitGTK 6.0
  • Python Markdown package (markdown)
  • Meson 1.0 or later
  • blueprint-compiler
  • gettext
  • desktop-file-utils and appstreamcli for the tests

Package names are different on each distribution. Use your distribution package manager to install these dependencies.

Build from source

Configure the build:

meson setup _build --prefix=/usr/local

Compile the project:

meson compile -C _build

Install the application:

sudo meson install -C _build

Start the application:

iwe

Open a file from the command line:

iwe path/to/document.md

Flatpak

The project includes the Flatpak manifest com.enoch02.iwe.json. The manifest uses the org.gnome.Platform 50 runtime.

Install the runtime and SDK:

flatpak install flathub org.gnome.Platform//50 org.gnome.Sdk//50

The manifest source points to a local checkout. Update the sources entry before you build on another machine.

Build and install the application:

flatpak-builder --user --install --force-clean build-dir com.enoch02.iwe.json

Start the Flatpak:

flatpak run com.enoch02.iwe

Use the Flatpak extension in Visual Studio Code to export a bundle. See "Use with Visual Studio Code" below.

Use with Visual Studio Code

Install these extensions:

  • Meson (mesonbuild.mesonbuild)
  • Flatpak (bilelmoussaoui.flatpak-vscode)

Open the Command Palette with Ctrl+Shift+P. Use these commands:

  • Flatpak: Build: Build the application.
  • Flatpak: Build and Run: Build and start the application.
  • Flatpak: Export Bundle: Create com.enoch02.iwe.flatpak in the workspace root.
  • Flatpak: Show Output Terminal: Show the build output.

The export command needs a successful build. Run Flatpak: Build first. The command writes com.enoch02.iwe.flatpak to the workspace root.

Install the exported bundle:

flatpak install --user ./com.enoch02.iwe.flatpak

Tests

Run the test suite:

meson test -C _build

The tests validate the desktop file, the AppStream metadata, and the GSettings schema.

Project structure

data/          Desktop entry, AppStream data, GSettings schema, D-Bus service, icons
po/            Translations
src/           Python sources and Blueprint UI files
subprojects/   Build dependencies

Contributing

Report bugs and request features in the GitHub issue tracker: https://github.com/Enoch02/Iwe/issues

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages