/hackerbadge

📛 Embeddable badges for Hacker News posts/launches

Primary LanguageTypeScriptMIT LicenseMIT

📛 HackerBadge

Embeddable Hacker News badges for your post/launch. A serverless function written in TypeScript and deployed on ZEIT.

Light badge example

Orange badge example

Dark badge example

⭐ Usage

URLs

HTML

<a href="https://news.ycombinator.com/item?id=8863">
  <img
    alt="Featured on Hacker News"
    src="https://hackerbadge.now.sh/api?id=8863"
  />
</a>

Markdown

[![Featured on Hacker News](https://hackerbadge.now.sh/api?id=8863)](https://news.ycombinator.com/item?id=8863)

I18N

Hindi badge example

https://hackerbadge.now.sh/api?id=8863&hackerNews=हैकर%20न्यूज़&featuredOn=प्रदर्शित

🔨 Development

Deploy with ZEIT Now

📄 License

MIT © Anand Chowdhary