Skip to content

EnyCode/notion2html

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

notion2html

get your notion pages and turn them into html!

this was made as a proof of concept for my blog (coming soon 👀)

how do I use it?

  • make sure you have rust and cargo installed
  • install it! cargo install notion2html
  • make a notion integration and get a secret - make sure you add the read content scope!
  • find the page you want to convert, open the hamburger menu and under "Connect to" select your app
  • get the page id from the url (eg. https://www.notion.so/enymc/Sailing-the-High-Seas-428f22ca736843a992aa699a67787288 should be 428f22ca736843a992aa699a67787288 as the id)
  • run it! NOTION_TOKEN=<your token here> notion2html <page id> > out.html
  • your html will now be in out.html!

Licensed under MPL 2.0

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages