/twitter-archive-parser

Python code to parse a Twitter archive and output in various ways

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Usage:

  1. Download your Twitter archive (Settings > Your account > Download an archive of your data)
  2. Unzip to a folder
  3. Open a command-prompt in that folder
  4. python parser.py

Features:

  • Outputs as markdown with embedded images and links
  • Replaces t.co URLs with their original versions
  • Copies used images to an output folder, to allow them to be moved to a new home

TODO:

  • Output as Jekyll markdown files
  • Output as HTML files
  • Embed videos as HTML snippets in the markdown (currently just the thumbnail is shown)