sund3RRR / rtfm

Gnome dash docset documentation reader written in Crystal

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Read the Formidable Manual

It's a dash/docset reader with built in documentation for Crystal and GTK APIs. It's written in Crystal using GTK4 bindings.

Tasks needed to be done before I ask anyone to use this:

  • Create better Crystal docset files.
  • Base UI defined and implemented.
  • Create docset reader/indexer.
  • Docset chooser widget.
  • Add UI to download docset.
  • Fuzzy search and show docset results.
  • Have button/shortcut to enable/disable fuzzy search.
  • Open docset by double click it.
  • Add back/foward buttons.
  • Save session.
  • Page search.
  • Tabs memorize theirs docsets.
  • Fix scrollbar to be always on top after search results change.
  • Initial welcome page.
  • About dialog.
  • Focus webpage after open a doc page.
  • Have screenshots in this README.
  • Create GTK docsets based on offline GTK docs + GIR info..
  • Archlinux AUR package.
  • Ubuntu package.

Installation

ArchLinux

There's a AUR package, it's named gnome-rtfm because there's already a rtfm package there for another project.

yay -S gnome-rtfm

Ubuntu

Waiting for you to submit a package 😉️.

Nix

The easiest way to install package

Install nix package manager:

sh <(curl -L https://nixos.org/nix/install) --daemon

Add unstable channel:

nix-channel --add https://nixos.org/channels/nixpkgs-unstable unstable
nix-channel --update

Install rtfm package:

nix-env -iA unstable.rtfm

Run:

rtfm

The best way to install package

If you want the best experience and all the features of nix, you need to follow a few steps described in this repository.

Flatpak

Not on flathub yet, but you can build the package by doing:

$ flatpak-builder ./build ./data/io.github.hugopl.rtfm.json --user --install --force-clean
$ flatpak run io.github.hugopl.rtfm

Compiling from source

Dependencies:

There are no packages for any distro yet.

$ make
$ make install

Then you need to run some commands to let Gnome Shell update the application cache and start show Rtfm, but if you don't remember these commands, just reinstall some Gnome application like gnome-calculator and it's done 😅️.

You can uninstall it later with:

$ make uninstall

Contributing

  1. Fork it (https://github.com/hugopl/rtfm/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

About

Gnome dash docset documentation reader written in Crystal

License:MIT License


Languages

Language:Crystal 92.5%Language:Makefile 4.5%Language:CSS 2.9%