1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-09-19 20:02:10 +00:00
Commit graph

45 commits

Author SHA1 Message Date
Rohan Kumar
0642e75966
More .well-known stuff 2022-09-25 13:51:35 -07:00
Rohan Kumar
5b6e9ae7e5
Add security.txt 2022-09-25 13:44:34 -07:00
Rohan Kumar
a4812c72c9
Add ssh-auditor and other details to "Uses" page 2022-09-11 22:00:57 -07:00
Rohan Kumar
5c9ddaaa59
Add app-ads.txt adtech opt-out 2022-09-05 21:46:30 -07:00
Rohan Kumar
b180132d50
Make SVG icon even more compatible
Make the SVG icon conform to the usvg spec, which is even more
restricted than the SVG Tiny Portable/Secure spec. It now works well in
NetSurf's "libsvgtiny" without weird glitches.
2022-08-22 21:12:52 -07:00
Rohan Kumar
ec04df8f2c
Add BIMI icon 2022-08-12 17:09:12 -07:00
Rohan Kumar
c648324fe6
remove redundant robots.txt entry 2022-07-24 11:32:16 -07:00
Rohan Kumar
5c5f134c95
slightly re-org robots.txt 2022-07-13 18:12:47 -07:00
Rohan Kumar
3ce86a6750
Sitewide advertising industry opt-out
See https://iabtechlab.com/wp-content/uploads/2022/04/Ads.txt-1.1.pdf
and https://grapheneos.org/articles/sitewide-advertising-industry-opt-out
2022-06-28 08:59:07 -07:00
Rohan Kumar
54acd64ccb
Back to SVG icon
I fixed the sizing issue with a viewbox attribute.
2022-06-20 22:57:09 -07:00
Rohan Kumar
6e3273e602
remove precompressed pubkeys 2022-06-13 08:32:51 -07:00
Rohan Kumar
5c7f2f17ea
Remove precompressed robots.txt 2022-06-13 08:25:44 -07:00
Rohan Kumar
95a1685567
Kang VLC's robots.txt commentary 2022-06-12 21:52:28 -07:00
Rohan Kumar
31e80769a0
Add apioforum, apionet 2022-06-07 11:04:18 -07:00
Rohan Kumar
665efa85e6
Better profile info
- Re-org home+about profile info
- Moar webfinger
- Moar microformats
2022-06-06 15:59:20 -07:00
Rohan Kumar
c0fda29782
Indentation 2022-06-06 12:35:46 -07:00
Rohan Kumar
5b111aee3d
More webfinger content
Add a few more accounts to the webfinger JSON.
Finger Seirdy in exciting new ways.
2022-06-06 12:27:12 -07:00
Rohan Kumar
1782aeeda6
Remove apple-touch-icon, add webfinger 2022-06-06 08:49:11 -07:00
Rohan Kumar
b60156fb08
Serve a 88x31 sticker 2022-05-25 15:39:38 -07:00
Rohan Kumar
e03b892166
Add mirrors.txt
See specification: https://dark.fail/spec/omg.txt
2022-05-23 18:21:35 -07:00
Rohan Kumar
89c4625c16
Revert "Fix gif banner"
This reverts commit b710e7432f.
2022-05-16 09:12:01 -07:00
Rohan Kumar
b710e7432f
Fix gif banner 2022-05-16 08:53:11 -07:00
Rohan Kumar
ddf10da36b
Add stickers 2022-05-16 08:54:50 -07:00
Rohan Kumar
de526ce75c
Explicitly give SVG a black background
Some agents pick their own favorite color for the background if unset.
2022-04-25 08:52:10 -07:00
Rohan Kumar
3300d14f99
robots: disallow some toxic bs 2022-04-22 21:45:15 -07:00
Rohan Kumar
73f19ee10f
Re-add fake favicon.ico
Useful for stuff like the RSS feed.
2021-06-29 23:51:56 -07:00
Rohan Kumar
f61bbfe3d2
Update assets with precompressed versions
No need to re-compress the same file every CI job.
2021-06-13 17:25:59 -07:00
Rohan Kumar
e03a35da82
Update robots.txt 2021-06-11 15:09:43 -07:00
Rohan Kumar
be77c33081
Some more minification
- Use ect to shrink PNGs
- Use some CSS shorthands I didn't know about before.
2021-06-05 15:28:55 -07:00
Rohan Kumar
aa5c16bdf3
Update robots.txt 2021-01-23 12:47:50 -08:00
Rohan Kumar
59b12ee290
More agressive zopflipng
Use 800-10000 iterations for zopflipng instead of just 16 to save a few
precious bytes.

This is probably a waste of time.
2021-01-17 14:09:40 -08:00
Rohan Kumar
a900b814b7
Indieweb: add PGP key to h-entry 2020-12-29 10:05:07 -08:00
Rohan Kumar
b9e4be50f5
Metadata: description + cache-bust manifest icons
- Add a cache-busting fingerprint to all the icons in the webmanifest
- Add a <meta> and open graph tag for a description.
- Include a 512px icon in the manifest
2020-12-19 17:50:55 -08:00
rohan kumar
59bc793152
Asset organization
- Use the recommended resolution for the open graph image
- Since the mask-icon is onl served as a cache-busted asset and never
  served as a plain link from the site root, move it to assets/
- Cache-bust the webmanifest and put it in assets/
2020-12-16 13:19:32 -08:00
rohan kumar
638cb80ed3
Fix robots.txt 2020-12-15 23:14:09 -08:00
rohan kumar
b9a307a8c1
Icons: add the final icon: maskable icon
I just found out that lots of Android devices will letterbox icons; the
latest version of Lighthouse will preview an icon in the safe clipping
range, and that range was way too small for my existing icons. I made a
new version that was mask-safe with the white foreground shrunk down a
bit so it would fit. See [0].

