GitHub Integration (share document feature)
Dimchikkk opened this issue · 3 comments
Currently it's possible to load app state via document
url param on wasm target. It's nice way to share a document but it requires some manual steps to create public gist with app state. Let's implement GitHub integration, so user can sign in/give velo permissions to create public gist with document state.
Say, by clicking "Share Document" button the following steps are performed:
- document is saved and pushed to user's public gist on GitHub
- then url is generated with sharable document, like so: https://staffengineer.github.io/velo?document=https://gist.githubusercontent.com/StaffEngineer/a6139b3dc88775d3f181757d40f976e0/raw/470df8d8213c03afd11c5d8b4902a20154c34dc7/velo.json
Instead of implementing GitHub Auth we can have .velo.toml file in home root directory with personal access token as the first step of share document feature.
Instead of implementing GitHub Auth we can have .velo.toml file in home root directory with personal access token as the first step of share document feature.
This is fixed by #76
This can be re-opened if someone wants to work on it.
This is partially done.