All Projects → mrusme → gomphotherium

mrusme / gomphotherium

Licence: GPL-3.0 License
Gomphotherium (/ˌɡɒmfəˈθɪəriəm/; "welded beast"), a command line Mastodon client.

Programming Languages

go
31211 projects - #10 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to gomphotherium

tut
TUI for Mastodon with vim inspired keys
Stars: ✭ 165 (+650%)
Mutual labels:  tui, mastodon, terminal-based, mastodon-app, mastodon-client
mangadesk
Terminal client for MangaDex 📖
Stars: ✭ 569 (+2486.36%)
Mutual labels:  tui, terminal-based, tview
pendfetch
Double Pendulum visualised with fetching system information in Python.
Stars: ✭ 62 (+181.82%)
Mutual labels:  commandline, rice, terminal-based
iMast
📱🐘 3rd-party Mastodon Client for iOS
Stars: ✭ 93 (+322.73%)
Mutual labels:  mastodon, mastodon-app, mastodon-client
Tsukae
🧑‍💻📊 Show off your most used shell commands
Stars: ✭ 345 (+1468.18%)
Mutual labels:  commandline, command-line-tool, terminal-based
tblogs
A simple and useful blogs' reader for your terminal
Stars: ✭ 28 (+27.27%)
Mutual labels:  tui, tview, tcell
Nautilus
Turn your website into an ActivityPub profile
Stars: ✭ 55 (+150%)
Mutual labels:  mastodon, activitypub
mastodon.js
Javascript Mastodon API for Web Browsers with streaming support
Stars: ✭ 32 (+45.45%)
Mutual labels:  mastodon, mastodon-api
przm
🎨 A simple, yet feature rich color picker and manipulator
Stars: ✭ 19 (-13.64%)
Mutual labels:  tui, command-line-tool
coinbash
💰 A bash script (CLI) for displaying crypto currencies market data in a terminal 🖥
Stars: ✭ 110 (+400%)
Mutual labels:  command-line-tool, terminal-based
secman
[Archived] 👊 Human-friendly and amazing secrets manager.
Stars: ✭ 63 (+186.36%)
Mutual labels:  tui, terminal-based
merveilles-town
Fork of Mastodon repository with modifications to make Merveilles a town of our own.
Stars: ✭ 23 (+4.55%)
Mutual labels:  mastodon, activitypub
tfex-rs
A simple terminal UI file manager
Stars: ✭ 29 (+31.82%)
Mutual labels:  tui, terminal-based
activity-pub
API Platform ActivityPub Support
Stars: ✭ 63 (+186.36%)
Mutual labels:  mastodon, activitypub
vt100
💻 VT100 Terminal Package
Stars: ✭ 19 (-13.64%)
Mutual labels:  commandline, tui
mastodon-lite
Lightweight client for mastodon micro blogging service.
Stars: ✭ 12 (-45.45%)
Mutual labels:  mastodon, activitypub
gotosocial
Golang fediverse server.
Stars: ✭ 400 (+1718.18%)
Mutual labels:  mastodon, activitypub
starcli
✨ Browse trending GitHub projects from your command line
Stars: ✭ 436 (+1881.82%)
Mutual labels:  commandline, command-line-tool
shy
💀 bare-bones ssh launcher
Stars: ✭ 51 (+131.82%)
Mutual labels:  tui, command-line-tool
croatoan
Common Lisp bindings for the ncurses terminal library.
Stars: ✭ 111 (+404.55%)
Mutual labels:  tui, text-user-interface

Gomphotherium

Gomphotherium (/ˌɡɒmfəˈθɪəriəm/; "welded beast"), a command line Mastodon client.

Info

As I have left the Fediverse for now, this project is dormant and won't be updated any longer. It is however in a usable state and does everything a basic CLI/TUI client is supposed to do. I will however continue to accept PRs. If you're interested in actively maintaining it, feel free to ping me.

Description

Gomphotherium is a Mastodon client for the command line, offering a CLI as well as a TUI with a usage similar to rainbowstream. It is intended to be used at 80 characters width maximum, but ideally inside tmux as a sidebar-style program.

Gomphotherium

Installation

Download a binary from the releases page.

Or build it yourself (requires Go 1.16+):

