How to track and display profile views on GitHub
rushter.com
rushter.com
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” badge on your profile page.
Because I could not test for Death
He kindly test'd for me —
The Fixture held but just Ourselves —
And TCP/IPhttps://www.amazon.com/commit-murder-Michael-Warren-Lucas-eb...
https://www.marketwatch.com/story/this-creepy-3200-digital-t...
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.
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 ;)
Sounds like Discord.
Asking for a friend.
You can also try to convince Apple to add that workout type. https://support.apple.com/en-us/HT207934
Look forward to WWDC 2021, introducing the favorite workout type of billions of people.
Find out who's currently excited about demonstrating middle-out compression to one's mates? :-)
Clarifying for a friend.
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.
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.
It’s probably infinitely more simple than I think it was.
Edit: Down this [1] page a little bit you can see an example of the code you would have to copy/paste
[1] https://web.archive.org/web/19970616173036/http://www.acmepe...
[also adds in some "under construction" gifs]
I really wish I had some way to access my original AOL website. So many memories... and web ring links...
This is the commit which removed it: https://github.com/rushter/rushter/commit/00d0d552e262218dae...
I guess one shouldn't do this if your profile becomes popular enough...
I also don't have plans to use it in the future. I wanted to demonstrate the concept.
Hopefully actix-web is a bit more resilient than Python!
At what point is LinkedIn going to be merged into GitHub? (Only partially /s)
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.
Personally I don't see much reason for this to be implemented via a git repository (rather than a text field in a database, like the existing Bio text), other than "we're GitHub, everything's a git repository, so why not".
At the moment, it's a single-file repository. Perhaps they have some ideas for other things that could be served from there too.
Weirdly at the moment it's required to be a public repository. This seems counterproductive: if it's my personal information blurb I don't much want other people looking at its history and I certainly don't want them forking it. (Are there any non-malicious reasons for doing that?)
Taken to its logical conclusion, this would mean you're opposed to the existence of web archives (which you probably aren't).
I guess they didn't want any past private repository to have its README public just because they added a profile feature.
It's too bad the author removed the badge from their Github profile. It would be interesting to see the effect of this post on profile views.
"GET /counter.svg HTTP/1.1" 200 565 "-" "github-camo (62249a1c)"
I've reverted the badge.*[edit] I don't mean to shit on the OPs work or the coolness factor here. I'm just a bit put off by the idea of creating new anxiety levers for people to pull that don't offer much if any real value.
I'd hardly call taking a look at _where_ people are coming from to view your Github profile a "vanity" thing. A view of referrers could be extremely useful in tuning one's developer presence and visibility. That could come in handy when job-seeking, or trying to spread the word about your services and/or company. Both of which Github is widely used for.
It is still useful enough to know if someone looked at your github repos when you're looking for a job. Typically this is useful when a visitor also hits other sites related to you like your Linkedin, or gets a link to your github from a printed resume, etc. It lets you know someone is interested and during a job search that can be useful information. It doesn't have to be only about "vanity", but maybe you're applying some kind of narrow view on the rest of the world.
> The results are tiny changes in the behavior of people over time. But small changes add up, like compound interest. This is one reason that BUMMER naturally promotes tribalism and is tearing society apart, even if the techies in a BUMMER company are well-meaning. In order for BUMMER code to self-optimize, it naturally and automatically seizes upon any latent tribalism and racism, for these are the neural hashtags waiting out there in everyone’s psyche, which can be accentuated for the purpose of attention monopoly.
BUMMER is an acronym
> Seems like a good moment to coin an acronym so I don’t have to repeat, over and over, the same account of the pieces that make up the problem. How about “Behaviors of Users Modified, and Made into an Empire for Rent”? BUMMER. BUMMER is a machine, a statistical machine that lives in the computing clouds. To review, phenomena that are statistical and fuzzy are nevertheless real. Even at their best, BUMMER algorithms can only calculate the chances that a person will act in a particular way. But what might be only a chance for each person approaches being a certainty on the average for large numbers of people. The overall population can be affected with greater predictability than can any single person.
Similar dynamics show up in any forum where people compete with others for points, e.g. karma.
> According to my tests, profile views do not count as repo views, and I hope, in the future, we will be able to see traffic stats in the repository that hosts the README file.
I think this is a bit understated. A simple number coming off the image requests is going to be very unreliable. On average, you will not be able to discern bots and real users.
A plotting of the hits over time may be more usable.
> 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
>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 more detail? Given a profile host that doesn't proxy, how does that attack work?
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
Such people usually know, that clicking on random links is not safe.
For us that weren't around in MySpace era, how did they do that?
I miss being young and having a seemingly infinite amount of time on my hands...
"The rest of the story is simple" uh, no that's not simple at all! You want me to register a domain, get a hosting provider, create a database, and create logic to listen for requests with anti-bot detection? Please don't say this is simple.
This is a weird new myth that might just highlight the difficulty of discoverability. GitHub has had user profile READMEs for years. The difference is just where the README shows and what the name of the repo is supposed to be.
You could already create a "<username>.github.io" repo that governs what shows up when visiting https://<username>.github.io