Automates creating backlinks to pages within collections. Helps maintain zettelkasten references.
In case you have a collection of pages in Notion and you use the 'Link to page' feature to link one page to another, you may want to automatically backlink the latter page to the referencing one. This is usefull if you maintain a zettelkasten store where linking forward and backward is essential.
Let's assume you have a collection of 2 pages: PageA and PageB.
PageA has link to PageB, but PageB is unaware of PageA.
When you run Notion Backlinks Creator for this collection, it will automatically:
- determine that PageA have link to PageB (or any other pages pair)
- find if there is no backlink from PageB to PageA (or any other missing backlinks, even if you deleted them)
- add backlink from PageB to PageA in the #Backlinks section (will create it if not exist)
Follow these steps for pipenv:
- Download this python app
- Open virtualenv:
pipenv shell
- Install referenced libraries:
pipenv install
- Copy
config.ini.example
toconfig.ini
- Edit config.ini (your api_token and collection_page_url are mandatory)
- Run application:
python app.py
This tool can, and probably will modify your Notion data! It was not extensivelly tested, so any errors may occur and you may lost your data. For the first time run it on a simple demo collection to avoid any unwanted data modifications. I'm not responsible for any damages it may cause. You have been warned