1
0
mirror of https://github.com/makew0rld/amfora.git synced 2024-11-03 02:37:23 -05:00
Go to file
2021-02-07 21:55:30 -05:00
.github 👷 Fix ignore syntax 2020-12-07 15:32:35 -05:00
bookmarks 🚨 Fix linting errors and switch to disable-all model 2020-08-25 19:17:06 -04:00
cache Add cache time limit 2020-12-20 15:54:47 -05:00
client 🐛 Downloading re-uses request 2020-12-17 11:29:03 -05:00
config Support streaming; error if cmd or types are empty 2020-12-24 23:38:12 -05:00
contrib Updates to One Dark theme according to upcoming 1.7.0 release (#153) 2020-12-22 12:06:31 -05:00
display search: trim trailing whitespace (#184) 2021-02-07 21:52:53 -05:00
logger
renderer 🐛 Handle empty META - fixes #176 2021-02-04 18:06:56 -05:00
rr 🚨 Lint fixes 2020-12-17 11:37:48 -05:00
structs Add cache time limit 2020-12-20 15:54:47 -05:00
subscriptions 🐛 Don't crash if subbed page matches user dir pattern but doesn't have more 2020-12-23 23:57:18 -05:00
sysopen Mediatypes support (#134) 2020-12-14 14:28:07 -05:00
webbrowser Implement a more robust algorithm for opening web links on unices (#93) 2020-10-01 17:06:50 -04:00
.gitignore 📝 Wiki script, link to wiki on new tab 2020-12-20 00:31:14 -05:00
.golangci.yml 🚨 Lint fixes 2020-12-17 11:37:48 -05:00
.goreleaser.yml 🔧 Disable automatic homebrew 2020-09-06 13:56:49 -04:00
amfora.desktop 🐛 Removing TryExec helps get Amfora to show up 2020-06-24 19:11:56 -04:00
amfora.go 🐛 Don't crash if subbed page matches user dir pattern but doesn't have more 2020-12-23 23:57:18 -05:00
CHANGELOG.md 📝 Doc for #184 2021-02-07 21:55:30 -05:00
default-config.toml Support streaming; error if cmd or types are empty 2020-12-24 23:38:12 -05:00
demo-large.gif 📝 Update README with Gif 2020-06-18 19:10:45 -04:00
go.mod 📌 Use replace for progressbar dep 2020-12-19 20:09:25 -05:00
go.sum 📌 Use replace for progressbar dep 2020-12-19 20:09:25 -05:00
LICENSE
logo.png
Makefile 🔀 Merge branch 'master' into feeds 2020-10-10 20:11:00 -04:00
NOTES.md Logging removed 2020-12-06 21:02:41 -05:00
README.md Add install instructions for Void (#188) 2021-02-07 17:41:42 -05:00
THANKS.md 📝 Doc for #184 2021-02-07 21:55:30 -05:00

Amfora

amphora logo
Image modified from: amphora by Alvaro Cabrera from the Noun Project

go reportcard license GPLv3

Demo GIF
Recording of v1.0.0

Amfora aims to be the best looking Gemini client with the most features... all in the terminal. It does not support Gopher or other non-Web protocols - check out Bombadillo for that.

It also aims to be completely cross platform, with full Windows support. If you're on Windows, I would not recommend using the default terminal software. Use Windows Terminal instead, and make sure it works with UTF-8. Note that some of the application colors might not display correctly on Windows, but all functionality will still work.

It fully passes Sean Conman's client torture test, as well as the Egsam one.

Installation

Binary

Download a binary from the releases page. On Unix-based systems you will have to make the file executable with chmod +x <filename>. You can rename the file to just amfora for easy access, and move it to /usr/local/bin/.

On Windows, make sure you click "Advanced > Run anyway" after double-clicking, or something like that.

Unix systems can install the desktop entry file to get Amfora to appear when they search for applications:

curl -sSL https://raw.githubusercontent.com/makeworld-the-better-one/amfora/master/amfora.desktop -o ~/.local/share/applications/amfora.desktop
update-desktop-database ~/.local/share/applications

Make sure to click "Watch" in the top right, then "Custom" > "Releases" to get notified about new releases!

Arch Linux

Arch Linux users can install Amfora using pacman.

sudo pacman -S amfora

Void Linux

Void Linux users can install Amfora using xbps.

sudo xbps-install amfora

Homebrew

If you use Homebrew, you can install Amfora through the my personal tap.

brew tap makeworld-the-better-one/tap
brew install amfora

You can update it with:

brew upgrade amfora

KISS Linux

KISS Linux users can install Amfora from jedahan's repository.

Add jedahan's kiss repository:

git clone https://github.com/jedahan/kiss-repo.git repo-jedahan
export KISS_PATH="$KISS_PATH:$PWD/repo-jedahan"

Build and install Amfora:

kiss build amfora
kiss install amfora

From Source

This section is for advanced users who want to install the latest (possibly unstable) version of Amfora.

Click to expand

Requirements:

  • Go 1.13 or later
  • GNU Make

Please note the Makefile does not intend to support Windows, and so there may be issues.

git clone https://github.com/makeworld-the-better-one/amfora
cd amfora
# git checkout v1.2.3 # Optionally pin to a specific version instead of the latest commit
make # Might be gmake on macOS
sudo make install # If you want to install the binary for all users

Because you installed with the Makefile, running amfora -v will tell you exactly what commit the binary was built from.

Arch Linux users can also install the latest commit of Amfora from the AUR. It has the package name amfora-git, and is maintained by @lovetocode999

yay -S amfora-git

MacOS users can also use Homebrew to install the latest commit of Amfora:

brew tap makeworld-the-better-one/tap
brew install --HEAD amfora

You can update it with:

brew upgrade --fetch-HEAD amfora

Features / Roadmap

Features in italics are in the master branch, but not in the latest release.

  • URL browsing with TOFU and error handling
  • Tabbed browsing
  • Support ANSI color codes on pages, even for Windows
  • Styled page content (headings, links)
  • Basic forward/backward history, for each tab
  • Input (Status Code 10 & 11)
  • Multiple charset support (over 55)
  • Built-in search (uses GUS by default)
  • Bookmarks
  • Download pages and arbitrary data
  • Theming
  • Emoji favicons
    • See gemini://mozz.us/files/rfc_gemini_favicon.gmi for details
    • Disabled by default, enable in config
  • Proxying
    • Schemes like Gopher or HTTP can be proxied through a Gemini server
  • Client certificate support
  • Subscriptions
    • Subscribing to RSS, Atom, and JSON Feeds are all supported
    • So is subscribing to a page, to know when it changes
  • Open non-text files in another application
    • Ability to stream content instead of downloading it first
  • Stream support
  • Table of contents for pages
  • Search in pages with Ctrl-F
  • Support Markdown rendering
  • Persistent history

Usage & Configuration

Please see the wiki for an introduction on how to use Amfora and configure it.

Known Bugs

  • Pasting on Windows is truncated, the full paste content won't be added. (#43)

You can also check out all the issues with the bug label.

Libraries

Amfora ❤️ open source!

License

This project is licensed under the GPL v3.0. See the LICENSE file for details.