BiteNews is a modern web application that transforms the Hacker News RSS feed into a clean, user-friendly interface. Built with Cloudflare Workers, it provides real-time access to top stories from Hacker News with enhanced readability and features.
- Real-time RSS feed parsing
- Clean, modern UI for better readability
- XML to JSON conversion
- Responsive design for all devices
- Fast performance with Cloudflare Workers
- CORS enabled for wide compatibility
- Search and filter capabilities
- Cloudflare Workers for serverless deployment
- Node.js (v16+)
- Axios for HTTP requests
- XML2JS for RSS parsing
- Modern HTML/CSS for frontend
- Node.js (v16+)
- Cloudflare Wrangler CLI
- Cloudflare Account with Workers enabled
-
Clone the repository:
git clone https://github.com/Zer0xPoint/BiteNews.git cd BiteNews -
Install dependencies:
npm install
-
Configure environment variables:
- Copy
.env.exampleto.env - Update the variables with your Cloudflare credentials
- Copy
Start local development server:
npm run devThe application will be available at http://localhost:8787
Deploy to Cloudflare Workers:
npm run deployGET /: Serves the main web interfaceGET /api/feed: Returns the parsed Hacker News feed in JSON format
- Comprehensive error handling for network issues
- Fallback content for failed requests
- Detailed error messages in development mode
- 500 status codes with error details for API errors
Contributions are welcome! Please feel free to submit a Pull Request.
This project is open source and available under the MIT License.