|
| 1 | +<img src="data/icons/hicolor/scalable/apps/com.ranfdev.Geopard.svg" align="left" height="150px" vspace="10px"> |
| 2 | + |
| 3 | +Geopard |
| 4 | +======= |
| 5 | + |
| 6 | +Geopard is a GTK 4 Gemini client written in Rust. |
| 7 | + |
| 8 | +<br> |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | +## Some notable features |
| 14 | +- **Colors!** |
| 15 | + The browser will have a different color for each domain you visit. |
| 16 | + |
| 17 | +- **Fast (async core + caching)**: |
| 18 | + Streams content by default. That means you can open pages even when you have |
| 19 | + connection speeds of Kb/s. |
| 20 | + It also caches pages in the history, so you can go back/forward in an instant |
| 21 | + |
| 22 | +- **Can download binary files**: |
| 23 | + The download will start as soon as you open the corresponding link. |
| 24 | + You can always cancel it by opening another page. |
| 25 | + |
| 26 | +- **It works.** <sup><sub>_Until I find another bug..._</sub></sup> |
| 27 | + |
| 28 | +## Technical details |
| 29 | +Under the hood, it uses GTK 4 and Rust. Everything related to IO is asynchronous. |
| 30 | +To do that, it makes use of Rust's async/await capabilities and the `async-std` crate. |
| 31 | + |
| 32 | +## How to change settings |
| 33 | +You should find the configuration files in `~/.config/geopard/` |
| 34 | +If you use flatpak, they are in `~/.var/app/com.ranfdev.Geopard/config/geopard/`. |
| 35 | +In the future I will probably introduce a settings GUI. |
| 36 | + |
| 37 | +## How to build |
| 38 | + |
| 39 | +### With Flatpak |
| 40 | +If you have `gnome-builder` installed, use it to the open the folder of the source |
| 41 | +code and hit the run button. |
| 42 | + |
| 43 | +### Build with Nix |
| 44 | +If you have the [nix](https://nixos.org/) package manager and flakes enabled, you can simply do: |
| 45 | + |
| 46 | +```sh |
| 47 | +git clone https://github.com/ranfdev/Geopard.git |
| 48 | +nix build |
| 49 | +./result/bin/geopard |
| 50 | +``` |
| 51 | + |
| 52 | +### General build instructions |
| 53 | +Install these development packages: |
| 54 | +- `gtk4` |
| 55 | +- `glib` |
| 56 | +- `rust` (with `cargo`) |
| 57 | +- `openssl` |
| 58 | +- `pkg-config` |
| 59 | +- `meson` |
| 60 | + |
| 61 | +Clone, compile, install. |
| 62 | + |
| 63 | +```sh |
| 64 | +git clone https://github.com/ranfdev/Geopard.git |
| 65 | +cd Geopard |
| 66 | +meson --prefix=/usr build |
| 67 | +ninja -C build |
| 68 | +sudo ninja -C build install |
| 69 | +``` |
| 70 | + |
| 71 | +> **Note** |
| 72 | +> You can use a `local-build.sh` script provided with project's repository to quickly rebuild and test your changes. |
| 73 | +
|
| 74 | +## License |
| 75 | +<p> |
| 76 | +<img src="https://www.gnu.org/graphics/gplv3-with-text-136x68.png" alt="GPLv3 logo" align="right"> |
| 77 | +This repository is licensed under the terms of the GNU GPLv3 license. You can find a copy of the license in the LICENSE file. |
| 78 | +</p> |
| 79 | + |
| 80 | +## Authors |
| 81 | +Lorenzo Miglietta ([ranfdev](https://ranfdev.com)) |
0 commit comments