- Notifications
You must be signed in to change notification settings - Fork3
A microtool for transforming notion pages into slides
License
decima/notion-slider
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
I promised to clean this code, but I lied, i'll do it one day.
Notion Slider is an utility tool which uses the notion API in order to transform a notion doc into some slides.
demo :https://notion-slider.henri.run/
In order to develop/use this project, first you'll need :
- golang 1.18+
- nodejs+yarn
- Client ID and secret from apublic integration. The frontend server will run on localhost:3000, so you will have to add in the redirect URIs 'http://localhost:3000/auth'
- you will get your client secret as soon as you switch your app to public and save it.
in order to launch the project, just run :
go run . -client_id=CLIENTID -client_secret=SECRET -domain=http://localhost:3000/This will start by default a server on 9000.
Go into the/app folder and run the following commands:
yarn && yarn devThis will install every dependencies and should start the vite server on 3000.
Then go tohttp://localhost:3000 and you can develop the frontend side.
If you want to run your own instance, you can build it yourself with docker.Just rundocker run -t notion-slider .. This will build frontend and backend, and serve all this fun people on internal container port 9000.
Or alternatively if you don't want to suffer docker build, I provide built images of my app (for my personnal use : decima/notion-slider:0.1 ).
You can also use docker-compose to run the image, write the following in a docker-compose.yml
version:"3"services:notionslider:# comment build key and uncomment image to not have to build your own image.# image: "decima/notion-slider:0.8.0"build:context:.args:VERSION:0.9.0entrypoint: -./NotionSlider --client_id=CLIENT_ID --client_secret=CLIENT_SECRET --domain=http://localhost:11000/ports: -"11000:9000"
and rundocker-compose up. (this will start localhost:11000 as it is declared in your file, don't forget to add this url in your integration in notion).
Feel free to add, comment, fix any provided issues, this is an open source project, and it aims to stay like this.
About
A microtool for transforming notion pages into slides
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.