https://github.com/ceejbot/ljsnarf
A node.js tool for backing up your LiveJournal data to local json files.
https://github.com/ceejbot/ljsnarf
Last synced: 28 days ago
JSON representation
A node.js tool for backing up your LiveJournal data to local json files.
- Host: GitHub
- URL: https://github.com/ceejbot/ljsnarf
- Owner: ceejbot
- Created: 2012-01-21T00:03:58.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2012-08-11T03:38:08.000Z (almost 14 years ago)
- Last Synced: 2025-10-10T21:27:35.980Z (9 months ago)
- Language: JavaScript
- Homepage:
- Size: 105 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
A very raw node.js tool for backing up a livejournal account to local files. Saves entries as .json files. Also retrieves userpics. It works but has minimal error handling so it won't be resilient if LJ is having one of its more robust moments.
I am aware of one bug: it doesn't correctly detect if there are "edit" syncitems after its current batch of new items, so on the first run it will decide that it's done slightly early. Subsequent runs fetch items one at a time using syncitems/getevent, so run it twice the very first time you back up a journal.
Requires [chainable-request](https://github.com/ceejbot/chainable-request) which as of the moment isn't in NPM, so snag it from there and npm link it. Or install it from the url.
```
cp config.yml.sample config.yml
vi config.yml
node ljsnarf.js
```
The results are saved in `backup///[posts,userpics]`.