evilgeniuslabs / gplus-archive

G+ Archiver is a project for generating a completly client-side, paged and searchable archive of exported G+ posts.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

  1. Fork and clone the gplus-archive repository.
  2. Open gplus-archive/package.json and change the homepage property to match your GitHub username.
  3. Download and install Node.js and npm
  4. From the gplus-archive directory, run npm install.
  5. Export your G+ data in JSON format using Google Takeout. I clicked Select None, then only selected Google+ Stream, and unchecked everything except Posts. Then I selected JSON as the format.
  6. Download and extract all exported files.
  7. 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, like 20170623 - Post.json.
  8. Copy the above files to gplus-archive/public/posts.
  9. Run node make_index.js from the gplus-archive/public/posts directory.
  10. 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-run make-index.js.
  11. From the 'gplus-archive' directory, run npm start
  12. The site should open in your browser automatically. If it does not, open http://localhost:3000/.
  13. View the site, and again verify that it only contains the posts you'd like to host and share publicly.
  14. Open gplus-archive/src/settings.json and change the basename property to gplus-archive. It has to be blank for local dev/testing, but has to be gplus-archive before committing and pushing to GitHub and hosting on GitHub Pages.
  15. Commit and push your forked repository to GitHub.
  16. From the 'gplus-archive' directory, run npm run deploy
  17. 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.

About

G+ Archiver is a project for generating a completly client-side, paged and searchable archive of exported G+ posts.

License:MIT License


Languages

Language:JavaScript 88.0%Language:HTML 12.0%Language:CSS 0.1%