leonghui / xda-feed

Simple script to generate a JSON feed of a forum thread using api.xda-developers.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

xda-feed

Note: XDA API endpoint has been discontinued as of December 1st 2020. Please see: https://www.xda-developers.com/big-changes-to-xda-forums-are-coming-soon/

A simple Python script to generate a JSON Feed for threads on XDA Developers.

Uses the official API and served over Flask!

Use the Docker build to host your own instance.

  1. Set your timezone as an environment variable (see docker docs): TZ=America/Los_Angeles

  2. Access the feed using the URL: http://<host>/?thread_id={id}

  3. Optionally, filter by user names: http://<host>/?thread_id={id}&usernames={user1,user2}

E.g.

Forum thread:
https://forum.xda-developers.com/android/development/wireguard-rom-integration-t3711635

Feed link:
http://<host>/?thread_id=3711635

Filtered feed link:
http://<host>/?thread_id=3711635&usernames=zx2c4

Tested with:

About

Simple script to generate a JSON feed of a forum thread using api.xda-developers.com

License:MIT License


Languages

Language:Python 94.7%Language:Dockerfile 5.3%