Skip to content

Extension containing an experimental libdweb APIs

License

Notifications You must be signed in to change notification settings

yoshuawuyts/libdweb

 
 

Repository files navigation

libdweb

travis package downloads styled with prettier

This repositiory hosts community effort of implementing experimental APIs for Firefox WebExtensions with a goal of enabling dweb protocols in Firefox through an add-ons. The long term goal of this project is to eventually integrate this APIs into WebExtensions ecosystem.

Participation

You can help this effort in several ways:

  • If there is a missing API to enable certain dweb protocol please submit an issue with clear description of:

    1. What protocol implementation requires it.
    2. What is this API would protocol implementation allow / prevent.
  • Contribute code. Make sure to reach out first, then hack.

Status: In active development

API Status
Protocol Handler 🐥
mdns 🐣
File System 🐣
UDP Socket 🐣
TCP Socket 🥚
µTP Socket 🥚
  • 🥚 : In design phase
  • 🐣 : Work in progress
  • 🐥 : Try it out
  • 🐓 : Usable

You can try this out by cloning the repo and running npm install to get all the toolchain. Assuming you do have Firefox Nighly installed you can run following demos:

Protocol API

Following command will launch Firefox Nighly with protocol API demo addon

npm run demo:protocol

protocol demo

mDNS API

Following command will launch Firefox Nighly with mDNS API demo addon

npm run demo:mdns

mDNS button

FileSystem API

Following command will launch Firefox Nighly with FileSystem API demo addon

npm run demo:fs

FileSystem

UDPSocket API

Following command will launch Firefox Nighly with UDPSocket API demo addon

npm run demo:dgram

All APIs

Following command will launch Firefox Nighly with a demo containing all the above

npm run demo

About

Extension containing an experimental libdweb APIs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%