Skip to content

tukantje/longcat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Longcat

Longcat is a terminal-based interface (TUI) for navigating and interacting with a distributed social graph. It is designed with a keyboard-driven workflow for efficient reading, writing, and exploring interconnected content.

Longcat TUI

Overview

Longcat consists of a core library, a server component for API access, and a TUI client. It aims to provide a seamless "Neural Link" to your digital information stream.

Key Features

  • Semantic Graph Navigation: Visualize and traverse connections between posts.
  • Cyberpunk Aesthetic: High-contrast, dark-mode specialized UI.
  • Keyboard-Centric: Vim-like navigation (j/k) and shortcuts for all actions.
  • Real-time "Pulse": View replies and interactions alongside content.
  • Distributed Architecture: Built on a solid Rust core with potential for decentralized extensions.

Installation

Ensure you have Rust and Cargo installed.

git clone https://github.com/yourusername/longcat.git
cd longcat
cargo build --release

Usage

Running the Server

Start the backend server:

cargo run -p server

Running the TUI

In a separate terminal, launch the client:

cargo run -p tui

Controls

Context Key Action
Global Ctrl+h/Ctrl+l Switch Focus (Sidebar/Main)
Ctrl+q Quit
Navigation j / k Move Selection Down/Up
Enter Select / Read
Reading Tab Switch Pane (Article/Pulse)
f Fork Post
r Reply
Writing Ctrl+p Publish
Esc Cancel / Back

Project Structure

  • crates/core: Core data structures and logic.
  • crates/server: AXUM-based API server with SQLx.
  • crates/tui: Ratatui-based terminal client.

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages