Skip to content

janikvonrotz/tudluk

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

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

tudluk

A digital bookshelf generator for the 21th century.

Tudluk creates a static html page that showcases your favorite books. You can then use headless chrome to take a screenshot of the page and create a beautiful poster.

Example

Below is a scaled screenshot of the example bookshelf page.

Usage

Use yarn or node to install the project dependencies.

npm install

Open the bookshelf.md and add your books metadata.

Make sure that the configurations in config.json are correct.

Build the html poster page and run a static web server with npm run start.

Open http://localhost in your bowser and be amazed.

Use headless chrome to take a screenshot.

  • On Windows run this PowerShell command:

& "C:\Program Files (x86)\Google\Chrome\Application\chrome" --headless --disable-gpu --screenshot=C:\Users\_USERNAME_\screenshot.png --hide-scrollbars --window-size=5000,2500 http://localhost

  • On Mac OS run this Bash command:

/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --headless --disable-gpu --screenshot=/Users/_USERNAME_/screenshot.png --hide-scrollbars --window-size=5000,2500 http://localhost

You may have to adjust the --window-size parameter and the config.json settings for a perfect screenshot ratio.

About

A digital bookshelf generator for the 21th century.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published