[0]: https://web.dev/maskable-icon-audit/

For consistency, I renamed the Apple mask icon as well.

Why are there so many extensions to the HTML standard for icons? This is
getting ridiculous.

It's time for a rant about icon standards. Let's recap! what icons do I
have so far?

- A 192px apple-touch-icon. Apple icons are supposed to be 180px, but
  192px gets re-sized down just fine. This used to be apple-specific but
  then Android and others started using it. I picked 192px instead of the
  standard 180px because we need...(next bullet)
- A 192px icon for Android devices. Rather than having a separate icon
  for this, I just re-used the existing Apple icon in case the user's
  browser wants both so it can just cache and re-use it.
- The original 32px favicon.png. I picked PNG instead of ICO because an
  ICO containing the optimized PNG was a whopping 2kb while the png was
  176 bytes. It looks fine when scaled down to 16px with a variety of
  automatic downscaling algos, so there was no need to include an extra
  16px version.
- A mask-icon. I was hesitant to implement this since it seemed very
  vendor-specific (desktop Safari only), but it somehow became an
  accepted registered extension to the spec [1] so I figured that it was
  only a matter of time before a bunch of other things started using it.
- A webmanifest file to describe even more icons. It re-defines the
  aforementioned 192px icons. I chose to re-use the icon for the same
  reason as before. It also describes the next two bullets:
- favicon.svg: used in the manifest in case the device wants something
  bigger than 192px.
- A maskable icon (svg), completely unrelated to the aforementioned
  mask-icon, with the focus of the image shrunk down to handle cropping
  e.g. on some Android devices.

[1]: https://html.spec.whatwg.org/multipage/semantics.html#attr-link-sizes

What I SHOULD have, in an imaginary world where web standards make sense:

- A 32x32 raster icon. Probably PNG, but lossless-webp migth work
  too.
- A 16x16 raster icon, only if the 32x32 version doesn't downscale
  well.
- An svg icon for any other resolution.

What I don't, and probably never will have:

- A msapplication icon for IE 10 on Windows 8.0, for adding sites to the
  Windows 8 Start Screen.
- A browserconfig.xml in my site's root directory for adding sites to
  the Windows 8.1+ Start Screen/Menu with custom icons.

Since MS dumped IE and switched to Edge, documentation for the above was
never updated. I don't run proprietary operating systems, so I can't
test adding a website to the tiled Start Menu or Windows Task Bar.

Now that MS re-wrote Edge as a Chromium-based browser, I really have no
idea how it handles icons; I'd imagine it just does what Chrome does,
but it probably does some odd witchcraft to support adding sites to
Start or the taskbar. Docs don't seem to exist. Until they update the
docs, I'll assume that adding MS icons would mean supporting a
non-standard IE-specific feature.

Due to its simplicity, my site should render fine in browsers going as
far back as IE5; it even works in KHTML. But there are some lines I
won't cross: it'll probably *render* on IE5 but it won't *load* since
https://seirdy.one is TLS 1.2/1.3 only. And it won't support special
proprietary non-standard extensions.

WTF we're almost at 80 lines. I should've just written a blog post.
2020-12-15 14:34:32 -08:00
rohan kumar
19520825bb
Icons 2: electric boogaloo
- More sizes
- webmanifest file for even more versions
- symlink icons instead of copying them; fewer binaries in the repo.
2020-12-14 22:11:33 -08:00
rohan kumar
b9d22a1510
Update and cache-bust icons
- The old icon was too off-center; improve it.
- Add a mask icon
- Replace deprecated apple-touch-icon-precomposed.png with
  non-precomposed icon.
- Cache-bust all icons
2020-12-12 20:59:32 -08:00
rohan kumar
6cbe6cc5b1
Add apple-touch-icon-precomposed for phones
Android, iOS, and other browsers use the pseudo-standard
"apple-touch-icon-precomposed.png"; android recommends 192x192px and iOS
downscales to 180x180px.
2020-12-12 02:41:18 -08:00
rohan kumar
d9ca7136e1
New favicon
It's just a white ":;" in Iosevka's wide variant over a black
background. Down to just 197 bytes.
2020-12-11 12:00:31 -08:00
rohan kumar
243238be28
Fix robots.txt 2020-11-30 13:06:44 -08:00
rohan kumar
349ba15f38
Add robots.txt 2020-11-29 11:37:33 -08:00
rohan kumar
3474c2d5f4
Better and smaller favicon
830 bytes ought to be enough for anyone.
- Better cropping
- Half the size
2020-11-25 16:38:35 -08:00
rohan kumar
1a9b5f4dd4
Smaller favicon
Previous favicon was 7.5kb; this one is under 2kb. That should cut down
the size of most pages by half.
2020-11-20 20:23:18 -08:00
Rohan Kumar
d364a8fb9f
Batman!! (this commit has no parents)
The sight of an animal using a JavaScript captivates Computer Scientists
and laymen alike, perhaps because it forces us to question some of our
ideas about human uniqueness.

Does the animal know how JavaScript works? Did it anticipate the need
for the tool and select it instead of Haskell or Zig?

To some, this fascination with JavaScript seems arbitrary and
anthropocentric; after all, animals engage in many other complex
activities, like Agile Planning and ordering Juice on the Internet.
However, we know that complex behaviour need not be cognitively
demanding.

JavaScript development can therefore provide a powerful window into the
minds of animals, and help us to learn what capacities we share with
them — and what might have changed to allow for the incontrovertibly
unique levels of technology shown by modern humans, such as integers and
block scope.
2020-11-03 15:52:34 -08:00