Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A microtool for transforming notion pages into slides

License

NotificationsYou must be signed in to change notification settings

decima/notion-slider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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/

Getting started

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.

Backend installation

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.

Frontend installation

Go into the/app folder and run the following commands:

yarn && yarn dev

This will install every dependencies and should start the vite server on 3000.

Then go tohttp://localhost:3000 and you can develop the frontend side.

Alternatively painless solution (AKA Docker)

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).

Issues

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

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp