aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 052abe54d03ecbc83a860a0cb1fe9038ad110ba9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# tltxch (Swiss Teletext Terminal Client)

Python program that fetches (Swiss) teletext from `api.teletext.ch` and displays it in the terminal.

## References

- [teletext.ch](https://teletext.ch)
- API: `https://api.teletext.ch/channels/{channel}/pages/{page}`
- [ETS 300 706](./res/ets_300706e01p.pdf)

## Usage

```
tltxch.py [--tui] [--channel CHANNEL] [--page PAGE]
  --tui              run in TUI mode.
  --channel CHANNEL  specify channel: srf1 (default), srfzwei, srfinfo.
  --page page        specify page: 100 (default)
```
In TUI mode:
- `q`: quit
- `n/p`: next/prev page
- `g`: goto page

## Limitations

- Graphics are not rendered properly.

## Example

![example](./res/example.png)