NOTICE: Workflow to automatically update date/time is disabled. Must reenable before use. (Actions tab)
Using workflows allows a python script to save data to github servers, but they take a few minutes to update to github, which is not good enough.
-^^^ Try a loop on the website to call readTextFile repeatedly? No, it’s caching and ruining it all.
-Additionally, I have not yet found a way to allow the script to save data whilst running. The script must end, meaning no while loops to continuously update info yet.
It is possible to have a project’s website read information from a file within the same project, that seems to have gone smoothly so far.
Update: It takes about 50 seconds after saving new data for said data to appear on the site. No page refresh, no hard reload. Thanks request headers!
But that’s still too slow.
And I still can’t save data while the script is running.
If I can rebuild data constantly and redisplay it in near-real time (<= 10s), I might be able to start utilizing github for a proper website.
Welcome to GitHub Pages
You can use the editor on GitHub to maintain and preview the content for your website in Markdown files.
Whenever you commit to this repository, GitHub Pages will run Jekyll to rebuild the pages in your site, from the content in your Markdown files.
Markdown
Markdown is a lightweight and easy-to-use syntax for styling your writing. It includes conventions for
Syntax highlighted code block
# Header 1
## Header 2
### Header 3
- Bulleted
- List
1. Numbered
2. List
**Bold** and _Italic_ and `Code` text
[Link](url) and 
Your Pages site will use the layout and styles from the Jekyll theme you have selected in your repository settings. The name of this theme is saved in the Jekyll _config.yml configuration file.
NOTICE: Workflow to automatically update date/time is disabled. Must reenable before use. (Actions tab)
Using workflows allows a python script to save data to github servers, but they take a few minutes to update to github, which is not good enough.
-^^^ Try a loop on the website to call readTextFile repeatedly? No, it’s caching and ruining it all.
-Additionally, I have not yet found a way to allow the script to save data whilst running. The script must end, meaning no while loops to continuously update info yet.
It is possible to have a project’s website read information from a file within the same project, that seems to have gone smoothly so far.
Update: It takes about 50 seconds after saving new data for said data to appear on the site. No page refresh, no hard reload. Thanks request headers!
But that’s still too slow.
And I still can’t save data while the script is running.
If I can rebuild data constantly and redisplay it in near-real time (<= 10s), I might be able to start utilizing github for a proper website.
Welcome to GitHub Pages
You can use the editor on GitHub to maintain and preview the content for your website in Markdown files.
Whenever you commit to this repository, GitHub Pages will run Jekyll to rebuild the pages in your site, from the content in your Markdown files.
Markdown
Markdown is a lightweight and easy-to-use syntax for styling your writing. It includes conventions for
For more details see GitHub Flavored Markdown.
Jekyll Themes
Your Pages site will use the layout and styles from the Jekyll theme you have selected in your repository settings. The name of this theme is saved in the Jekyll
_config.ymlconfiguration file.Support or Contact
Having trouble with Pages? Check out our documentation or contact support and we’ll help you sort it out.