make

User Manual

Authentication

To authenticate with your Mastodon instance, run the following command and follow the instructions:

gomphotherium authenticate https://YOUR-MASTODON-SERVER-URL-HERE.com

TUI

Launch the TUI with the following command:

gomphotherium tui

Note: If you haven't exported the required environment variables that were shown to you during the [Authentication][#authentication], please do so first or use the CLI flags (gomphotherium -h) instead.

Modes

The TUI can be operated in two modes: Normal and Command.

In Normal mode no interaction is possible apart from scrolling and refreshing the timeline and quitting Gomphotherium. The shortcuts can be looked up on the cheatsheet

In Command mode, the command input becomes available and scrolling the timeline is not possible anymore. Commands can then be issued to interact with the Mastodon instance.

Cheatsheet

Shortcuts

This is a list of supported keyboard shortcuts. The information in box brackets tells to which mode the shortcut applies.

: [normal]
Enter Command mode

Esc [command]
Leave Command mode

ArrowUp / k, ArrowDn / j [normal]
Scroll timeline in either direction by one line

PgUp / b, PgDn / f [normal]
Scroll timeline in either direction by one page

u, d [normal]
Scroll timeline in either direction by half a page

g, G [normal]
Scroll timeline to the very top/bottom

Ctrl + R [any]
Refresh timeline

Ctrl + Q [any]
Quit Gomphotherium

Commands

home
local
public
notifications
hashtag tag [local]
Switch between timelines

whois user
Switch to user profile and timeline

t content ...
toot content ...
Publish a new public toot

tp content ...
tootprivate content ...
Publish a new private toot

tu content ...
tootunlisted content ...
Publish a new unlisted toot

td content ...
tootdirect content ...
Publish a new direct toot

re toot-id content ...
reply toot-id content ...
Reply to a toot publicly

rep toot-id content ...
replyprivate toot-id content ...
Reply to a toot privately

reu toot-id content ...
replyunlisted toot-id content ...
Reply to a toot unlisted

red toot-id content ...
replydirect toot-id content ...
Reply to a toot directly

rt toot-id
retoot toot-id
boost toot-id
Boost a toot

ut toot-id
unretoot toot-id
unboost toot-id
Undo boosting a toot

fav toot-id
Fav a toot

unfav toot-id
Undo fav-ing a toot

open toot-id
Open toot in system browser

share toot-id
Copy toot URL to the clipboard

help
?
Show help page

quit
exit
bye
Quit Gomphotherium

Info: \

  • content ... describes the text content of a toot, including inline shortcodes
  • toot-id describes the toot ID (number) visible on the right side of each toot in the timeline
Inline Shortcodes

Inline shortcodes allow to add additional info to toots. They can be added anywhere in the toot content as they get filtered from the toot before publishing.

~!!
Mark toot as sensitive; one-time shortcode

~#[text ...]
Add content warning (spoiler) text to toot; one-time shortcode

~:[/path/to/file]
Add media by file path to toot; can be specified multiple times

Usage Examples

home
Switch to the home timeline

hashtag theStudio local
Switch to the hashtag timeline and search for the hashtag #theStudio on only the local instance

hashtag lol
Switch to the hashtag timeline and search for the hashtag #lol globally

whois [email protected]
Switch to the profile of [email protected] and list his toots

t Hello World!
Publish a new public toot that says Hello World!

tp Mondays are fine. It’s your life that sucks. ~#[Controversial joke]
Publish a new private toot that says Mondays are fine. It’s your life that sucks. with a content warning that says Controversial joke

tu Check out my mustache! ~:[/home/user/Photos/awesome_mustache.jpg] ~!!
Publish a new unlisted toot with a photo attached to it, that is flagged sensitive

re 11 I think so, @brain, but aren't we out of shaving cream?
Publicly reply to toot with ID 11 with I think so, @brain, but aren't we out of shaving cream?

rt 11
Retoot/boost toot with ID 11

help
Show this help

bye
Goodbye!

CLI

The CLI interface allows for exectuion of commands right from the terminal prompt. Not all commands are supported.

Usage Examples

gomphotherium cmd home
Render the home timeline

gomphotherium cmd t Hello World!
Publish a new public toot that says Hello World!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].