Giter Site home page Giter Site logo

pirafrank / notion-to-text Goto Github PK

View Code? Open in Web Editor NEW
6.0 3.0 0.0 306 KB

A simple way to get content of notion.site pages in plain text or as JSON (e.g. for use in APIs, with integration platforms, etc.).

Home Page: https://www.npmjs.com/package/notion-to-text

License: MIT License

JavaScript 88.44% Shell 5.94% PowerShell 5.62%
notion notion-blog cli server serverless

notion-to-text's Introduction

notion-to-text

A simple way to get content of notion.site pages in plain text (e.g. for use with curl, etc.). Powered by Puppeteer and html-to-text.

Provided as:

  • standalone, a CLI program that outputs to stdout or runs a server
  • lambda function

core module is a tiny package providing common functionality needed by standalone and lambda.

Why

Notion is a great note-taking tool and with sites an easy way to maintain a public page. Unfortunately being a PWA you can't get page content just by using curl, so that's where notion-to-text can help.

I've created it for personal use and as such it is provided as-is with no warranties.

License

MIT

notion-to-text's People

Contributors

dependabot[bot] avatar pirafrank avatar snyk-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

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.