Skip to content

Updater service for the Warm feed app. Replaces the original backend written in PHP

Notifications You must be signed in to change notification settings

Radiokot/wfeed-updater

Repository files navigation

Warm Feed updater

Updates Warm Feed database from VK and Tumblr sources for known authors.

Update sites

VK

Posts source is the user's newsfeed (the user is defined by VK_ACCESS_TOKEN). Also updates author photos and names. Get access token

Tumblr

Posts source is the user's dashboard (the user is defined by TUMBLR_ACCESS_TOKEN). Does not update author photos and names.

Build

./gradlew shadowJar

Run

TUMBLR_CONSUMER_KEY=*** \
TUMBLR_CONSUMER_SECRET=*** \
TUMBLR_ACCESS_TOKEN=*** \
TUMBLR_ACCESS_SECRET=*** \
VK_ACCESS_TOKEN=*** \
DB_HOST=localhost \
DB_PORT=3306 \
DB_NAME=feed \
DB_USER=*** \
DB_PASSWORD=*** \
java -Dlog4j.configuration=file:build/libs/logging.properties -jar build/libs/updater.jar

Test

docker-compose -f test-db-compose.yaml up -d

About

Updater service for the Warm feed app. Replaces the original backend written in PHP

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published