Skip to content

finalfire/link-to-notion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Link to Notion

Quick add a link to a table within a Notion page.

What is this about?

I use a particular page in Notion to save interesting links I find browsing. I don't really like to manually paste the link into the page, and the integrated extension in the browser for Notion lacks some feature (e.g., specifying tags).

This CLI utility simply helps a user to quick save a link in a Notion page.

Requirements

  • The utility is written in Rust, so you need cargo to compile it.
  • A Notion API key and an integration with your Notion target page. Take a look at this page if you're unsure of what it means.

Usage example

export NOTION_DATABASE_ID=...           # target page ID
export NOTION_KEY=...                   # your API key

l2n https://foo.bar -t tag1 tag2 tag3   # example 1
l2n https://bar.foo                     # example 2

Here, example 1 adds the link together with three tags; example 2 only adds the link without specifying any tag.

The following GIF shows a further example:

Example

About

Quick add a link to a page within Notion app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages