Reddit-History is a reddit history account exporter. It exports your comments, saved threads, submitted posts, and account overview to an organized markdown file, of the format:
subreddit: [worldnews](https://reddit.com/r/worldnews)
[Post/Comment/Saved title](https://reddit.com/r/worldnews/... the reddit link)
Score: 8423
The body of my post, comment, or saved item.
--------------------------------------------
subreddit: [AskReddit](https://reddit.com/r/AskReddit)
....
- Java 8
This is required to make API calls to reddit at the rate of at least 1 per second.
- Go here
- Click create another app
- Click personal use script
- Copy down the
client_id
, andclient_secret
for later use.
java -jar reddit-history.jar \
-user USER_NAME_TO_EXPORT \
-username YOUR_USERNAME \
-password YOUR_PASSWORD \
-client_id CLIENT_ID \
-client_secret CLIENT_SECRET \
-sort top
sort
can be top
, or new
.
Unfortunately, reddit doesn't allow a full account export, and only lets you retrieve a limit of 1000 records per type(submitted, comments, saved, overview). You can run reddit history using -sort new
and -sort top
, to get different slices of your history that reddit will allow.
Have a bug or a feature request? If your issue isn't already listed, then open a new issue here.