Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ShravanSunder/evergreenNotesNotion
Chrome extension for notion
https://github.com/ShravanSunder/evergreenNotesNotion
chrome-extension notion notion-extension notion-integrations
Last synced: 2 months ago
JSON representation
Chrome extension for notion
- Host: GitHub
- URL: https://github.com/ShravanSunder/evergreenNotesNotion
- Owner: ShravanSunder
- Created: 2020-05-04T03:20:28.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-24T06:14:17.000Z (about 2 years ago)
- Last Synced: 2024-05-01T14:21:34.975Z (9 months ago)
- Topics: chrome-extension, notion, notion-extension, notion-integrations
- Language: TypeScript
- Homepage:
- Size: 25.8 MB
- Stars: 32
- Watchers: 0
- Forks: 7
- Open Issues: 58
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Evergreen notes for notion
## Overview
> ⚠ This extension was written before Notion released their API, by basically reverse engineering the api and types.
The data types and systems were approximation and this hasn't been updated after their api release. Fortunately everything still works.
The extension creates a side panel. Checkout the [website](https://shravansunder.notion.site/Evergreen-Notes-For-Notion-e35e6ed4dd5a45b19bf2de2bb86b1a7e) for pictures and details!
## Use
If you want to fork it feel free. I would be happy with an **attribution**. :)
## Links
- [Webpage on Notion 📚](https://shravansunder.notion.site/Evergreen-Notes-For-Notion-e35e6ed4dd5a45b19bf2de2bb86b1a7e)
- [Chrome extension 🕸](https://chrome.google.com/webstore/detail/evergreen-notes-for-notio/chhpogndpjcgjbnbcodhdnilklfanmfh)
- [Buy me a coffee ☕](https://www.buymeacoffee.com/ShravanSunder)## Some architecture
- uses webpack with esbuild plugin
- written in react and redux toolkit
- notion types in typescript## what i would do differently
- use recoil or swr/rtk with state
- use notion api authentication
- change the mechanism to get the current page in state
- cache updates so its not so slow,
- maybe use `indexdb` with `dexiejs`
- `sql lite` with `absurd-sql` https://github.com/jlongster/absurd-sql
- maybe use an existing notion rendering engine, there's a lot of options now## Thoughts about Notion
Notion is super slow, in search and fetch
- i would find a better way to cache results
- faster better way to check for updates to dom and mutationI find their lack of classification of data types a bizzare decisions. Personally, i would have extracted `Page` as its own type just like `collection`, `block`, `table`. I think this would make things a lot faster in the backend and easeir in front end without sacrificing flexibility. This concrete page model would lend itself to a org wide tasks model in the future as well.
I don't think everything needs to be dynamic and maximally flexible. Opininiated types are useful at times.