Skip to content

ibodev1/hackernews

Repository files navigation

HackerNews API

Hacker News verilerini Hono ve Cloudflare Workers ile sunan type-safe API.

Official API: github.com/HackerNews/API

API: hackernews.ibrahimo.dev

Development

pnpm install
pnpm dev

API Using

GET /?page=1&limit=30

Example URL: https://hackernews.ibrahimo.dev/?page=1&limit=30

Query Default
page 1
limit 30

Get Stories By Type

GET /{{storyType}}
Story Types
topstories
newstories
beststories
askstories
showstories
jobstories

Example URL: https://hackernews.ibrahimo.dev/newstories

Get Item

GET /item/{{itemId}}

Example URL: https://hackernews.ibrahimo.dev/item/37719016

Get User

GET /user/{{userName}}

Example URL: https://hackernews.ibrahimo.dev/user/ibodev

Get User Submitted

GET /user/{{userName}}/submitted?page=1&limit=30

Example URL: https://hackernews.ibrahimo.dev/user/ibodev/submitted?page=1&limit=30

Health Check

GET /health

About

A type-safe Hacker News API built with Hono, Cloudflare Workers, TypeScript, and Zod.

Topics

Resources

Stars

18 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors