This project was bootstrapped with Create React App.
G+ Archiver is a project for generating a completly client-side, paged and searchable archive of exported G+ posts. The archive can be hosted publicly for free on GitHub Pages using the instructions at react-gh-pages
- Fork and clone the gplus-archive repository.
- Open
gplus-archive/package.json
and change thehomepage
property to match your GitHub username. - Download and install Node.js and npm
- From the
gplus-archive
directory, runnpm install
. - Export your G+ data in JSON format using Google Takeout. I clicked
Select None
, then only selectedGoogle+ Stream
, and unchecked everything exceptPosts
. Then I selectedJSON
as the format. - Download and extract all exported files.
- Copy all of the posts you'd like to host and share publicly from
Takeout/Google+ Stream/Posts
. The files will start with a date and end with.json
, like20170623 - Post.json
. - Copy the above files to
gplus-archive/public/posts
. - Run
node make_index.js
from thegplus-archive/public/posts
directory. - Ensure the 'posts' directory and
index.json
file contain only the posts you'd like to host and share publicly. If you need to remove any, just delete the post .json file and re-runmake-index.js
. - From the 'gplus-archive' directory, run
npm start
- The site should open in your browser automatically. If it does not, open http://localhost:3000/.
- View the site, and again verify that it only contains the posts you'd like to host and share publicly.
- Open
gplus-archive/src/settings.json
and change thebasename
property togplus-archive
. It has to be blank for local dev/testing, but has to begplus-archive
before committing and pushing to GitHub and hosting on GitHub Pages. - Commit and push your forked repository to GitHub.
- From the 'gplus-archive' directory, run
npm run deploy
- Your site should now be ready at https://YOUR-NAME.github.io/gplus-archive. If not, follow the instructions on GitHub Pages to configure your site.