Skip to main content

Take control of your tweets

Project description

What is it?

It’ a tool that makes sure your TL won’t be gone for ever if for some reason twitter decides to no longer play nice.

In a way, it also makes it possible to:

  • edit your tweets

  • have them longer than 140 characters

Show me!

Here’s an example of static_tl in action:

http://dmerej.info/tweets

How to use it ?

  • Install Python3 and then install static_tl with pip

  • Create an app on http://apps.twitter.com

  • Edit ~/.config/static_tl.cfg to have something like:

    [static_tl]
    user = <user>
    api_key = <Consumer Key>
    api_secret = <Consumer Secret>
    token = <Access Token>
    token_secret = <Access Token Secret>
  • Then run:

    static-tl get

This will generate some tweets-<year>-<month>.json files with your recent tweets.

For instance, if your run it on 2016 October 10, you’ll get two files:

  • tweets-2016-09.json (all the tweets from September)

  • tweets-2016-10.json (all the tweets from October so far)

Of course, the last file will be overridden when you’ll re-run the script in November.

So keep these .json somewhere safe, you’ll need them later, and remember to re-run static-tl get at least once a month.

  • Then, when you are ready you can generate a completely static copy of your TL with:

    static-tl gen

(By static, we mean that it’s possible to upload those html files wherever you want so it’s extremely easy to publish your new TL on the web)

The best part is that since you have a copy of all your tweets as .json files, it’s easy to edit them :)

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

static_tl-0.2.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

static_tl-0.2-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file static_tl-0.2.tar.gz.

File metadata

  • Download URL: static_tl-0.2.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for static_tl-0.2.tar.gz
Algorithm Hash digest
SHA256 562964fec1fa1900c003166a5941af8057679c9b0ee9e9da3a14535bfa751cde
MD5 8796323ca2d3cee05da7ff7da171683f
BLAKE2b-256 4feb742018fbabed9d0d1b85570086af3f50c902763b6ca0786e8fa1ff0e48c1

See more details on using hashes here.

File details

Details for the file static_tl-0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for static_tl-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c7c9f443949e59451b66f957e561edfe152844f042098260f34f66f7a700be70
MD5 4dc61bb3cbece6ee7befd8fe35115ee0
BLAKE2b-256 822d3abd9cb39e1a0925e5b2f2e0885cf1984dd2c005bd28d22558781dc57140

See more details on using hashes here.

Supported by

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