A dashboard, to be run locally, to view your Bear Notes as a graph.
The graph is constructed using the Bear SQLite database using links between notes as well as the tag structure.
In addition, backlinks are ignored if the links come after BACKLINKS_HEADER
(which is specified in run_bear_graph.py
).
Sqlite3 is used to connect to the Bear database, typically stored in
~/Library/Group Containers/9K33E3U3T4.net.shinyfrog.bear/Application Data/database.sqlite
, to construct the graph.
Meanwhile, we use streamlit and streamlit_agraph to build the UI.
Make sure DEFAULT_DB_PATH
and BACKLINKS_HEADER
are configured correctly in run_bear_graph.py
streamlit run run_bear_graph.py