Skip to content

is a clock using time quotes from literature

License

Notifications You must be signed in to change notification settings

ligurio/litclock

Repository files navigation

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.

License