Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/JusticeEngineering/pin-tweet-to-ipfs
- Owner: JusticeEngineering
- License: mit
- Created: 2022-09-21T16:07:25.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-07T02:39:25.000Z (10 months ago)
- Last Synced: 2024-08-16T13:42:09.990Z (5 months ago)
- Topics: chrome-extension, ipfs, twitter, web, web3, webextension
- Language: JavaScript
- Homepage:
- Size: 1.13 MB
- Stars: 26
- Watchers: 3
- Forks: 3
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ccamel - JusticeEngineering/pin-tweet-to-ipfs - Web extension to Save tweets in a verifiable way to IPFS (JavaScript)
README
Pin Tweet to IPFS
## Availability
[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/)