leo
a gemini client written in Python 3.
(UNIX-only, Windows support with WSL)
Instructions for use:
$ pip install leo-gmi$ leo --copy-configto create a config file in$XDG_CONFIG_HOME/leo(falls back to~/.config/leo)
- If you don't want to put the config file in either of those places,
leo --print-configprints out the config that you can then supply to leo with the--configoption.
-
set options to your preferences in the
config.jsonfile.wrap_textspecifies whether to wrap text beyond a certain width.wrap_marginspecifies what that width should be.homepageis a page to load by default if no URL is specified.cert_pathis the path to a certificate file.
Note: You can specify an alternate config file with the
--configoption. -
$ leo --url <url>. If you do not specify a URL, the homepage set inconfig.jsonis loaded. If no homepage is set, you will be prompted for a URL. -
if you'd like to connect providing a client certificate (required by certain Gemini servers), set the
"cert_path"option in your config file to a valid path to a cert file. -
Links are preceded by a number that is underlined and violet in colour. Type in the number of the link at the
(URL/Num):prompt in order to navigate to a specific link, or type in a URL. -
Type
reloadto refresh a page.reload hardredownloads the page. -
backtakes you one page back. -
lslists all of the links on the current page, for easy navigation. -
Type
helpat any time to view a listing of these and other useful commands. -
Type
exitorquitto exit leo.
Features:
- Only uses the python standard library
- Fully implements Gemini spec
- Passes torture tests at gemini://gemini.conman.org/test/torture/ (Save for the final few Unicode ones, but Unicode support is hard)
- formatted text output with arbitrary wrapping support
- Comes with a built-in pager!
- Lets you save a list of URLs to a file for further viewing / opening in another window
Contributing
Fork the repo and make a PR! That's all :) You can alternatively send me an e-mail with your patch.
Metadata
Release files for leo-gmi 1.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| leo_gmi-1.2.1-py3-none-any.whl | Python 3 | none | any | Details for leo_gmi-1.2.1-py3-none-any.whl |
Release files / leo_gmi-1.2.1-py3-none-any.whl
| Download URL | leo_gmi-1.2.1-py3-none-any.whl |
|---|---|
| Size | 10.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
232d581267c172da59d423cf954add4493dc29be040a9df915946bf94931ff29
|
|
BLAKE2b-256 checksum How to use checksums |
9e01def9a6b42ba028711f2f4e421b86427bae311ace0b1f4f8ef297440cfa0d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.8.1 pkginfo/1.7.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.7
|
Security for leo-gmi 1.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.