{"repo":"statico/ycombinator1.com","free":true,"listed":false,"github":"https://github.com/statico/ycombinator1.com","clone":"git clone https://github.com/statico/ycombinator1.com.git","description":"🟧 Lets you add a character to Hacker News links to add social media and OpenGraph previews for sharing on things like Slack or Twitter.","language":"TypeScript","stars":43,"topics":["opengraph","vercel","nextjs","hackernews","hackernews-api"],"license":"Unlicense","category":"saas-starters-boilerplates","readme_excerpt":"news.ycombinator1.com This site is not affiliated with YCombinator or Hacker News. This service lets you add a single character to Hacker News links to add social media and OpenGraph previews for sharing on things like Slack or Discord or Twitter or Teams. Read more about it in the Hacker News announcement here. Slack App Install the Slack application to automatically get previews (unfurls) for news.ycombinator.com links. It looks like this: Discord / Twitter / Manual Usage Simply add a 1 to your Hacker News link, such as https://news.ycombinator1.com/item?id=30167605 , and you'll see a rich preview instead of a plain URL. On Slack you'll see: ...or for a comment: On Discord you'll see: On Twitter you'll see: Powered by Fastify and the Hacker News API. Source on GitHub Development Prerequisites - Node.js 20.x or higher - pnpm Setup 1. Install dependencies: 2. Copy .env.example to .env and configure environment variables (optional, only needed for Slack app functionality) 3. Run the development server: 4. Build for production: 5. Start production server: The server will start on http://localhost:3000 by default (or the port specified in the PORT environment variable).","default_branch":null,"files":null,"tree":[],"storefront":"/r/statico","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/statico/ycombinator1.com/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}