Tree


.github/
.gitignorecommits | blame
CHANGELOG.mdcommits | blame
LICENSE.mdcommits | blame
Makefilecommits | blame
README.mdcommits | blame
build.py*commits | blame
litclock*commits | blame
litclock.1commits | blame
quotes/
requirements.txtcommits | blame
static/

README.md

# literature clock

Clock using time quotes from a literature.

## Supported languages

- English, completeness - 99%, (1419 out of 1440 quotes).
- Russian, completeness - 34%, (495 out of 1440 quotes).

## Usage

### Console

There is a shell script `litclock` that shows a quote for a current time:

> $ date
>
> Tue Dec 27 09:45:57 AM MSK 2022
>
> $ litclock
>
> "Первое, что бросилось нам в глаза, когда мы вошли в комнату Николауса,
> были стенные часы. Они показывали **без четверти десять**.
> Возможно ли, что ему оставалось так мало жить? Сердце у меня сжалось."
> -- 'Таинственный незнакомец', Марк Твен

### Web

The working site is in the `static/` folder, and can be visited at
https://bronevichok.ru/clock/. To run it locally you may need to serve `static/`
with an HTTP server (e.g. `python3 -m http.server`) ... or just open
`static/index.html` in a web browser.

### Video

There is a [Youtube playlist][youtube] that contains autogenerated
videos with quotes. This videos suitable for showing literature
clock on a wall using video projectors.

## License

- English version: CC BY-NC-SA 2.5, [Johannes Enevoldsen](https://jenevoldsen.com/)
- Russian version: CC BY-NC-SA 2.5, [Sergey Bronnikov](https://bronevichok.ru/)

[youtube]: https://www.youtube.com/watch?v=agdtDR0ML6w&list=PLJhgYyft6AM3zjhozIq4yWh6bCQchQOrR