Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/JusticeEngineering/pin-tweet-to-ipfs

Web extension to Save tweets in a verifiable way to IPFS
https://github.com/JusticeEngineering/pin-tweet-to-ipfs

chrome-extension ipfs twitter web web3 webextension

Last synced: 2 months ago
JSON representation

Web extension to Save tweets in a verifiable way to IPFS

Awesome Lists containing this project

README

        


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...](https://github.com/meandavejustice/pin-tweet-to-ipfs/issues/6)

## Features

Pin Tweet to IPFS is a [web extension](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions) targetting less-technical users who wish to archive Tweets in a verifiable way. It uses [IPFS](https://ipfs.tech/), [WebRecorder](https://webrecorder.net/), and [web3.storage](https://web3.storage/) to achieve this.

## How does it work?

We are using a new tool, ["save tweet now"](https://webrecorder.github.io/save-tweet-now) from the [WebRecorder](https://webrecorder.net/) team to create a verifiable [WebArChiveZip](https://specs.webrecorder.net/wacz/1.1.1/) files of tweets. We then assist the user in uploading these "WACZ" files to the IPFS network via [web3.storage](https://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](https://nodejs.org/) 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
https://user-images.githubusercontent.com/1844554/207936773-4348a25e-a34f-4387-b805-f807fb0787d9.mp4

## Bookmarklet

Basic functionality can be achieved in a bookmarklet

```js
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

- [Chrome Extension documentation](https://developer.chrome.com/extensions/getstarted)
- [save-tweet-now website repo](https://github.com/webrecorder/save-tweet-now)

## Credits

Made with :heart: by [Justice Engineering](https://justice.engineering) & [Trigram](https://www.trigram.co/)