Skip to content

Commit 7d4d697

Browse files
authored
Merge pull request #60 from tfuxu/fixes-and-miscs
QoL improvements
2 parents ce95629 + 76a7044 commit 7d4d697

File tree

19 files changed

+855
-979
lines changed

19 files changed

+855
-979
lines changed

.gitignore

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
/target
2-
/result
1+
.flatpak-builder/
2+
repo/
3+
target/
4+
result/
35
_build/
6+
_builddir/
47
src/build_config.rs
58
subprojects/blueprint-compiler

README.gemini

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,26 @@
1-
# About geopard
2-
Geopard is a gtk4 gemini client
1+
# About Geopard
2+
Geopard is a GTK 4 Gemini client written in Rust.
33

44
## Some notable features
55
- Colors!
66
The browser will have a different color for each domain you visit.
77

8-
- Fast (async core + caching).
8+
- Fast (async core + caching):
99
Streams content by default. That means you can open pages even when you have
1010
connection speeds of Kb/s.
1111
It also caches pages in the history, so you can go back/forward in an instant
12-
1312

14-
- Can download binary files.
13+
- Can download binary files:
1514
The download will start as soon as you open the corresponding link.
1615
You can always cancel it by opening another page.
1716

18-
- It works. Until I find another bug
17+
- It works. Until I find another bug...
1918

2019
## Technical details
21-
Under the hood, it uses gtk4 and rust. Everything related to IO is asynchronous.
22-
To do that, it makes use of rust async/await capabilities and the async-std crate.
20+
Under the hood, it uses GTK 4 and Rust. Everything related to IO is asynchronous.
21+
To do that, it makes use of Rust's async/await capabilities and the async-std crate.
2322

24-
# How to change settings
23+
## How to change settings
2524
You should find the configuration files in ~/.config/geopard/
2625
If you use flatpak, they are in ~/.var/app/com.ranfdev.Geopard/config/geopard/.
2726
In the future I will probably introduce a settings GUI.
@@ -40,7 +39,6 @@ git clone https://github.com/ranfdev/Geopard.git
4039
nix build
4140
./result/bin/geopard
4241
```
43-
4442
### General build instructions
4543
Install these development packages:
4644
- gtk4
@@ -59,6 +57,13 @@ meson --prefix=/usr build
5957
ninja -C build
6058
sudo ninja -C build install
6159
```
60+
### Note:
61+
You can use a local-build.sh script provided with project's repository to
62+
quickly rebuild and test your changes.
63+
64+
## License
65+
This repository is licensed under the terms of the GNU GPLv3 license.
66+
You can find a copy of the license in the LICENSE file.
6267

6368
## Authors
6469
=> https://ranfdev.com Lorenzo Miglietta (ranfdev)

README.md

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
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+
![4-light](data/screenshots/4-light.png#gh-light-mode-only)
11+
![4-dark](data/screenshots/4-dark.png#gh-dark-mode-only)
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))

data/com.ranfdev.Geopard.desktop.in.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[Desktop Entry]
22
Name=Geopard
3-
Comment=A gemini browser
3+
Comment=A GTK 4 Gemini browser written in Rust
44
Type=Application
55
Exec=geopard
66
Terminal=false

0 commit comments

Comments
 (0)