CommaFeed logo

CommaFeed

  •  0 ratings
In category: Feed Readers

About CommaFeed

Google Reader inspired self-hosted RSS reader.

  •   443  
  •   0  
  •   0  
  •   0  
Github stats:
  •  Commits: 2,630  
  •   2,000  
  •   332  
  •  Latest commit: Feb 10, 2023  

Deploy this app to Linode with a free $100 credit!

Languages/Platforms/Technologies:
Lincenses:

More about CommaFeed

CommaFeed Build Status

Sources for CommaFeed.com.

Google Reader inspired self-hosted RSS reader, based on Dropwizard and AngularJS. CommaFeed is now considered feature-complete and is in maintenance mode.

Related open-source projects

Android apps: News+ extension

Browser extensions: Chrome - Firefox - Opera - Safari

Deployment on your own server

The very short version (download precompiled package)

mkdir commafeed && cd commafeed
wget https://github.com/Athou/commafeed/releases/download/2.6.0/commafeed.jar
wget https://raw.githubusercontent.com/Athou/commafeed/2.6.0/config.yml.example -O config.yml
vi config.yml
java -Djava.net.preferIPv4Stack=true -jar commafeed.jar server config.yml

The short version (build from sources)

git clone https://github.com/Athou/commafeed.git
cd commafeed
./mvnw clean package
cp config.yml.example config.yml
vi config.yml
java -Djava.net.preferIPv4Stack=true -jar target/commafeed.jar server config.yml

The long version (same as the short version, but more detailed)

CommaFeed 2.0 has been rewritten to use Dropwizard and gulp instead of using tomee and wro4j. The latest version of the 1.x branch is available here.

For storage, you can either use an embedded file-based H2 database or an external MySQL, PostgreSQL or SQLServer database. You also need the Java 1.8+ JDK in order to build the application.

To install the required packages to build CommaFeed on Ubuntu, issue the following commands

# if openjdk-8-jdk is not available on your ubuntu version (14.04 LTS), add the following repo first
sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt-get update

sudo apt-get install g++ build-essential openjdk-8-jdk

# Make sure java8 is the selected java version
sudo update-alternatives --config java
sudo update-alternatives --config javac

Clone this repository. If you don't have git you can download the sources as a zip file from here

git clone https://github.com/Athou/commafeed.git
cd commafeed

Now build the application

./mvnw clean package

Copy config.yml.example to config.yml then edit the file to your liking. Issue the following command to run the app, the server will listen by default on http://localhost:8082. The default user is admin and the default password is admin.

java -Djava.net.preferIPv4Stack=true -jar target/commafeed.jar server config.yml

You can use a proxy http server such as nginx or apache.

Translate CommaFeed into your language

Files for internationalization are located here.

To add a new language, create a new file in that directory. The name of the file should be the two-letters ISO-639-1 language code. The language has to be referenced in the src/main/app/js/i18n.js file to be picked up.

Themes

To create a theme, create a new file src/main/app/sass/themes/_<theme>.scss. Your styles should be wrapped in a #theme-<theme> element and use the SCSS format which is a superset of CSS.

Don't forget to reference your theme in src/main/app/sass/app.scss and in src/main/app/js/controllers.js (look for $scope.themes).

See _test.scss for an example.

Local development

Steps to configuring a development environment for CommaFeed may include, but may not be limited to:

  1. git clone https://github.com/Athou/CommaFeed into some folder to get the project files.
  2. Install Eclipse Luna (or latest) from http://www.eclipse.org/downloads/packages/eclipse-ide-java-developers/lunasr1 or your repo if available.
  3. In Eclipse, Window → Preferences → Maven → Annotation Processing. Check "Automatically configure JDT APT"
    • You may have to install the m2e-apt connector to have "Annotation Processing" as an option. Do so from Window → Preferences → Maven → Discovery → Open Catalog → type "m2e-apt" in the search box
      • If you have installed Eclipse EE instead of Luna, you may have trouble installing m2e-apt
  4. Install Lombok into Eclipse from http://projectlombok.org/download.html
    • You may have to run java -jar lombok.jar as an administrator if your eclipse installation is not in your home folder
  5. In Eclipse, File → Import → Maven → Existing Maven Projects. Navigate to where you cloned the CommaFeed files into, and select that as the root directory. Click Finish.
    • You may notice some errors along the lines of "Plugin execution not covered by lifecycle configuration". These are inconsequential.
  6. Find the file "CommaFeedApplication.java" under the navigation pane.
  7. Right click it to bring up the context menu → Debug as... → Debug Configurations
  8. Type server config.dev.yml under "Program arguments" in the "Arguments" tab for the Java Application setting "CommaFeedApplication"
  9. Apply and hit "Debug"
  10. The debugger is now working. To connect to it, open a terminal (or command prompt) and navigate to the directory where you cloned the CommaFeed files.
  11. Issue the command gulp dev on Unix based systems or gulp.cmd dev in Windows.
  12. The development server is now running at http://localhost:8082 and is proxying REST requests to dropwizard on port 8083.
  13. Connect to the server from your browser; you should have functional breakpoints and watches on assets.
  14. When you're done developing, create a fork at the top of https://github.com/Athou/CommaFeed page and commit your changes to it.
  15. If you'd like to contribute to CommaFeed, create a pull request from your repository to https://github.com/Athou/CommaFeed when your changes are ready. There's a button to do so at the top of https://github.com/Athou/CommaFeed.

Copyright and license

Copyright 2013-2016 CommaFeed.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in compliance with the License. You may obtain a copy of the License in the LICENSE file, or at:

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Comments (0)

Please login to join the discussion on this project.

CommaFeed Reviews (0)

Overall Rating

None

based on 0 ratings

Please login to review this project.

No reviews for this project yet.

↑ back to top

pCloud Lifetime

Popular Projects

FluxBB

in Social Networks and Forums
 33k    0    0    0  

Nextcloud

in File Transfer & Synchronization
 20k    1    1    0  

Libreddit

in Social Networks and Forums
 7k    0    1    0  

Dashboard

in Personal Dashboards
 6k    0    0    0  

Audiobookshelf

in Audio Streaming
 6k    0    1    0  

CasaOS

in Self-hosting Solutions
 5k    0    0    0  

Mediagoblin

in Photo and Video Galleries
 4k    0    0    0  

Most Discussed

Nextcloud

in File Transfer & Synchronization
 20k    1    1    0  

Tube Archivist

in Automation
 3k    0    1    0  

OneDev

in Project Management
 2k    0    0    0  

iodine

in Proxy
 2k    0    0    0  

Alf.io

in Booking and Scheduling
 2k    0    0    0  

sysPass

in Password Managers
 1k    0    0    0  

Misskey

in Social Networks and Forums
 2k    0    0    0  
Linux VPS from $11/yr.
RackNerd VPS for $11.38/mo

Top Rated Projects

Gitea

 1 rating
in Project Management

Bagisto

 1 rating
in E-commerce

LinkAce

 1 rating
in Bookmarks and Link Sharing

Pydio

 1 rating
in File Transfer & Synchronization

Audiobookshelf

 1 rating
in Audio Streaming

Nextcloud

 1 rating
in File Transfer & Synchronization

Seafile

 1 rating
in File Transfer & Synchronization

Categories

You May Also Be Interested In

Kriss Feed logo
Kriss Feed cover

Kriss Feed

Simple and smart (or stupid) feed reader.

JARR logo
JARR cover

JARR

JARR (Just Another RSS Reader) is a web-based news aggregat…

Yarr logo
Yarr cover

Yarr

Yarr (yet another rss reader) is a web-based feed aggregato…