Skip to content

Python Code in Github Pages - Noob needs help #21596

Discussion options

You must be logged in to vote

That diagram is probably animated with CSS and Javascript, so the animation is running on the client side. If you can do it all in Javascript, a user could provide data to the script running in their browser and have it rendered, but it’d be gone as soon as they close the page (though you could include some export).

Or you could store the data to generate diagrams in your repository, and use Actions to build a static site using your Python code and commit that to the branch published by Pages. In that case users could suggest datasets to add via pull requests.

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants