back to home

Athou / commafeed

Google Reader inspired self-hosted personal RSS reader.

View on GitHub
3,479 stars
400 forks
45 issues

AI Architecture Analysis

This repository is indexed by RepoMind. By analyzing Athou/commafeed in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.

Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.

Source files are only loaded when you start an analysis to optimize performance.

Embed this Badge

Showcase RepoMind's analysis directly in your repository's README.

[![Analyzed by RepoMind](https://img.shields.io/badge/Analyzed%20by-RepoMind-4F46E5?style=for-the-badge)](https://repomind.in/repo/Athou/commafeed)
Preview:Analyzed by RepoMind

Repository Overview (README excerpt)

Crawler view

CommaFeed Google Reader inspired self-hosted RSS reader, based on Quarkus and React/TypeScript. Features • 4 different layouts • Light/Dark theme • Fully responsive, works great on both mobile and desktop • Keyboard shortcuts for almost everything • Support for right-to-left feeds • Translated in 25+ languages • Supports thousands of users and millions of feeds • OPML import/export • REST API • Fever-compatible API for native mobile apps • Can automatically mark articles as read based on user-defined rules • Push notifications when new articles are published • Highly customizable with custom CSS and JavaScript • Browser extension • Compiles to native code for blazing fast startup and low memory usage • Supports 4 databases • H2 (embedded database) • PostgreSQL • MySQL • MariaDB Usage Public instance A free public instance is available at https://www.commafeed.com. It has no ads, no tracking, and your data is never exploited or sold to third parties. The service is funded entirely through donations. However, this public instance does have a few limitations compared to self-hosted setups, outlined here. Docker Docker is the easiest way to get started with self-hosted CommaFeed. Docker images are built automatically and are available at https://hub.docker.com/r/athou/commafeed Cloud hosting PikaPods offers 1-click cloud hosting solutions starting at $1/month with a free $5 welcome credit and officially supports CommaFeed. PikaPods shares 20% of the revenue back to CommaFeed. Download a precompiled package Go to the release page and download the latest version for your operating system and database of choice. There are two types of packages: • The , and packages are compiled natively and contain an executable that can be run directly. • The package is a zip file containing all files required to run the application. This package works on all platforms but requires a JRE and is started with . If available for your operating system, the native package is recommended because it has a faster startup time and lower memory usage. Build from sources ./mvnw clean package [-P [-Pnative]] [-DskipTests] • can be one of , , or . The default is . • compiles the application to native code. This requires GraalVM to be installed ( environment variable pointing to a GraalVM installation). • to speed up the build process by skipping tests. When the build is complete: • a zip containing all jars required to run the application is located at . Extract it and run the application with • if you used the native profile, the executable is located at Distribution packages • Arch Linux users can use the CommaFeed package on AUR, which builds native binaries with GraalVM for all supported databases. Configuration CommaFeed doesn't require any configuration to run with its embedded database (H2). The database file will be stored in the directory of the current directory. To use a different database, you will need to configure the following properties: • - e.g. for H2: • e.g. for PostgreSQL: • e.g. for MySQL: • e.g. for MariaDB: • • There are multiple ways to configure CommaFeed: • a properties file relative to the working directory (keys in kebab-case) • Command line arguments each prefixed with (keys in kebab-case) • Environment variables (keys in UPPER_CASE) • a file in the working directory (keys in UPPER_CASE) When in doubt, the properties file is recommended because CommaFeed will be able to warn about invalid properties and typos. All CommaFeed settings are optional and have sensible default values. When logging in, credentials are stored in an encrypted cookie. The encryption key is randomly generated at startup, meaning that you will have to log back in after each restart of the application. To prevent this, you can set the property to a fixed value (min. 16 characters). All other Quarkus settings can be found here. When started, the server will listen on http://localhost:8082. Updates When CommaFeed is up and running, you can subscribe to this feed to be notified of new releases. Memory management The Java Virtual Machine (JVM) is rather greedy by default and will not release unused memory to the operating system. This is because acquiring memory from the operating system is a relatively expensive operation. This can be problematic on systems with limited memory. Hard limit ( and packages) The JVM can be configured to use a maximum amount of memory with the parameter. For example, to limit the JVM to 256MB of memory, use . Dynamic sizing ( package) In addition to the previous setting, the JVM can be configured to release unused memory to the operating system with the following parameters: -Xms20m -XX:+UseG1GC -XX:+UseStringDeduplication -XX:-ShrinkHeapInSteps -XX:G1PeriodicGCInterval=10000 -XX:-G1PeriodicGCInvokesConcurrent -XX:MinHeapFreeRatio=5 -XX:MaxHeapFreeRatio=10 See here and here for more information. OpenJ9 ( package) The OpenJ9 JVM is a more memory-efficient alternative to the HotSpot JVM, at the cost of slightly slower throughput. IBM provides precompiled binaries for OpenJ9 named Semeru. This is the JVM used in the Docker image. Translation Files for internationalization are located here. To add a new language: • add the new locale to the array in: • - • run • add translations to the newly created file The name of the locale should be the two-letters ISO-639-1 language code. Local development Backend • Open in your preferred Java IDE. • CommaFeed uses Lombok, you need the Lombok plugin for your IDE. • run Frontend • Open in your preferred JavaScript IDE. • run • run The frontend server is now running at http://localhost:8082 and is proxying REST requests to the backend running on port 8083