Re:How to track and display profile views on GitHub
by mahaganapati on Thursday July 09, 2020 @01:02PM
(#23782317)
What do you recommend? There was one I remember seeing the name of here but I've forgotten
[ Parent
| on HN ]
Re:How to track and display profile views on GitHub
by brian_herman__ on Thursday July 09, 2020 @01:07PM
(#23782376)
https://sourcehut.org/ the owner is a frequent hacker news poster.
Re:How to track and display profile views on GitHub
by mahaganapati on Thursday July 09, 2020 @04:52PM
(#23785061)
Yep that was the one! Thank you
Re:How to track and display profile views on GitHub
by sneak on Thursday July 09, 2020 @01:09PM
(#23782411)
Personally, I self-host Gitea. It works extremely well.
It has webhooks that tie nicely into my (also self-hosted) Drone (CI) and Mattermost (f/oss self-hosted Slack replacement) and CapRover (self-hosted Heroku) setups.
Re:How to track and display profile views on GitHub
by mahaganapati on Thursday July 09, 2020 @05:57PM
(#23785722)
That's awesome! It sounds like a great setup for a solo dev wanting to save money, or even for bootstrapping a startup. Thanks for sharing
Re:How to track and display profile views on GitHub
by sneak on Thursday July 09, 2020 @06:04PM
(#23785774)
On a $300/mo server from Hetzner it can run git, CI, image registry, Mattermost, email, wiki, Discourse, Mumble, and host a bunch of apps (dev, stage, prod) without breaking a sweat. I set up the filesystem so it stores all server state for all apps and stuff in a single directory tree (thanks to Docker you can mount whatever source directories you want into a container at any path).
A continuous rsync job in a loop makes sure that that directory tree is always synchronized onto another $20/mo VPS elsewhere. (Failures on that backup machine/script are reported realtime via webhooks back into Mattermost.)
It's a really robust system (for a single machine) and thanks to everything being containerized, can be easily replicated from the backup host back onto a new machine in under an hour or so in the event of crash/disaster.
For 90% of small businesses, even the $300/mo server is significant overprovisioning/overkill.
Re:How to track and display profile views on GitHub
by mahaganapati on Thursday July 09, 2020 @08:20PM
(#23786817)
Thanks for the further detail! I'm favorit-ing your reply for when I'll need to set up something like this soon. I appreciate it!
Re:How to track and display profile views on GitHub
by megous on Thursday July 09, 2020 @01:40PM
(#23782810)
nginx+git+cgit
Re:How to track and display profile views on GitHub
by brian_herman__ on Thursday July 09, 2020 @02:05PM
(#23783124)
That is an alternative, if you are using git you probably are well versed in Linux.