Skip to main content

Search

Items tagged with: SmallTech


TL; DR: This is all the code you need in Kitten¹ to make a *persisted* counter that streams interface updates to the browser. (Put it into a file called index.page.js in a folder all by itself and run `kitten`.)

Add the following two lines inside the `<main>` tag, if you also want it to look good:

```html
<page css>
<style inline>@scope { div { font-size: 3em; } }</style>
```

¹ kitten.small-web.org

#Kitten #SmallWeb #SmallTech #web #dev #HTML #CSS #JavaScript


So I’m updating the Kitten documentation, tutorials, videos, etc., in preparation for the major (breaking change) release I’ve been working on for the past few months and, as part of that, I had to set up my streaming/recording setup again as the layout of my room changed and I recorded an updated Kitten Counter video yesterday in which I made every mistake I could in 12 minutes (so I’ll be recording it again). But here it is a a preview (and also to show that no, none of us gets it right the first time. Any polished video you see is the result of meticulous planning and multiple iterations) :)

(This video doesn’t show the new stateful components. I will be recording new videos about that.)

vimeo.com/1212264139

#Kitten #SmallWeb #SmallTech #web #dev #HTML #CSS #JavaScript


THERE IS AN ANSWER! #Invidious

THE ANSWER is using #Invidious filtered links in your posts. (Add the YouTube link as 2nd link / backup) - e.g.

1/ redirect.invidious.io/watch?v=…

2/ youtube.com/watch?v=yHoLopZSYJ… (original

#SmallTech and the #SmallWeb.
#AralBlakan

-----------------------------

1/ Invidious loads AND #filters out the #bad from the page

2/ youtube.com google has all the #tracking and #harvesting - so it's good to filter it out with invidious links first / main method of defence.