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

Hsoj-Tab

  • 1 Devlogs
  • 1 Total hours

Hsoj’s Personal New Tab Page

Ship #1 Changes requested

Shipping Hsoj-Tab

What I made

Hsoj-Tab is a new-tab page that looks like my personal site. It has a 12-hour clock, a search bar that switches between Google, DuckDuckGo, and Bing, a rotating card of Philippine headlines, shortcuts with auto-fetched favicons, and a todo list. Everything is saved in your browser, so there are no accounts and no database.

What I am proud of

I’m proud of getting the news card working. The API blocked browser requests, so I moved the fetching into a private server endpoint. I also had to deal with a rate limit and with stories that had no images, which I solved with caching and a fallback to older stories. I’m also happy that it feels like part of my site rather than a generic dashboard. It has the same mono font, square borders, and > TITLE_ headers as my personal site.

Try It!

Visit Hsoj-Tab

Try project → See source code →
Open comments for this post

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
0
26

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…