Skip to content

Commit 4b9bfa3

Browse files
committed
Add crate metadata and documentation
1 parent 03dbc05 commit 4b9bfa3

File tree

4 files changed

+139
-5
lines changed

4 files changed

+139
-5
lines changed

CONTRIBUTING.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# Contributing to loshell
2+
3+
Thanks for wanting to help improve loshell.
4+
5+
## Getting Started
6+
7+
```bash
8+
git clone https://github.com/arferreira/loshell.git
9+
cd loshell
10+
cargo run
11+
```
12+
13+
## What We're Looking For
14+
15+
- New radio stations (must be direct HTTP streams, no YouTube)
16+
- UI improvements (keeping it minimal)
17+
- Bug fixes
18+
- Performance improvements
19+
- Platform support (Windows, etc.)
20+
21+
## Pull Requests
22+
23+
1. Fork the repo
24+
2. Create a branch (`git checkout -b feature/your-thing`)
25+
3. Make your changes
26+
4. Run `cargo fmt` and `cargo clippy`
27+
5. Commit with a clear message
28+
6. Push and open a PR
29+
30+
Keep PRs focused. One feature or fix per PR.
31+
32+
## Code Style
33+
34+
- Run `cargo fmt` before committing
35+
- No warnings from `cargo clippy`
36+
- Keep it simple - this is a small focused tool
37+
38+
## Adding Stations
39+
40+
Stations live in `src/radio.rs`. To add one:
41+
42+
```rust
43+
Station {
44+
name: "Station Name",
45+
url: "https://direct-stream-url.mp3",
46+
},
47+
```
48+
49+
Make sure the stream is reliable and publicly accessible.
50+
51+
## Questions?
52+
53+
Open an issue.

Cargo.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,17 @@
22
name = "loshell"
33
version = "0.1.0"
44
edition = "2024"
5+
description = "A terminal-native ambient environment for deep focus with lofi radio and pomodoro"
6+
license = "MIT"
7+
repository = "https://github.com/arferreira/loshell"
8+
homepage = "https://github.com/arferreira/loshell"
9+
keywords = ["tui", "lofi", "pomodoro", "focus", "terminal"]
10+
categories = ["command-line-utilities"]
11+
readme = "README.md"
12+
13+
[[bin]]
14+
name = "loshell"
15+
path = "src/main.rs"
516

617
[dependencies]
718
ratatui = "0.30.0"

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2026 Antonio Souza
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 54 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,61 @@
1-
# Loshell
1+
# loshell
22

33
A room for your mind, inside your terminal.
44

5-
Loshell is a terminal-native ambient environment for deep focus.
6-
It blends lofi audio, subtle ambience, and focus cycles into a calm,
7-
distraction-free shell experience.
5+
Loshell is a terminal-native ambient environment for deep focus. It blends lofi radio streams, a pomodoro timer, and a minimal interface into a calm, distraction-free experience.
86

97
Enter the room. Set the cycle. Drift into focus.
108

11-
Early stage — core engine in progress.
9+
## Install
1210

11+
```bash
12+
cargo install loshell
13+
```
14+
15+
Or via Homebrew:
16+
17+
```bash
18+
brew tap arferreira/tap
19+
brew install loshell
20+
```
21+
22+
## Usage
23+
24+
```bash
25+
loshell
26+
```
27+
28+
### Keybindings
29+
30+
| Key | Action |
31+
|-----|--------|
32+
| `q` | Quit |
33+
| `s` | Play/stop radio |
34+
| `←/→` | Switch station |
35+
| `p` | Toggle pomodoro |
36+
| `space` | Start/pause timer |
37+
| `r` | Reset timer |
38+
| `+` | Add 5 minutes |
39+
40+
### Stations
41+
42+
- Chillout
43+
- Lounge
44+
- Relax FM
45+
- Smooth Jazz
46+
- Ambient
47+
48+
## The Story
49+
50+
This project was built through vibe coding sessions: Opus 4.5, neovim, and way too much coffee. The idea was simple: I wanted a focused environment that lives in the terminal, where I already spend most of my time.
51+
52+
No browser tabs. No distractions. Just music, a timer, and the work.
53+
54+
## Requirements
55+
56+
- macOS or Linux
57+
- Audio output device
58+
59+
## License
60+
61+
MIT

0 commit comments

Comments
 (0)