Posted June 17, 2025 by nnda
Introducing the thing that nobody asked for: the Pitch CDN – content component delivery network 🎉
Basically its a tiny link that’ll give you the CSS components that you want.
@import url(
'https://pitch.nnda.dev/ accordion, info-list, label'
);
When you add the code above to the custom CSS field, it’ll give you Accordion
, Info List
, and Label
components. Without having to select, and copy-paste them manually from the app.
And talking about profile pages, for now, like 90% of the components are not really compatible with it, but that’ll change with the next update.
This also may force breaking changes for components in the future. Like if a component uses .custom-uwu
class, and in the next update it uses .custom-owo
instead. I’m looking for a way to version the delivered components, so that this wouldn’t be a problem.
@import
is frowned upon in CSS because of this reason. It creates another request to the server, pick which CSS components that are being requested, and then serve it.
Which is slower than having the manually-picked CSS components already sitting in your page.
And if the requests hits the 100.000 limit, no CSS for anybody using the CDN until the requests limit resets the next day :(
For now, only some few select components are available via the CDN:
accordion
callout
image-comparison
info-list
input
label
read-more
table
timeline-list
tooltip
The list is defined in the following lines on the TypeScript source code.
IMPORTANT NOTE!
Please do not type or change the URL directly in the itch.io custom CSS field!!!
Everytime time you type or change the URL directly there, it’ll count as a new URL, which creates a new request! burning up the limits!
Type/change it somewhere else, like in a text editor, and then copy-paste it to the custom CSS field.
Honestly, I just want an excuse to learn and make CF Workers/back-end web project. And this seems like the best time and opportunity to develop one. Use it with caution, as its still in its very early prototype stage, and also made with just like 50 lines of TypeScript.
The next update will be big, like major version bump big. But, I’m afraid it’ll took quite a long, very long time.
As always, thank you for reading, and for all the support, and don’t forget to update your browsers.