HNHacker News
TopNewBestAskShowJobs

AndreasPizsa

40 karma · joined October 22, 2010

https://faviconkit.com https://emojibombs.com
submissionscomments
AndreasPizsa··on Why not an 'have I been pwned' for Covid-19 ?
This exists for dating, eg Happn. Doable.
AndreasPizsa··on Show HN: Emoji Bombs (send fun bursts of emoji)
Great feedback @mgkimsal, thanks. I'll test & fix FF.
AndreasPizsa··on Show HN: Emoji Bombs (send fun bursts of emoji)
Hey Hacker News, this is a fun side project that I built while learning vue.js and Progressive Web Apps (PWAs).

No two emoji bombs are alike: there are factorial 15 combinations for Happy Birthday - that’s 1,307,674,368,000 - and factorial 31 combinations for Christmas, etc.

I personally use it to wish team mates a happy birthday, or send the a "get well" note when they call in sick.

It’s a fun project that I wanted to share - I appreciate any and all feedback!

AndreasPizsa··on Show HN: Favicon Kit – get and embed Favicons from any web site (CDN and API)
It does do that, actually.

I’ll check this on the weekend; very curious what‘s causing this. Will fix & let you know.

Thanks for your feedback and suggestion!

AndreasPizsa··on Show HN: Favicon Kit – get and embed Favicons from any web site (CDN and API)
This is fixed now. Thanks again, ldjb!
AndreasPizsa··on Show HN: Favicon Kit – get and embed Favicons from any web site (CDN and API)
Oh, I didn't know this about Firefox - thanks a lot, ldjb!

My intention was to be a good HTTP citizen and return the correct status code with a decent representation.

Returning 200 for "not actually found what you wanted, but here's something else you can use" seems odd, but maybe I'm just being too pedantic here and the pragmatic way would be better.

Thanks for pointing out the Firefox issue again, it would have probably never occured to me that FF behaves that way. That hint saved me a lot of time "fixing" the parser.

AndreasPizsa··on Show HN: Favicon Kit – get and embed Favicons from any web site (CDN and API)
Sure!

Favicons change very, very rarely, so they are perfect candidates for caching; fast extraction and caching are core features of Favicon Kit.

It was mainly the fact that Cloudflare does not cache by MIME type, but by file extension (https://support.cloudflare.com/hc/en-us/articles/200172516-W...) and/or would require page rules (https://support.cloudflare.com/hc/en-us/articles/11500320685...) to honor cache-control headers. (It‘s been a while since I’ve made that decision, so I hope I'm remembering the reasons correctly!)

KeyCDN was simple to set up and their pricing was equally simple and very reasonable, so I ended up staying with them.

I hope this answers your question, JohannesH!

AndreasPizsa··on Show HN: Favicon Kit – get and embed Favicons from any web site (CDN and API)
Ouch, that's a sting in my pride :) Fixing!
AndreasPizsa··on Show HN: Favicon Kit – get and embed Favicons from any web site (CDN and API)
Good question MVorlm, thanks!

1) Static CDNs

We live in a wonderful time where CDNs are essentially free for small projects. I use CloudFlare for almost everything, simply because it’s so easy to set up, it gives you a free SSL endpoint, it allows you to use naked domain names (faviconkit.com instead of www.faviconkit.com) and it just works well. The HTML is hosted on Github Pages, which is also free.

1a) Number of edge servers

CloudFlare: 151 https://www.cloudflare.com/network/ CloudFront: 117 https://aws.amazon.com/cloudfront/details/ KeyCDN: 30+ https://www.keycdn.com/global-cdn Google Cloud CDN: 90+ https://cloud.google.com/cdn/

There are a few unique aspects of Favicon Kit specifically - the setup here is a tiny little bit more "sophisticated", which is why I chose Key CDN for the API itself.

2) Money spent on infrastructure (at least in the beginning)

+ Favicon Kit used to run on Heroku until recently, so I spent a few bucks on their hosting and CI plan. (It now runs on AWS Lambda) + I have a paid Github account. + CloudFlare is free. + KeyCDN so far cost me < 100€

AndreasPizsa··on Show HN: Favicon Kit – get and embed Favicons from any web site (CDN and API)
Glad to hear iza, thanks for the question!

There are/have been a few free and open source alternatives out there. I built Favicon Kit because I wanted something fast, scalable and - most of all - reliable.

Most of the free alternatives vary in features, disappear after a while or just become inactive (even besticon’s Heroku demo).

Favicon Kit wants to be the sustainable, reliable, solid, production-grade service for favicons.

There will eventually be a paid plan which guarantees availability for paying customers.

AndreasPizsa··on Show HN: Favicon Kit – get and embed Favicons from any web site (CDN and API)
Thanks for reporting this great edge case, hotpockets!

Did it actually give you a broken image? It’s supposed to return a "B" on a grey background in such a case.

AndreasPizsa··on Show HN: Favicon Kit – get and embed Favicons from any web site (CDN and API)
Generally speaking, favicons are a great way to give links a small, yet unique visual represenation, making them easier identifiable.

In addition to the other use cases already mentioned here, imagine an e-mail client such as GMail that - in lack of a photo of the sender - at least shows the sender’s company logo (which in many cases is the domain’s Favicon). In such scenarios Favicon Kit can serve as a fallback for services like Gravatar.

AndreasPizsa··on Show HN: Favicon Kit – get and embed Favicons from any web site (CDN and API)
Thanks timvdalen, that’s good feedback - I'll add this.
AndreasPizsa··on Show HN: Favicon Kit – get and embed Favicons from any web site (CDN and API)
Great feedback, thanks.

The number after the domain is meant to be "this or the next greater size"; the actual size depends on what the source web site offers.

AndreasPizsa··on Show HN: Favicon Kit – get and embed Favicons from any web site (CDN and API)
Google’s S2 is great for 16x16 icons. I’m not sure it also does sizes larger than this.
AndreasPizsa··on Show HN: FTP for Dropbox – upload/download with FTP clients
My home was recently broken in to, so I researched security cameras that could save videos to Dropbox. Interestingly, most cameras only support FTP or email, so I wrote this to get mine connected to Dropbox :)