mark entries as read after translation
File | Commit | Size | Mode | Time |
---|---|---|---|---|
.gitignore | init | 4 B | -rw-r--r-- | 1 month ago |
LICENSE | add license | 13.5 KiB | -rw-r--r-- | 1 month ago |
Makefile | init | 153 B | -rw-r--r-- | 1 month ago |
README.md | update readme | 1 KiB | -rw-r--r-- | 1 month ago |
client.go | init | 1.7 KiB | -rw-r--r-- | 1 month ago |
config.go | init | 1.9 KiB | -rw-r--r-- | 1 month ago |
demo.gif | change demo to gif | 209.2 KiB | -rw-r--r-- | 1 month ago |
demo.mp4 | init | 410.5 KiB | -rw-r--r-- | 1 month ago |
extract.go | init | 350 B | -rw-r--r-- | 1 month ago |
go.mod | init | 1.9 KiB | -rw-r--r-- | 1 month ago |
go.sum | init | 11.8 KiB | -rw-r--r-- | 1 month ago |
language.go | init | 985 B | -rw-r--r-- | 1 month ago |
lingua.example.toml | init | 456 B | -rw-r--r-- | 1 month ago |
main.go | init | 3 KiB | -rw-r--r-- | 1 month ago |
prompt.go | init | 520 B | -rw-r--r-- | 1 month ago |
source.go | init | 353 B | -rw-r--r-- | 1 month ago |
source_miniflux.go | mark entries as read after translation | 1.4 KiB | -rw-r--r-- | 4 weeks ago |
source_rss.go | init | 951 B | -rw-r--r-- | 1 month ago |
Lingua
Lingua is an ollama powered language learning tool. It downloads foreign language news articles from RSS feeds and asks you to translate them ranking your accuracy from 1 to 10. Lingua also supports using Miniflux as a feed source.
Example
Building From Source
make
Usage
lingua --config linga.example.toml
# Or load from ~/.config/lingua/config.toml
lingua
Configuration
Configuration is defined in a TOML file, see linga.example.toml
.
Source
A source can be either a plain RSS feed or a Miniflux feed ID.
Plain RSS Feed
[[sources]] name = "Fanpage" language = "IT" kind = "RSS" url = "https://www.fanpage.it/feed/"
Miniflux Feed Item
miniflux-endpoint = "https://miniflux.example.org" [[sources]] name = "Fanpage" language = "IT" kind = "Miniflux" # Miniflux Feed ID: id = 111