Awesome
Notabase
Notabase is a personal knowledge base for networked thinking.
It lets you connect knowledge and form ideas by linking notes together. These links allow you to traverse your notes like webpages and find connections that you never would have thought of otherwise. Think of it as a personal Wikipedia for your brain that you can edit and browse as you like. As you add more notes, it gets more powerful!
It is inspired by note-taking apps such as Notion, Obsidian, Typora, and Roam Research.
Features
- 📖 Browse your notes with page stacking (similar to Andy's working notes)
- 📝 WYSIWYG editor with markdown support makes it easy to read and edit notes
- 🔗 Linked/unlinked references let you see other notes that reference a specific note
- #️⃣ Organize your notes with links, tags, and nested notes
- 📱 Can be installed as a Progressive Web App (PWA) for faster loading and offline viewing
- ☁ Your notes are synced to the cloud and can be accessed on any device
- 🔀 Use the graph view to analyze your knowledge graph
- 🔍 Full-text search lets you easily find relevant notes
- 🧱 Use block references to embed a block of text from another note, which auto-updates when the original block changes
- 🤝 Import or export your notes at any time
- 🙌 Open source with community involvement and transparent development
- 🚀 And much more!
Status
Notabase is in beta and is under active development.
Documentation & Support
If you need help getting started with Notabase, check out our Help Center.
Sponsors
Special thanks to the following people for their support:
Sponsors make it possible for me to continue developing Notabase. Your support is greatly appreciated!
Self-hosting / running locally
Notabase is currently focused on the hosted experience, but it is possible for you to self-host it as well. Here are some steps that you need to take to get it running locally:
- Notabase uses Supabase as the backend (for authentication, database, and storage), so you'll have to make a Supabase account. If you prefer to self-host Supabase, you can follow the instructions in their docs.
- Copy
.env.local.example
into.env.local
and fill in theNEXT_PUBLIC_SUPABASE_URL
,NEXT_PUBLIC_SUPABASE_KEY
, andSUPABASE_SERVICE_KEY
variables from your Supabase dashboard. The other environment variables are optional. - Create your database tables. Apply full schema and storage setup.
- In your local environment, install the packages using
npm install
, and then build and run the project usingnpm run build
andnpm start -- --port 3000
. You will be able to see Notabase running on http://localhost:3000. Alternatively, for a development environment, runnpm run dev
.
[!IMPORTANT] The hosted and self-hosted versions of Notabase share the same codebase, so by default, there is a cap on the number of notes you can create. You can circumvent this by inserting a new row in the
subscriptions
table for your user id, withpro
in theplan_id
column andactive
in thesubscription_status
column.
Testing
Unit tests
You can run unit tests by running npm run test
.
Cypress tests
First-time setup:
- Install Docker and Docker Compose.
- Run
npx supabase init
to initialize your Supabase project. - Copy
.env.test.example
into.env.test
and fill in the environment variables.
To run tests:
- Start Docker.
- Run
npx supabase start
. - Run
NODE_ENV=test npm run dev
. - Run
npm run cy:open
to run Cypress tests in a GUI, ornpm run cy:run
to run them in the CLI.
License
Notabase is licensed under the AGPL license, and is free for personal use.
If you'd like to use Notabase for commercial use, please contact me for a commercial license.