Skip to content

JohannesNE/literature-clock

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
Nov 24, 2022
Nov 24, 2022
Nov 24, 2022
Nov 24, 2022
Nov 24, 2022

literature-clock

Clock using time quotes from the literature, based on work and idea by Jaap Meijers (E-reader clock).

The working site is in the docs/ folder, and can be visited at http://literature-clock.jenevoldsen.com/. To run it locally you may need to serve docs/ with an HTTP server (e.g. python3 -m http.server) ... or just open index.html in Firefox (thanks @gbear605).

ℹ️ NB: Some quotes are potentially NSFW. See issue #11. To filter out (most) NSFW quotes, use the sfw query parameter. E.g. https://literature-clock.jenevoldsen.com?sfw=true

Convert .csv quotes to .json quotes

Quotes are kept in litclock_annotated.csv. These are converted into a .json file for each minute with csv_to_json.R. To run the R script, install R and use the package manager, {packrat}, to install the correct version of the packages: packrat::restore().

Other related projects

  • litime - A command line tool that shows a timely quote when it is executed.

About

Clock using time quotes from the literature, based on the work of Jaap Meijers

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages