News for hackers. Stuff that matters.
Re:Nullboard: Kanban board in a single HTML file by dogtierstatus on Friday December 20, 2024 @08:19AM (#42470850)
> construct a file in such a way that it can create an updated copy of itself and save it back to the server

Is there some way to accomplish this through GitHub? Like the single html file running on GitHub.io pages can commit the changes to its repo?

Re:Nullboard: Kanban board in a single HTML file by wizzwizz4 on Friday December 20, 2024 @02:14PM (#42473957)
You should be able to use the Smart HTTP protocol with HTTP Basic Auth (https://git-scm.com/docs/http-protocol) to push a locally-created commit. Forgejo supports CORS here, but I don't know whether GitHub does.
Re:Nullboard: Kanban board in a single HTML file by mdaniel on Friday December 20, 2024 @04:33PM (#42475274)
Both GitHub and GitLab have killed http basic auth https://docs.github.com/en/rest/authentication/authenticatin... https://docs.gitlab.com/ee/topics/git/troubleshooting_git.ht...

That's not to say one couldn't still do what you're describing via other headers, I'm just saying "<input name=username><input name=password>" won't get it done