Git Product home page Git Product logo

notion-page-downloader's Introduction

Notion Page Downloader

What can users do ?

  • Run on a personal computer : Download a Notion page as a HTML file.
  • Run on the cloud : Host a static version of a Notion page on Netlify.

How does this work ?

This small application uses the following three of my projects.

Demo

View example page on Netlify Netlify Status

Also, you can take a look at public/index.html.

Usage : Run on a personal computer

  1. Clone this repository.

    git clone https://github.com/dragonman225/notion-page-downloader.git
  2. Go into the repository.

    cd notion-page-downloader
  3. If you use npm

    npm install

    Or, if you use pnpm

    pnpm install
  4. Run setup script.

    npm run setup
  5. Edit the notionPageURL field of config.json.

  6. If the Notion page is private, you need to fill in your token in config.json. Follow this guide to obtain your token.

  7. Download the page as public/index.html.

    npm run start

Usage : Run on the cloud

  1. Deploy to Netlify
  • To update the static page on Netlify, go to Deploys tab, trigger deploy.

    img

  • Private Notion pages can't be deployed. (Technically, it's possible, but giving your Notion login token to the cloud is dangerous. A Notion token is so powerful that anyone or any machine with it can control your Notion account.)

Supported Blocks

Please view the list here.

Upgrade from Previous Versions

  1. Delete node_modules/ and package_lock.json.
  2. Run npm install or pnpm install.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.