Hnreader

screenshot of Hnreader
svelte
vite
tailwind
daisyui
firebase

HackerNews API reader implemented with SvelteKit & DaisyUI

Overview

The Hacker News Reader App offers an intuitive and streamlined experience for users who want to stay updated with the latest news and discussions from the Hacker News platform. Designed with a focus on usability, this app enhances the traditional Hacker News interface, making it easier for users to navigate and engage with content. Whether you are a long-time Hacker News fan or a newcomer, this app presents a fresh take on browsing news articles and community discussions.

The app is built on the SvelteKit framework, ensuring a smooth and responsive experience on all devices. It caters to both casual browsers and power users with features designed to enhance reading and user interaction.

Features

  • Grid View: The app utilizes a grid layout that optimizes the viewing of content on larger screens, enabling users to see more at a glance.
  • Infinite Scroll: Users can seamlessly scroll through feeds without interruptions, allowing for continuous browsing without the need for pagination.
  • New Tab Links: Links within posts open in new tabs, enhancing the browsing experience by allowing users to keep track of multiple articles and discussions.
  • Dark & Light Theme: Toggle between dark and light themes based on your preference, ensuring comfort during long reading sessions.
  • Mobile-Friendly Hit Box: Designed for easy clicking on mobile devices, the hit box makes interaction smoother for users on the go.
  • Top Comments View: Displays the top 50 root comments by default, with the option to expand and view individual comments for deeper discussion.
  • Keyboard Shortcuts: Enhance navigation with keyboard shortcuts, such as Ctrl/CMD+K for search and Shift+(first letter of feed) to jump to specific feeds quickly.
  • Progressive Web App (PWA): The app is installable as a PWA, meaning it can be used offline and provides a native app-like experience on mobile devices.
svelte
Svelte

Svelte is a modern front-end framework that compiles your code at build time, resulting in smaller and faster applications. It uses a reactive approach to update the DOM, allowing for high performance and a smoother user experience.

vite
Vite

Vite is a build tool that aims to provide a faster and leaner development experience for modern web projects

tailwind
Tailwind

Tailwind CSS is a utility-first CSS framework that provides pre-defined classes for building responsive and customizable user interfaces.

daisyui
daisyUI

daisyUI adds classes to Tailwind CSS for all common UI components. Classes like btn, card, etc. This allows us to focus on important things instead of making basic elements for every project.

firebase
Firebase

Firebase offers a comprehensive set of features, including real-time database, authentication, hosting, cloud functions, storage, and more. Firebase provides an easy-to-use interface and allows developers to focus on building features rather than managing infrastructure.

algolia
Algolia

Algolia is a search engine API that enables developers to integrate lightning-fast search functionality into their websites and applications. It features extensive documentation, powerful query options, and a user-friendly dashboard for managing and monitoring search performance.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.