timeline.me
About
timeline.me
is a project let you backup your timeline, such as twitter, weibo, and rss feeds ...- a demo
platform
- python 3.3+
- python 2.7+
features
- sync your timeline
- update status, support twitter, weibo and "your own tweets" (moments)
- this day in history posts (past)
- simple charts about your timeline (chart)
How to
-
install requirments
pip install -r deploy/requirements.txt
-
mysql
-
create database
mysql -u USERNAME -p < deploy/init.sql
-
emoji support
- MySQL server v5.5.3+
- set
CHARSET
toutf8mb4
-
-
modify config files
- rename
config.example.py
toconfig.py
and set your configs - rename
oauth2py.example.json
tooauth2py.json
and set your oauth keys
- rename
-
nginx
- nginx config example is available in
/deploy/timeline.conf
- nginx config example is available in
-
start server
-
command
python timeline.py --port=8888
-
supervisor
- supervisor config example is available in
/deploy/supervisor.conf
- supervisor config example is available in
-
-
sign in
- http://your-domain/signin
- sign in with your twitter/weibo/...
- bind other accounts (your-domain/admin/accounts)
-
sync your timeline
- use cron
- cron example is available in
/deploy/cron
- cron example is available in
- web
- your-domain/admin
- use cron
deploy with docker
-
modify config files
-
modify docker compose file with your db config
-
use docker compose
docker-compose up -d