Giter VIP home page Giter VIP logo

archive-forever's Introduction

Archive forever

To run this locally, you must have a Browserless API key and a funded wallet from Bundlr.

You can fund your Bundlr wallet here.

Run locally

1. Start the client application

  1. Clone the repo

  2. Rename .example.env.local to .env.local and configure your API keys and be sure the environment is set to 'development`.

  3. Install dependencies:

npm install

# or

yarn
  1. Run the app:
npm run dev

2. Start the server

  1. Change into the server directory.

  2. Install the dependencies:

npm install

# or

yarn
  1. Start the server:
npm start

archive-forever's People

Contributors

dabit3 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

archive-forever's Issues

feedback: cloudflare checks, archiving pages with styles

  1. We may get a “Checking if the site connection is secure” message on a lot of pages specifically Cloudflare security-enabled sites.
    instead of using fetch here in the code better to use the puppeteer page's content() method to fetch HTML(I haven't tested it though)

An archive of a medium website looks like this:
image

  1. Also, on some websites, archived HTML is not included with CSS and js files. regex/replace here in the code are not good options in my opinion(and I think we're using original site's assets in the archive which may not be available in future). instead, we should find a solution where it includes all external css/js and encode images in base64 into a single HTML file. Something like this (again, not tested though. just a thought)

With these fixed, it will be an awesome project

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.