Discussion
Loading...

Post

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Terence Eden
@Edent@mastodon.social  ·  activity timestamp 4 days ago

🆕 blog! “A Self-Hosted Favicon Proxy written in PHP”

In theory, you should be able to get the base favicon of any domain by calling /favicon.ico - but the reality is somewhat more complex than that. Plenty of sites use a wide variety of semi-standardised images which are usually only discoverable from the site's HTML.

There are several services which allow you to …

👀 Read more: https://shkspr.mobi/blog/2025/10/a-self-hosted-favicon-proxy-written-in-php/
⸻
#favicon #HowTo #HTML #php

  • Copy link
  • Flag this post
  • Block
Tom Morris
@tommorris@mastodon.social replied  ·  activity timestamp 3 days ago

@Edent your “personal git service” link doesn’t resolve

  • Copy link
  • Flag this comment
  • Block
Terence Eden
@Edent@mastodon.social replied  ·  activity timestamp 3 days ago

@tommorris I need to stick a shilling in the meter.

  • Copy link
  • Flag this comment
  • Block
Zach Leatherman :11ty:
@zachleat@fediverse.zachleat.com replied  ·  activity timestamp 4 days ago

@Edent @11ty has one of these too!

https://www.11ty.dev/docs/services/indieweb-avatar/

Eleventy

IndieWeb Avatar

A docs page for Eleventy, a simpler static site generator.
  • Copy link
  • Flag this comment
  • Block
zuzak
@zuzak@mastodon.zuzakistan.com replied  ·  activity timestamp 4 days ago

@Edent

I wonder if there's a way in modern CSS to automatically figure out the url('') to avoid having a load of entries like

```
a[href*=".wikipedia.org"],
a[href*=".wikimedia.org"] {
background-image: url('proxy.example.com?domain=wikipedia.org');
}
```

(for completeness:
```
a {
padding-right: 1.6ex;
background: no-repeat top right/1.5ex;
padding-top: 0.1ex;
padding-bottom: 0.5ex;
}
```
)

  • Copy link
  • Flag this comment
  • Block
Terence Eden
@Edent@mastodon.social replied  ·  activity timestamp 4 days ago

@zuzak yes, I wrote a bit about it at
https://shkspr.mobi/blog/2024/10/styling-links-based-on-their-destination/

  • Copy link
  • Flag this comment
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.0-rc.3.21 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login