Skip to content

Web extension to Save tweets in a verifiable way to IPFS

License

Notifications You must be signed in to change notification settings

JusticeEngineering/pin-tweet-to-ipfs

Repository files navigation

pin tweet to ipfs

Pin Tweet to IPFS

GitHub Super-Linter

Availability

Get Pin Tweet to IPFS for Chromium Download Pin twee to IPFS

Firefox support coming soon...

Features

Pin Tweet to IPFS is a web extension targetting less-technical users who wish to archive Tweets in a verifiable way. It uses IPFS, WebRecorder, and web3.storage to achieve this.

How does it work?

We are using a new tool, "save tweet now" from the WebRecorder team to create a verifiable WebArChiveZip files of tweets. We then assist the user in uploading these "WACZ" files to the IPFS network via web3.storage. Here users can store all of their archived tweets in one place, and easily access them via their own IPFS node or other pinning services.

Installing and Running

  1. Check if your Node.js version is >= 19.
  2. Clone this repository.
  3. Run npm install to install the dependencies.
  4. Run npm run build
  5. Load your extension on Chrome following:
    1. Access chrome://extensions/
    2. Check Developer mode
    3. Click on Load unpacked extension
    4. Select the build folder.

Demo

Pin.Tweet.to.IPFS.Demo.12_15_2022.-.Made.with.Clipchamp.mp4

Bookmarklet

Basic functionality can be achieved in a bookmarklet

javascript:(function(){
  const url = document.location.href.match(/https:\/\/twitter.com\/(\w){1,15}\/status\/(\d)*/)[0];
  if (url) window.open(`https://webrecorder.github.io/save-tweet-now/#url=${url}&autoupload=1`);
})();

Resources

Credits

Made with ❤️ by Justice Engineering & Trigram