Mirror of "Tweetnest" repository (intended as a backup) https://github.com/graulund/tweetnest
Andy Graulund 60dc044fca Merge pull request #85 from Janwillhaus/master 3 years ago
archive Added folder for json archive files exportet from twitter 7 years ago
extensions Removed by-now discontinued image hosters form image extension 3 years ago
inc Added option enforcing HTTPS-only inline imagery 3 years ago
maintenance Default to profile_image_url_https for avatar 3 years ago
styles/streamlined Tweet Nest 0.8 launch 9 years ago
.gitignore Better foundations. 6 years ago
.gitmodules Better foundations. 6 years ago
.htaccess Tweet Nest 0.8 launch 9 years ago
LICENSE.txt Tweet Nest 0.8 launch 9 years ago
README.md Updating readme 6 years ago
RENAME-ME.htaccess Tweet Nest 0.8 launch 9 years ago
authorize.php Un-forced HTTP links 3 years ago
callback.php Un-forced HTTP links 3 years ago
day.php Tweet Nest 0.8 launch 9 years ago
favorites.php Tweet Nest 0.8 launch 9 years ago
index.php Tweet Nest 0.8 launch 9 years ago
month.php Tweet Nest 0.8 launch 9 years ago
redirect.php Better foundations. 6 years ago
search.php Tweet Nest 0.8 launch 9 years ago
setup.php Merge pull request #85 from Janwillhaus/master 3 years ago
sort.php Tweet Nest 0.8 launch 9 years ago
tweets.js Removing deprecated @Anywhere support, and upping jQuery version 6 years ago
upgrade.php Expanding tweet text column size for database software that supports it 6 years ago

README.md

This is Tweet Nest

Tweet Nest is a browsable, searchable and easily customizable archive and backup for your tweets, made in PHP. It runs on a web server.

It requires the following:

  • PHP 5.2 or higher with cURL enabled (or 5.1 with the PECL JSON module installed in addition)
  • MySQL 4.1 or higher

To figure out how to install it, please point your browser to:

http://pongsocket.com/tweetnest/

And go to the "Installation" section.

Thanks!

Andy Graulund pongsocket.com

Twitter archive import

  • Place your downloaded json archive files (data/js/tweets/[year]_[month].js) directly in the archive folder (archive/[year]_[month].js)
  • On new tweet nest setups:
    • follow the tweet nest instructions from http://pongsocket.com/tweetnest/#installation
    • right after the maintenance/loaduser.php step, run maintenance/loadarchive.php
  • On existing instances:
    • be sure not to overwrite your inc/config.php or you will have to setup your instance again
    • run upgrade.php
    • run maintenance/loadarchive.php

The importer keeps track of its progress in maintenance/loadarchivelog.txt if it's writable. Should the script die for some reason (php time limit e.g.), just run it again.

If you have a large archive (10k+ tweets), I would recommend to do the one-time import via cli (php -f maintenance/loadarchive.php)