1
0
mirror of https://github.com/mrusme/neonmodem.git synced 2024-12-04 14:46:37 -05:00
Go to file
2024-08-01 15:04:27 -05:00
.github Fix goreleaser 2024-08-01 14:08:39 -05:00
aggregator Implemented connect check, fixed smaller issues 2023-01-06 23:48:21 -05:00
cmd Fix #63, rm panic for loadSystems, add log info 2024-07-31 14:56:20 -05:00
config Merge pull request #40 from BreadMakesYouFat/spinner-color 2023-06-25 15:34:35 -05:00
models Fix #50, implementation of nested replies 2024-08-01 14:03:28 -05:00
system Fix #50, implementation of nested replies 2024-08-01 14:03:28 -05:00
ui Fix #52 pt 2, move tea.Quit to view 2024-07-31 17:08:14 -05:00
.editorconfig Added boilerplate 2022-12-28 21:11:23 -05:00
.gitignore Added .gitsigners 2023-01-11 00:04:10 -05:00
.goreleaser.yaml Adjusted .goreleaser.yaml 2023-01-10 19:44:37 -05:00
go.mod Fix #57, introduce null.* types 2024-07-31 17:47:17 -05:00
go.sum Fix #57, introduce null.* types 2024-07-31 17:47:17 -05:00
LICENSE Added LICENSE 2023-01-05 15:39:41 -05:00
Makefile Renamed gobbs -> neonmodem 2023-01-06 19:46:41 -05:00
neonmodem.gif Added rendered VHS gif 2023-01-08 17:12:34 -05:00
neonmodem.go Renamed gobbs -> neonmodem 2023-01-06 23:48:02 -05:00
neonmodem.tape Added tape file for recordings 2023-01-08 17:10:49 -05:00
neonmodem.txt Added ASCII logo 2023-01-08 17:10:33 -05:00
README.md Change chat button 2024-08-01 15:04:27 -05:00
splashscreen.png Added splashscreen.png 2023-01-08 20:54:41 -05:00

Neon Modem Overdrive

Neon Modem Overdrive

Static
Badge

Neon Modem Overdrive is a BBS-style command line client that supports Discourse, Lemmy, Lobsters and Hacker News as backends, and seamlessly integrates all of them into a streamlined TUI. And yes, you heard that right, I really did call it Neon Modem Overdrive.

Neon Modem is built in Go, using Charm's Bubble Tea TUI framework, but implements an own window manager (or compositor if you want) that allows it to use a third dimension, on top of the two dimensional rendering that Bubble Tea offers today. With that it is possible to display dialogs on top of one another, in order to offer a smoother UI experience.

More info here!

Support

System Available List Forums List Posts List Replies Create Post Create Reply
Discourse ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
Lemmy ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
Lobsters ✔️ ✔️ ✔️ ✔️
Hacker News ✔️ ✔️ ✔️ ✔️
RSS+Disqus/Isso(?)
Superhighway84
NNTP

Installation

From Release

Download the latest release and unpack it:

$ tar -xzf ./neonmodem_*.tar.gz

The binary is called neonmodem. Feel free to move it to e.g. /usr/local/bin.

From Sauce

Clone this repository

  • from GitHub
    $ git clone git@github.com:mrusme/neonmodem.git
    
  • from Radicle
    $ rad clone rad:z4GExf1wpsyn6WDc2dNAxVc6LPS9G
    

Then cd into the cloned directory and run:

make

The binary is called neonmodem. Feel free to move it to e.g. /usr/local/bin.

For Arch Linux an AUR package is available here: https://aur.archlinux.org/packages/neonmodem

Install with your favorite AUR helper.

On NetBSD, a package is available from the official repositories. To install it, simply run pkgin install neonmodem.

Configuration

Before launching Neon Modem Overdrive it requires initial setup of the services (a.k.a. systems). Run neonmodem connect --help to find out more.

Connecting a service will add it to the configuration TOML. The configuration file location depends on the operating system. On Unix systems, it is in $XDG_CONFIG_HOME/neonmodem.toml if $XDG_CONFIG_HOME is non-empty, otherwise $HOME/.config/neonmodem.toml is used. On Darwin, the configuration is in $HOME/Library/Application Support/neonmodem.toml. On Windows, it is in %AppData%\neonmodem.toml.

Systems

Discourse

For connecting to a Discourse instance you'll need to have an active account on that instance. Neon Modem will store the instance URL, username and a user key, but no password.

neonmodem connect --type discourse --url https://www.keebtalk.com

Lemmy

For connecting to a Lemmy instance you'll need to have an active account on that instance. Neon Modem will store the instance URL, username and password.

neonmodem connect --type lemmy --url https://lemmy.ml

Lobsters

For connecting to a Lobsters instance you won't need an account, as the integration is read-only. Neon Modem will store the instance URL.

neonmodem connect --type lobsters --url https://lobste.rs

Hacker News

For connecting to Hacker News you won't need an account, as the integration is read-only.

neonmodem connect --type hackernews

UI

The UI can be fully customized via the Theme section in the configuration file. To reset settings, all theme related configurations can simply be deleted from the configuration.

Run

After setup Neon Modem can be launched by calling neonmodem without any arguments. It will briefly display a splash screen, then switch to the posts list, which will aggregate the latest posts from all connected systems. A progress icon will be visible in the header while network requests are loading.

Usage

Neon Modem Overdrive

Navigation

In the posts list:

  • j: Scroll down
  • k: Scroll up
  • r/enter: Open selected post
  • n: Write new post in on the system/forum of the current selected post
  • C-e: Open system selector
  • C-t: Open forum selector
  • esc: Quit

In the post view dialog:

  • r: Reply to post
  • #r: Reply to specific comment # in post, e.g. 3r to reply to the reply #3
  • z: Load older replies (if available)
  • esc: Close dialog

In the new post / new reply dialog:

  • tab: Switch between elements (only in new post dialog)
  • C-s: Submit post/reply
  • esc: Close dialog

FAQ

  • Q: The post view is really slow when using a large terminal.
    A: Turning off image rendering will improve performance significantly on very large terminal windows and can be done by setting RenderImages = false in the configuration.
  • Q: Can I haz Reddit?
    A: I won't do the heavy lifting of integrating a proprietary platform with a $15 billion valuation that can't even be bothered to maintain a solid set of client API libraries. If you feel like, go ahead and PR!