a terminal user interface for lemmy

Overview

Lemmy-Terminal-Viewer

Terminal User Interface for lemmy for Linux Terminals (should work in MacOs but i can't test)

Install and Usage

Linux

  • Download ltv-linux.tar.gz from releases
  • Navigate to download location
  • Extract it with tar -xf ltv-linux.tar.gz
  • You can now execute the file using ./ltv
  • To Install globally move the executable to /usr/bin with sudo mv ./ltv /usr/bin

Mac

Build the project yourself with cargo (no offical support)

Loggin In

You can log in to as many accounts as you want in any number of instances

To add an account run

ltv login

You will be prompted to provide login details, if you successfully authenticate you will be redirected to your Feed;

To log in to an already added account, run

ltv instance.url username_or_email

Or you can always browse without logging in by running

ltv instance.url

Setting up configs (Optional)

Path for storing configs

On Linux: /home/alice/.config/ltv/

On Mac: /Users/Alice/Library/Application Support/dev.ltv.ltv/

copy the sample config rename it to ltv.toml and save to the path given above and finally make the changes you desire. All configs are explained in the sample config

Navigation

  • Navigation is based on Arrow keys (for now)

  • use ⬆️ and ⬇️ keys to traverse lists of posts and comments

  • when viewing a post press ⬇️ to see it's comments

  • press ➡️ to see a comment's replies and ⬅️ to go back

Browsing communities

In the default view press " i " to enter edit-mode to select community, enter the name of community and press ➡️ to submit. use ⬅️ to exit editing mode.

You might also like...
Build terminal user interfaces and dashboards using Rust
Build terminal user interfaces and dashboards using Rust

tui-rs tui-rs is a Rust library to build rich terminal user interfaces and dashboards. It is heavily inspired by the Javascript library blessed-contri

Github user information on terminal :D
Github user information on terminal :D

octofetch Use this if youre too lazy to open github lol Installation Local install with cargo Run cargo install --git https://github.com/azur1s/octofe

Low-level Rust library for implementing terminal command line interface, like in embedded systems.

Terminal CLI Need to build an interactive command prompt, with commands, properties and with full autocomplete? This is for you. Example, output only

A terminal ASCII media player. View images, gifs, videos, webcam, YouTube, etc.. directly in the terminal as ASCII art.
A terminal ASCII media player. View images, gifs, videos, webcam, YouTube, etc.. directly in the terminal as ASCII art.

Terminal Media Player View images, videos (files or YouTube links), webcam, etc directly in the terminal as ASCII. All images you see below are just m

ask.sh: AI terminal assistant that can read and write your terminal directly!
ask.sh: AI terminal assistant that can read and write your terminal directly!

ask.sh: AI terminal assistant that read from & write to your terminal ask.sh is an AI terminal assistant based on OpenAI APIs such as GPT-3.5/4! What'

A simple and efficient terminal UI implementation with ratatui.rs for getting quick insights from csv files right on the terminal
A simple and efficient terminal UI implementation with ratatui.rs for getting quick insights from csv files right on the terminal

CSV-GREP csv-grep is an intuitive TUI application writting with ratatui.rs for reading, viewing and quickly analysing csv files right on the terminal.

fd is a program to find entries in your filesystem. It is a simple, fast and user-friendly alternative to find
fd is a program to find entries in your filesystem. It is a simple, fast and user-friendly alternative to find

fd is a program to find entries in your filesystem. It is a simple, fast and user-friendly alternative to find. While it does not aim to support all of find's powerful functionality, it provides sensible (opinionated) defaults for a majority of use cases.

A user-friendly TUI client for Matrix written in Rust!

Konoha A user-friendly TUI client for Matrix written in Rust! Notice: The client is currently not usable and is only hosted on GitHub for version cont

koyo is a cli tool that lets you run commands as another user. It is similar to doas or sudo.

koyo is a cli tool that lets you run commands as another user. It is similar to doas or sudo.

Comments
  • I can't login to lemmy terminal viewer with my email addresss - [./ltv login

    I can't login to lemmy terminal viewer with my email addresss - [./ltv login "Login Failed"]

    When I used my email address, it failed.

    secret@secret:~$ ./ltv login
    Enter your instance: lemmy.ml
    Enter your username or email: [email protected]
    Enter your password: 
    Error: Custom { kind: Other, error: "Login Failed" }
    

    When I used my username, it succeeded

    secret@secret:~$ ./ltv login
    Enter your instance: lemmy.ml
    Enter your username or email: secretnamebasis
    Enter your password: 
    Login successful
    
    opened by secretnamebasis 3
  • Navigating Nested Comments

    Navigating Nested Comments

    Current behavior

    we can only view nested comments with one level of depth

    Desired behavior

    ideally we should be able to navigate N-depth nested comments back and forth

    Challenges

    Comments are not displayed all at once, so we can't just recursively render everything, we will have to make a "tree-cursor" or something like that to keep track of the state. I'm looking for suggestions on how to implement this properly

    Alternatives

    Make some custom widgets and render the comments recursively

    enhancement help wanted 
    opened by LunaticHacker 0
  • Show comments in tree form

    Show comments in tree form

    opened by dessalines 3
  • Render content as markdown

    Render content as markdown

    Things TBD:

    • support at least a subset of lemmy markdown in post and comments
    • make custom widgets to render them

    Resources

    crates that might come handy:

    enhancement 
    opened by LunaticHacker 0
Owner
Luna
Writing code to distract myself from the collapse of civilization
Luna
An enhanced search engine just for Lemmy/Fediverse

Please Read If anyone wants to help contribute to this, please feel free to reach out to me. You can obviously find me on Lemmy, mainly https://lemmy.

null 51 Jul 4, 2023
A utility for exporting administrative/moderation statistics from your Lemmy instance's PostgreSQL database to InfluxDB!

Lemmy (Stats) Data Exporter About This Project This project aims to act as a bridge between Lemmy's PostgreSQL database and InfluxDB, primarily to tra

Russell 3 Jul 5, 2023
A fediverse compatible forum and link aggregator. Downstream from Lemmy.

Pangora A fediverse compatible forum and link aggregator. Downstream from Lemmy. About The Project Pangora is a forum and link aggregator. You can pos

Pangora 7 Sep 11, 2023
OSINT from your favorite services in a friendly terminal user interface

osintui Open Source Intelligence Terminal User Interface Report Bug · Request Feature Installation First, install Rust (using the recommended rustup i

Will Sheldon 639 Jan 4, 2023
Demo Rust Cursive crate for terminal user interface (TUI)

Demo Rust Cursive Demonstration of the Rust programming language and Cursvie crate for terminal user interface (TUI). Setup Create: cargo new demo Add

Joel Parker Henderson 5 Dec 27, 2022
Terminal User Interface to help debugging programs written for Triton VM.

Triton TUI Terminal User Interface to run and debug programs written for Triton VM. Getting Started Triton TUI tries to be helpful. ?? List possible (

Triton VM 4 May 7, 2024
A Text User Interface library for the Rust programming language

Cursive Cursive is a TUI (Text User Interface) library for rust. It uses ncurses by default, but other backends are available. It allows you to build

Alexandre Bury 3.3k Jan 9, 2023
A cross platform minimalistic text user interface

titik Titik is a crossplatform TUI widget library with the goal of being able to interact intuitively on these widgets. It uses crossterm as the under

Jovansonlee Cesar 113 Dec 31, 2022
A Text User Interface library for the Rust programming language

Cursive Cursive is a TUI (Text User Interface) library for rust. It uses ncurses by default, but other backends are available. It allows you to build

Alexandre Bury 3.3k Jan 3, 2023
ChatGPT-rs is a lightweight ChatGPT client with a graphical user interface, written in Rust

ChatGPT-rs is a lightweight ChatGPT client with a graphical user interface, written in Rust. It allows you to chat with OpenAI's GPT models through a simple and intuitive interface.

null 7 Apr 2, 2023