Skip to content

boyin0x/fdp-web-archive

Repository files navigation

FDP-Web-Archive

FDP-Web-Archive is a Chrome extension wich allows Fair Data Protocol users to create a pdf from any web page and to save it in their personal data store.

It was developed based on this requirements fairDataSociety/bounties#8 for the @FairDataSociety bounty program on Gitcoin.

Screenshots

Mask group-1 Mask group

Features

  • Save webpages as PDF.
  • View / Delete stored webpages.
  • Search by URL, title and content.
  • Share webpages with other people.
  • Import to your personal storage any webpage someone shared with you.

Possible Future Features:

  • UX/UI improvements.
  • Prefetch.
  • Download searchable content in the background.
  • Optimistic updates.
  • Pagination.
  • Create Account.
  • Forgot Password.
  • Options / configuration page.

Config

Update the env variables in the webpack.js file.

process.env.REACT_APP_BEE_BATCH_ID
process.env.REACT_APP_BEE_URL
process.env.REACT_APP_BEE_DEBUG_URL
process.env.REACT_APP_RPC_URL
process.env.REACT_APP_ENS_REGISTRY_ADDRESS
process.env.REACT_APP_PUBLIC_RESOLVER_ADDRESS
process.env.REACT_APP_SUBDOMAIN_REGISTRAR_ADDRESS

Install

npm i

Build

npm run build

Build in watch mode

npm run watch

Load extension to chrome

Load dist directory

Test

npx jest or npm run test