Live data from Hacker News

Show HN: Scroll Wikipedia like TikTok

quack.sdan.io

21–30 of 94 posts

Re: Show HN: Scroll Wikipedia like TikTok

#21
post #15

This is really cool. I'm interested in the GenUI part. Is the web app itself static and the stories are generated on-demand? Do you give gemini some UI components/templates to build with or is it just prompting to get consistent results across multiple stories?

Google AI Studio has a Gallery[0] with some similar apps. It's an editor so you can view the code, they are usually react apps with gemini integration via genai package. Like this one here[1] is similar. It generates interesting stories to share about a route you are driving / walking / biking along. This is one of the pre-made examples I believe, I didn't make it or anything. Just to show some how some of this might work.

[0] https://aistudio.google.com/apps?source=showcase&showcaseTag...

[1] https://aistudio.google.com/apps/bundled/echo_paths?showPrev...

Re: Show HN: Scroll Wikipedia like TikTok

#23
wow, my attention span is terrible - the first time i tried watching a generated video, i instinctively held the right side of the screen to speed it up to 2x…

is there scope for allowing users to search for / ask about specific topics? although then you do have to think about security issues with prompt injection

Re: Show HN: Scroll Wikipedia like TikTok

#25

The caption highlight timing is very inaccurate. It looks like it just steps through each word on a fixed timer, rather than using timing information from the TTS engine?

Yes just fixed timer, and using browser TTS nothing fancy here on purpose - when I did some research on tiktok videos generally simpler/worse quality seemed to be better XD

Re: Show HN: Scroll Wikipedia like TikTok

#26
post #22

This is amazing! I think this could actually catch on! Plz give an easy way to follow some tags so it's not showing me football stuff. If it was just topics I was interested in, I could scroll this for hours.

Huge- good to hear will see if I can add a way to type in what you want or to go dig further into just certain hashtags.

Re: Show HN: Scroll Wikipedia like TikTok

#27
post #17

Hi there, creator of Wikitok here! Very happy to hear that my random little project inspired you :) The attention to detail in the UI is good - I'm so over every default AI generated UI being rounded corners, centered divs, blue and purple gradients, etc. Nice work.

Thanks! Half of the work here was getting gemini to generate reasonable canvas animations within the window. I'm still experimenting which "style" I should keep/add

Re: Show HN: Scroll Wikipedia like TikTok

#28
post #15

This is really cool. I'm interested in the GenUI part. Is the web app itself static and the stories are generated on-demand? Do you give gemini some UI components/templates to build with or is it just prompting to get consistent results across multiple stories?

Yes I have base css/js that I inject on top of whatever codegen gemini 3 comes back with -- It runs via ai-sdk so the specific function is streamObject which is prompted to generate inner HTML elements
Post reply on HN