A Beautiful Open Source RSS & Podcast App Powered by Getstream.io
A Beautiful Open Source RSS & Podcast App Powered by Getstream.io
Notice: This repository is no longer maintained; No further Issues or Pull Requests will be considered or approved.
Winds is a beautiful open-source RSS and Podcast app created using React & Redux on the frontend and Express.js on the backend. Use the free hosted version or run it on your own server and customize it as you see fit. Contributions in form of pull requests are always appreciated. Activity Feeds & Discovery in Winds are powered by Stream, the app leverages Algolia for search, AWS for hosting, MongoDB Atlas for a hosted database (DBaaS), and SendGrid for email. All of these services have a free tier.
To get started with Winds, please download the latest release
Have a popular RSS or Podcast and want to be featured? Reach out to [email protected]. We reply to every message.
Winds is packed full of awesome features behind a beautiful user interface and user experience. Here's a quick look at what the project has to offer:
Help us improve Winds and/or vote on the Roadmap for 2.1
The full stack can be found on StackShare.io.
Stream is an API for building activity feeds. For Winds the follow suggestions and the list of articles from the feeds you follow is powered by Stream. Stream accounts are free for up to 3 million feed updates and handle personalization (machine learning) for up to 100 users.
Algolia is used for lightning fast and relevant search. We use their JavaScript search client to easily setup the Winds search implementation. Algolia, accounts are free up to 10k records and 100k operations.
MongoDB Atlas provides a Database as a Service, and serves as the backend datastore for Winds.
The following tutorials will not only help you start contributing to Winds, but also provide inspiration for your next app.
Note: We're actively working on this portion of the README. To stay up to date with the latest information, please signup for the hosted version at https://getstream.io/winds.
To download Winds, visit https://getstream.io/winds/.
Commands:
brew install redis mongodbbrew services start mongodbbrew services start rediscd Windscd api && yarncd ../app && yarnSign up for both Stream and Algolia, and create the following .env file in the app directory, replacing the keys where indicated:
…Note: If you are running the test suite, you will need to have a test version of the
.envfile inside of theapi/testdirectory.
Then run:
pm2 start process_dev.jsoncd app && yarn startgit clone [email protected]:GetStream/Winds.gitThe following instructions are geared towards Mac users who can use brew (Homebrew) to install most dependencies. Ubuntu users can use apt, and Windows users will have to install directly from the dependency's site. Non-debian-based Linux users will probably be able to figure it out on their own :)
cd Winds/appyarncd ../apiyarnWinds uses MongoDB as the main datastore - it contains all users, rss feeds, podcasts, episodes, articles, and shares.
If you're on a Mac, you can install MongoDB through Homebrew by running:
brew install mongodb(You can also install MongoDB from the official MongoDB site.)
You can also run MongoDB in the background by running:
brew services start mongodbAt Stream, we use Redis as an in-memory storage for the Winds podcast processing and RSS processing workers. It contains a list of podcasts and RSS feeds, which the workers pick up and process using the bull messaging system.
If you're on a Mac, you can install Redis through Homebrew by running:
brew install redis(You can also install Redis from the official Redis site.)
Then, start Redis by running:
redis-server...which creates (by default) a dump.rdb file in your current directory and stores a cached version of the database in that location.
You can also run Redis in the background by running:
brew services start redisFor testing purposes, you will want to use the test data located here.
Use mongoimport or mongorestore to import the data. There are two username and password combinations for testing:
Username: [email protected]
Password: admin
Username: [email protected]
Password: test
You will need to run the FLUSHALL command in Redis to ensure that the new content is picked up.
Note: This will override any local data that you may have. Please be cautious! Also, this will not create Stream follows – please follow feeds manually to generate them.
To contribute to Winds, sign up for Stream to utilize the activity and timeline feeds.
(Reminder: Stream is free for applications with less than 3,000,000 updates per month.)
.envAppend the Stream App ID, API Key, and API secret to your .env file:
STREAM_APP_ID=YOUR_STREAM_APP_ID
STREAM_API_KEY=YOUR_STREAM_API_KEY
STREAM_API_SECRET=YOUR_STREAM_API_SECRETOnce you've signed in, create "feed groups" for your Stream app.
A "feed group" defines a certain type of feed within your application. Use the "Add Feed Group" button to create the following feeds:
| Feed Group Name | Feed Group Type |
|---|---|
podcast |
flat |
rss |
flat |
user |
flat |
timeline |
flat |
folder |
flat |
user_episode |
flat |
user_article |
flat |
It's fine to enable "Realtime Notifications" for each of these feed groups, though we won't be using those yet.
In addition to Stream, you also need to sign up for Algolia, to contribute to Winds, for the search functionality.
(Algolia is free for applications with up to 10k records.)
my-winds-app)winds-main-index).env FileFrom your app, click the "API Keys" button on the left to find your app ID and API keys.
Append your Algolia application ID, search-only API Key and Admin API Key to your .env file to look like this:
REACT_APP_ALGOLIA_APP_ID=YOUR_ALGOLIA_APP_ID
REACT_APP_ALGOLIA_SEARCH_KEY=YOUR_ALGOLIA_SEARCH_ONLY_API_KEY
ALGOLIA_WRITE_KEY=YOUR_ALGOLIA_ADMIN_API_KEYFrom the root directory, run:
pm2 start process_dev.jsonTo see logging information for all processes, run:
pm2 logscd app && yarn startWinds API server uses:
No open issues yet, or sync has not completed.