Skip to main content

Python command-line script to download (or sync) and create markdown copy of tweets (for static sites) using Twitter API and Nitter.

Project description

TwitterStatic aka twitter-sync

Python command-line script to automatically download and create markdown copy of all or subset of tweets (and keep in sync going forward). Ideal for making a replicate on a static site. Uses combination of Twitter's own API and Nitter.net to iterate through and parse clean body of messages.

Available as a direct install, e.g. pip install twitter-sync

Dependency on Twitter library - if not doing a full package installation above, make sure to install the dependency https://github.com/bear/python-twitter via "pip install python-twitter".

Once installed, use sample from https://github.com/ILAsoft/TwitterStatic/blob/master/TwitterSyncSettings.sample to create TwitterSyncSettings.ini one folder above your site's folder and then run "TwitterSync.py" from the website's folder itself. Feel free to add appropriate styles to your website if you want to adjust the look and feel of the "tweets".

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

twitter-sync-0.1.0.tar.gz (4.2 kB view hashes)

Uploaded Source

Built Distribution

twitter_sync-0.1.0-py3-none-any.whl (5.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page