# Lingua |
|
Lingua is an [ollama](https://github.com/ollama/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](https://miniflux.app) as a feed source. |
|
## Example |
|
 |
|
## Building From Source |
|
```sh |
make |
``` |
|
## Usage |
|
```sh |
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](https://miniflux.app) |
feed ID. |
|
#### Plain RSS Feed |
|
```toml |
[[sources]] |
name = "Fanpage" |
language = "IT" |
kind = "RSS" |
url = "https://www.fanpage.it/feed/" |
``` |
|
#### Miniflux Feed Item |
|
```toml |
miniflux-endpoint = "https://miniflux.example.org" |
[[sources]] |
name = "Fanpage" |
language = "IT" |
kind = "Miniflux" |
# Miniflux Feed ID: |
id = 111 |
``` |