Sync Rubik's Cube algorithms from SpeedCubeDb to Notion.
Here is my demo page. If you don't want to store data by your own, you can just visit this page, or duplicate any linked database (firstly click open as page
on the top right corner) in this page to customize views. More details can be found on the demo page.
-
Algorithms, their ranks, and you favorite list are synced from SpeedCubeDb to Notion use this project.
-
Manage the algorithms you learnt by manually click checkbox property
learnt
in Notion database. -
Full control of the properties and views to be shown in Notion.
-
Fork this project.
-
Duplicate the demo page.
-
Add an integration to control this page (contains two databases).
-
Put the API key and page id of the two databases into
.env-example
, and change the file name into.env
. -
Run
getData.py
to get algorithms data with their ranks. -
For "My Algorithm Sheet" data, make sure it is public shared on SpeedCubeDb, like mine. Get your id and change it in
getFave.js
. RungetFave.js
bynode getFave.js
to get your favorite list data. -
Run
index.js
bynode index.js
to update your data. -
If you want to include other algorithms other than "F2L", "OLL", "PLL", you will also need to do several things before running the programs for initialization:
-
Add the name of the algorithm set to
algsets
array ingetData.py
andgetFave.js
, and run this two files. I don't promise there will be no error. -
Run
getImg.py
to get the image for each cases by VisualCube. You may want to change views to whatever you like. -
Uncomment
await createInit(caseDbData)
inindex.js
and run it. After initialization, you should comment this line again.
-
-
Algorithms data source: SpeedCubeDb
-
Image generated by: VisualCube
The MIT License