hacknio is a lightweight Hacker News client created with React and Next.js, designed to deliver a fast and responsive user experience. You can navigate between pages using the arrow keys for added convenience!
Tech Stack
- Frontend: React, Next.js, Tailwind CSS
- API: Hacker News API
Getting Started
To run the project locally, follow these steps:
-
Clone the repository:
git clone https://github.com/ni5arga/hacknio.git cd hacknio -
Install dependencies:
-
Run the development server:
-
Open your browser and navigate to:
Use with Docker
To run hacknio using Docker:
-
Build and start the container: First, cd into the top directory of the
hackniorepo.Then do...
docker compose up -d --build
-
Access the application: Open your browser and navigate to
http://localhost:3000 -
Stop the container:
Note: The default port is 3000. To use a different port, set the HOST_PORT environment variable before running docker compose or include the environment variable in an adjacent .env file.
Contributing
Contributions are welcome! If you have suggestions or issues, please create an issue in the GitHub repository.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments
- Hacker News API for providing the data.


