/Notionion

Notion as an HTTP proxy

Primary LanguageGoThe UnlicenseUnlicense

notionion 🧅

Use Notion as an HTTP proxy.
🫀Like having Burp in your notetaking app


demo


Why? 🤔

Mainly for fun of adding a blade to the Swiss army knife that is notion.
The purpose is to provide an HTTP proxy which takes advantage of the Notion benefits
  • Cross-platform (Windows/MacOS, browsers, mobile)
  • Shared with authentication
  • Accomplished notetaking app (GUI provided, ease HTTP packet manipulation, add notes)

How? 🤷‍♂️

Just use notion as usual and launch notionion.

roughly inspired by the great idea of OffensiveNotion!

Quickstart

Set-up (details)

  1. Create the "Proxy page" in Notion
  2. Give the permissions to notionion to access the Proxy page

Run (details)

  1. Perform HTTP request
  2. Modify it trough the "Proxy page" in Notion
  3. See result of request

🏗️ Set-up

Create the "Proxy page" in Notion

You can duplicate the template notionion template

Give the permissions to notionion to access the Proxy page

  • Go to the Notion API developer page and log in. Create an Integration user (New integration). Copy that user's API key
  • Copy the "Proxy page" Url
    • In browser: only copy the URL
    • On desktop app: CTRL+L
  • Add your Notion Developer API account to this page (In the upper-right corner of your Notion page, click "Share" and "Invite")
  • Install notionion see

Declare environment variables to specify the notion proxy page:

source env.sh
# Alternatively, you can just export NOTION_TOKEN (which is the api key) & NOTION_PAGE_URL

👟 Run

notionion

Install

  • From release: curl -lO -L https://github.com/ariary/notionion/releases/latest/download/notionion && chmod +x notionion
  • Build it: git clone https://github.com/ariary/notionion && make before.build && make build.notion (need go)
  • with go:go install github.com/ariary/notionion@latest