Coder Social home page Coder Social logo

elbeavers / twitter-archive-to-maildir Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ftrain/twitter-archive-to-maildir

0.0 1.0 0.0 3 KB

convert your archive that you download from twitter into a maildir you can load in a mail client

Shell 50.54% Python 49.46%

twitter-archive-to-maildir's Introduction

Twitter archive to maildir

This is hacky stuff glued together from little experiments.

First, we import the tweet JSON to SQLite then turn that into a nice table.

To do that you gotta read through and run ./archive-to-maildir.sh.

Why would you do it that way instead of just parsing right in python (see below)? Because you like the datasette tool that Simon Willison built and like having things in a SQLite table for further analysis and processing, even though you're not doing a lot of that processing right now. But eventually you might try to do some light rethreading, attaching images, adding some stats to tweets, etc, etc.

Turning SQL rows into a maildir is pretty simple using Python tools.

To do that here you gotta read through, modify, and run ./sqlite-to-maildir.py and change variables.

A better person would add a requirements.txt and other niceties. But if you're down this rabbit hole already then what's another rabbit hole? TQDM isn't standard but I think everything else is.

twitter-archive-to-maildir's People

Contributors

ftrain avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.