Skip to content

ariary/Notionion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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