Live data from Hacker News

Using a self-rewriting README powered by GitHub Actions to track TILs

simonwillison.net

1–10 of 32 posts

Re: Using a self-rewriting README powered by GitHub Actions to track TILs

#6
post #5

I find the hard dependency on Github a bit disconcerting. Why not self host? What happens if https://github.com/simonw/til drops away? Love your work Simon.

My https://til.simonwillison.net/til site acts as a sort of off-site backup - but I should probably run a cron somewhere which pulls my repos. I have a Digital Ocean box I could do that on. Good idea!

Re: Using a self-rewriting README powered by GitHub Actions to track TILs

#7
post #4

Thanks for sharing. I also recently started a TIL repo from the same inspiration and found it lame to write my first README entry. Will look at setting up what you described.

If there was a public place for posting these with peers, that was built for TILs rather than just a repo, would you use it? Especially if it included an easy way to export all to markdown for backup?

This would allow folks to see each other’s TILs, search them, browse by tag, like/favorite each other’s TILs, and some other fun stuff eventually

Re: Using a self-rewriting README powered by GitHub Actions to track TILs

#8
post #6
post #5

I find the hard dependency on Github a bit disconcerting. Why not self host? What happens if https://github.com/simonw/til drops away? Love your work Simon.

My https://til.simonwillison.net/til site acts as a sort of off-site backup - but I should probably run a cron somewhere which pulls my repos. I have a Digital Ocean box I could do that on. Good idea!

If you want a recommendation, try out https://gitea.io/en-us/ - it has a mirror feature that can periodically pull down repos for you.

I've been using it to backup some of my repos on github/gitlab, without having to rely on any of my own custom scripts/crons.

Post reply on HN