Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@internetarchive/dweb-archivecontroller

Package Overview
Dependencies
Maintainers
18
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@internetarchive/dweb-archivecontroller

Archive UI to run in Browser

  • 0.2.16
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
38
increased by22.58%
Maintainers
18
Weekly downloads
 
Created
Source

dweb-archivecontroller

Classes to controll Archive objects Builds on dweb-transports.

Background

This library is part of a general project at the Internet Archive (archive.org) to support the decentralized web.

Goals

  • to allow unmodified browsers to access the Internet Archive's millions of items
  • to support as many of the IA's features as possible, adding them iteratively
  • to use decentralized platforms for as many features as possible, without sacrificing functionality
  • to avoid single points of failure where possible

Installation

All cases

git clone https://git@github.com/internetarchive/dweb-archivecontroller.git
cd dweb-archivecontroller

# install the dependencies including IPFS & WebTorrent
npm install

# NOTE:
# dweb-transports - will be provided to client using window.DwebTransports in a separate import

Node Installation to work on this repo

Note that the only reason to do this would be to work on the code, Just do the "All" case above

  • Archive.org bootstrap into the Archive's page

Repos:

  • dweb-transports: Common API to underlying transports (http, webtorrent, ipfs, yjs)
  • dweb-objects: Object model for Dweb inc Lists, Authentication, Key/Value and example html for these
  • dweb-serviceworker: Run Transports in ServiceWorker (experimental)
  • dweb-archive: Decentralized Archive webpage and bootstrapping
  • dweb-archivecontroller: Archive objects
  • dweb-transport: Original Repo, still has some half-complete projects
  • dweb-mirror: Offline archive server

Class hierarchy

  • ArchiveFile - represents a single file
  • ArchiveItem - represents data structures for an item (a directory of files)
  • ArchiveMember - represents each item returned by a search
  • Util - a collection of tools, short functions, and dictionaries of use in multiple places

API of key subclassed function

See API.md

See also

See Dweb document index for a list of the repos that make up the Internet Archive's Dweb project, and an index of other documents.

Ask Arthur for the Google spreadsheet "Metadata Audit" which is currently IA internal.

Keywords

FAQs

Package last updated on 01 Mar 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc