Live data from Hacker News

How to track and display profile views on GitHub

rushter.com

101–110 of 113 posts

Re: How to track and display profile views on GitHub

#101
post #57

First I heard about a readme for your profile page. So the facebook-ification of GitHub progresses? At what point is LinkedIn going to be merged into GitHub? (Only partially /s)

> So the facebook-ification of GitHub progresses? GitHub's premise has always been "social coding". They should indeed become more social, that may or may not remind you of Facebook but I personally have wanted more social features out of GitHub for a while.

Which ones for example? On the one hand, I sometimes feel the same, but OTOH I don't want this thing to get so bloated with "social" features instead of features to get things done :)

Re: How to track and display profile views on GitHub

#102
Interesting, when I create a repo with my profile name, it shows this text:

> You found a secret! philshem/philshem is a special repository that you can use to add a README.md to your GitHub profile. Make sure it’s public and initialize it with a README to get started.

Edit: HN stripped some emojis

Re: How to track and display profile views on GitHub

#103
post #28

Unrelated badge ideas: 1. Write a watcher that periodically reports whether you’re actively using a coding-related app (Terminal, VS Code, etc.) to a server you control, and serve a “coding”/“not coding” badge on your profile page; (could even detect which project you’re working on, and display that;) 2. Write an Apple Watch app that periodically reports whether you’re asleep, and serve a “sleeping”/“awake”/“unknown”…

Something like this was my first programming project when I was 12...

I had built a web service where you could get a unique URL for a .jpg and use it as your signature in forums. On the other end you had a Winamp plugin that you had to install that updated the currently playing song. The php file that served the jpg just used imagemagick to build the image. So you could display what song you were listening or what the last song you were listening to was to everyone in the forum. You could pick your theme as well for the image. No signup required.

Man this brings back memories... and also makes me feel bad that after all these years and a college degree I was probably smarter, faster and more productive as a 12 year old.

This was just hosting a php +MySQL db on a free cpanel host (I think 110mb.com) and none of that isomorphic lambda react firebase vercel kubernetes jazz and it still worked beautifully.

Re: How to track and display profile views on GitHub

#104
post #50
post #39

Earlier quoted context omitted.

Re: proxy security concerns: >Unlike GitHub, most of them don't even bother proxying the image to hide IP, referrer, and browser agent. If you want to allow external images on your site, you must proxy them and hide everything about a person who requested it. > A person with bad intentions can trick a victim into opening your profile that looks completely legit and detect his IP and a browser. Can you explain this in…

Attack? 1. your browser opens image from external server (in this step the server gets your IP and potentially user agent as that's how browsers communicate with servers) 2. there is no step 2

What? My step 2: Go to ip addr and ask your favorite celebrity (whose ip you got) for an autograph and selfie together

Re: How to track and display profile views on GitHub

#105
post #28

Unrelated badge ideas: 1. Write a watcher that periodically reports whether you’re actively using a coding-related app (Terminal, VS Code, etc.) to a server you control, and serve a “coding”/“not coding” badge on your profile page; (could even detect which project you’re working on, and display that;) 2. Write an Apple Watch app that periodically reports whether you’re asleep, and serve a “sleeping”/“awake”/“unknown”…

My GitHub profile is automatically updated with the estimated length of my email backlog: https://github.com/raxod502/github-email-backlog

Honest question from someone about to graduate - why do you have a 10 day email backlog as a recent grad? Are you getting that many recruitment emails?

Re: How to track and display profile views on GitHub

#106

Earlier quoted context omitted.

What do you recommend? There was one I remember seeing the name of here but I've forgotten

https://sourcehut.org/ the owner is a frequent hacker news poster.

Yep that was the one! Thank you

Re: How to track and display profile views on GitHub

#107
post #103
post #28

Unrelated badge ideas: 1. Write a watcher that periodically reports whether you’re actively using a coding-related app (Terminal, VS Code, etc.) to a server you control, and serve a “coding”/“not coding” badge on your profile page; (could even detect which project you’re working on, and display that;) 2. Write an Apple Watch app that periodically reports whether you’re asleep, and serve a “sleeping”/“awake”/“unknown”…

Something like this was my first programming project when I was 12... I had built a web service where you could get a unique URL for a .jpg and use it as your signature in forums. On the other end you had a Winamp plugin that you had to install that updated the currently playing song. The php file that served the jpg just used imagemagick to build the image. So you could display what song you were listening or what t…

Nice! Mine was similar, for a browser game called Tribal Wars.

Same stack; I (ab)used the referrer header to determine who was requesting the image (from a village ID in the header). I'd embed it in tribe forum posts to mark people as read, display dynamic stats for points, tribes, villages and such. Sometimes I'd do shenanigans like "[current person] is a noob". It really threw people in a loop as nobody had developed anything similar ;)

Re: How to track and display profile views on GitHub

#108

Earlier quoted context omitted.

3. Write an integration to the local cemetery, and after funeral is successfully detected serve "alive/dead" badge on the profile page.

Writing tests for this feature might be difficult.

you'd need a few "fixtures"

Re: How to track and display profile views on GitHub

#109
post #83

Earlier quoted context omitted.

What do you recommend? There was one I remember seeing the name of here but I've forgotten

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.

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

#110
post #83

Earlier quoted context omitted.

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.

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

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.

Post reply on HN