Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arnaudmiribel/stgh
Chrome extension to switch from Streamlit to GitHub and vice versa!
https://github.com/arnaudmiribel/stgh
Last synced: 24 days ago
JSON representation
Chrome extension to switch from Streamlit to GitHub and vice versa!
- Host: GitHub
- URL: https://github.com/arnaudmiribel/stgh
- Owner: arnaudmiribel
- Created: 2021-10-08T13:27:51.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-10-08T14:17:00.000Z (over 3 years ago)
- Last Synced: 2024-11-03T09:42:16.150Z (2 months ago)
- Language: JavaScript
- Size: 955 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# `stgh` Chrome Extension
This Chrome Extension enables you to quickly open the relevant GitHub code of a Streamlit app in a new tab.
Or vice versa, you can also just open the Streamlit app from the GitHub code!## How to install
1. Clone the repo `git clone https://github.com/arnaudmiribel/stgh`
2. In Chrome, visit `chrome://extensions`
3. On the top right, make sure you have enabled Developer mode
4. Click on `Load unpacked` and point to the directory of `ghst-extension`
5. You should see the newly installed Chrome Extension in your bar. Make sure to pin it if you want to always have it on your side.## TODO
- [ ] On GitHub, modify DOM to also add a button `Open in Streamlit`
- [ ] Make a better logo...
- [ ] Support when URL ends with parameters e.g. `?page=headliner`
- [ ] Cleaner parsing of URLs (e.g. if finishes with `/`)
- [ ] If no ambiguity (i.e. only one app), could work from anywhere in the repo