stardance has been extended another month! the new deadline is october 31 :)

You are browsing as a guest. Sign up (or log in) to start making projects!

1h 24m 52s logged

Hsoj-Tab Devlog

What I built

I wanted a new-tab page that looks like the rest of my site instead of a generic dashboard, so I built Hsoj-Tab: a clock, a search bar, news, shortcuts, and a todo list.

What was challenging

The news card gave me the most trouble.

  • CORS: calling the news API from the browser fails, and the key would be exposed anyway. I moved the call into a SvelteKit +server.ts endpoint that reads the key from a private env var.
  • No images: the list endpoint only returns titles, publishers, and timestamps. To get a thumbnail and some text, the server fetches the details of each story.

Try it!

Visit Hsoj-Tab


That’s all. Cheers!

0
26

Comments 0

No comments yet. Be the first!