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.

Files for twitter-sync, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size twitter_sync-0.1.0-py3-none-any.whl (5.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size twitter-sync-0.1.0.tar.gz (4.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page