News and weather dashboard for your day. Open source alternative to Google News. https://netsyms.com/apps/todaystream/
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
 
 
 
Skylar Ittner 737e26b279 Show news without images 1 рік тому
api Enforce app passwords in API for users with two-factor enabled 5 роки тому
cache Set cache-control on thumbnails 5 роки тому
langs Add JavaScript geolocation for weather (close #3) 5 роки тому
lib Show news without images 1 рік тому
mobile Add more permissions checks 5 роки тому
nbproject Add basic news reader functionality 5 роки тому
pages Add JavaScript geolocation for weather (close #3) 5 роки тому
static Add JavaScript geolocation for weather (close #3) 5 роки тому
tests Rewrite to use classes, aligning with AccountHub 2.0 6 роки тому
.gitignore Add IP geolocation for weather, fix icon alignment 5 роки тому
.gitmodules Add weather card to overview/home page 5 роки тому
LICENSE.md Update license and readme 5 роки тому
README.md Readme 5 роки тому
action.php Add weather card to overview/home page 5 роки тому
api.php Add comment 5 роки тому
app.php Make settings.php an array, not a bunch of defines 5 роки тому
composer.json Add IP geolocation for weather, fix icon alignment 5 роки тому
composer.lock Add IP geolocation for weather, fix icon alignment 5 роки тому
cron.php Add cron script to prune thumbnail cache (close #2) 5 роки тому
database.mwb Add SHA1 hashed thumbnail URLs when the base64 filename is too long 5 роки тому
database.sql Add database.sql 5 роки тому
index.php Nicer access denied message 5 роки тому
pages.php Add JavaScript geolocation for weather (close #3) 5 роки тому
required.php Whoops 5 роки тому
settings.template.php Add OpenWeatherMap provider 1 рік тому

README.md

TodayStream

TodayStream is a news/headlines reader and weather app. It is designed in a modular fashion, to make adding data sources easy.

TodayStream ships with support for NewsAPI.org, Reddit, and DarkSky APIs. With the exception of Reddit, you'll need to obtain and set API keys in settings.php for TodayStream to be useful.

It currently determines the user's location for weather information based on IP address. You'll need to download the (free) MaxMind city-level geoIP database and keep it up-to-date. Other methods of obtaining location, such as with JavaScript APIs and user-configurable settings, are coming soon.

This application does not and will not store user location on the server.

API responses are cached in the database for a reasonable amount of time, to decrease latency and reduce (or eliminate) API costs. News item thumbnails are resized and stored in cache/thumb.

Setup Tips

  • Run composer install (or composer.phar install) to install dependency libraries
  • If you don't have any color in the navbar, run git submodule init and git submodule update.

Required attribution: This product includes GeoLite2 data created by MaxMind, available from http://www.maxmind.com