https://github.com/JohannesNE/literature-clock
Clock using time quotes from the literature, based on the work of Jaap Meijers
https://github.com/JohannesNE/literature-clock
client-side clock javascript serverless
Last synced: 14 days ago
JSON representation
Clock using time quotes from the literature, based on the work of Jaap Meijers
- Host: GitHub
- URL: https://github.com/JohannesNE/literature-clock
- Owner: JohannesNE
- License: other
- Created: 2018-08-03T06:58:32.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-10-28T12:28:45.000Z (6 months ago)
- Last Synced: 2024-10-28T16:01:51.872Z (6 months ago)
- Topics: client-side, clock, javascript, serverless
- Language: R
- Homepage: http://literature-clock.jenevoldsen.com
- Size: 19.3 MB
- Stars: 602
- Watchers: 13
- Forks: 106
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- my-awesome-github-stars - JohannesNE/literature-clock - Clock using time quotes from the literature, based on the work of Jaap Meijers (R)
README
# literature-clock
Clock using time quotes from the literature, based on work and idea by
[Jaap Meijers](http://www.eerlijkemedia.nl/) ([E-reader clock](https://www.instructables.com/id/Literary-Clock-Made-From-E-reader/)).Force light or dark theme with the `theme` query parameter. E.g. https://literature-clock.jenevoldsen.com?theme=dark
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](https://github.com/gbear605)).
> ℹ️ NB: Some quotes are potentially NSFW. See issue [#11](https://github.com/JohannesNE/literature-clock/issues/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](https://github.com/ikornaselur/litime)** - A command line tool that shows a timely quote when it is executed.