4 ms·
It provides a way for developers to communicate with each other in a developer channel. Wouldn't it be both exciting and useful to be able to open the console
by afschwartz 13y ago
It provides a way for developers to communicate with each other in a developer channel.
Wouldn't it be both exciting and useful to be able to open the console of nearly any site and immediately get a link to the code or author on GitHub? Sometimes these sorts of links aren't appropriate on the site itself, especially in the case of contract/client work.
That being said, performance is very important. Which is why we kept Signet small. signet.min.js (https://github.com/HubSpot/signet/blob/master/signet.min.js https://github.com/HubSpot/signet/blob/master/signet.min.js) is 5kb (smaller if gz) and has no dependencies.
As one anecdotal data point: I recently added Signet to my personal site and it had no impact on page load time.
- asperous 13y agoThere's also this: http://humanstxt.org/ http://humanstxt.org/, which similar to this, only it's completely browser compatible, accessible, scrapable by crawlers, easier to read, has no effect on page load times/bandwidth. Not to take away from your work, I think it's interesting and well made. It does adds something to your sites (like an Easter egg, like putting comments in the html source).
- afschwartz 13y agoI think that's a fair point. humans.txt is fantastic. However, the small cost you pay for including Signet gets you a more convenient and more discoverable way for a developer visiting your site to learn about you, the author. Is the cost worth that slight convenience? Definitely a toss up and will depend on the application and its needs.
- morgante 13y agoTo enable this, you're asking developers to add a meta tag. Given that the audience for this output is fellow developers, I'd think we're all capable of reading the meta tag directly without the need for an additional script. 5kb might not seem like much, but where speed is of importance every request counts and every byte matters. EDIT: Sorry if I seem too negative. It's a cool hack and I can see why it'd be fun to add to personal websites.