Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pirafrank/notion-to-text
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.).
https://github.com/pirafrank/notion-to-text
cli notion notion-blog server serverless
Last synced: 22 days ago
JSON representation
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.).
- Host: GitHub
- URL: https://github.com/pirafrank/notion-to-text
- Owner: pirafrank
- License: mit
- Created: 2021-11-23T20:06:45.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-09-06T09:48:20.000Z (2 months ago)
- Last Synced: 2024-10-04T01:44:22.585Z (about 1 month ago)
- Topics: cli, notion, notion-blog, server, serverless
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/notion-to-text
- Size: 174 KB
- Stars: 6
- Watchers: 3
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://github.com/puppeteer/puppeteer) and [html-to-text](https://www.npmjs.com/package/html-to-text).
Provided as:
- [standalone](standalone/README.md), a CLI program that outputs to stdout or runs a server
- [lambda](lambda/README.md) 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