https://github.com/zevv/termtekst
NOS teletekst client for linux console
https://github.com/zevv/termtekst
Last synced: 11 months ago
JSON representation
NOS teletekst client for linux console
- Host: GitHub
- URL: https://github.com/zevv/termtekst
- Owner: zevv
- License: other
- Created: 2017-01-13T10:25:24.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2024-03-24T06:28:37.000Z (almost 2 years ago)
- Last Synced: 2025-03-25T21:03:42.244Z (11 months ago)
- Language: Python
- Size: 52.7 KB
- Stars: 23
- Watchers: 2
- Forks: 9
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: Changelog
- License: LICENSE
Awesome Lists containing this project
README
## NOS Teletekst on the Linux console
Small Python app using `curses` to display Dutch NOS Teletekst on the Linux
console. The original Teletekst font includes 2x6 raster graphics glyphs which
have no representation in unicode; as a workaround the braille set is abused to
approximate the graphics.

Pages are retrieved from NOS over HTTP (in JSON format).
### Installation
```
sudo python ./setup.py install
```
or simply run the script straight from the checked out git source:
```
./src/tt
```
### Usage
Termtekst takes an optional start page number as single argument, or defaults to page 100 if not specified:
```
tt [page]
```
Choos the page to view using number keys, browse using arrow keys or vim-style navigation (h,j,k,l), or click
on page numbers with the mouse.
### Key mappings
````
left / h / [ : prev
right / l / ] : next
up / j / , : prev sub page
down / k / . : next sub page
[0-9] : enter page number
q : quit
d : toggle double width
````
### Configuration
Shortcut keys can be configured in ~/.ttrc, example file:
````
[bookmarks]
w = 704
g = 100
i = 100
````