freedomjs / freedom

Embracing a distributed web
http://freedomjs.org
Apache License 2.0
512 stars 53 forks source link

Example code for a Firefox extension #334

Open dhowe opened 5 years ago

dhowe commented 5 years ago

Apologies if I missed this in the documentation, but would be super helpful to have and example or skeleton extension for a current Firefox extension... thanks

willscott commented 5 years ago

Hi @dhowe , you can maybe see from the state of activity that this project hasn't been active for several years.

Today, firefox supports WebExt based extensions - which means that a chrome extension will also 'just work' in firefox. The framework used by freedom is from before the current era, when firefox provided a custom xul-based extension framework.

dhowe commented 5 years ago

ah, thanks for the feedback... is there something that has replaced it?

willscott commented 5 years ago

i'd look at https://github.com/mozilla/web-ext

dhowe commented 5 years ago

I know about web-ext -- I was asking about a p2p js library...

willscott commented 5 years ago

https://www.scuttlebutt.nz/ is probably the closest

dhowe commented 5 years ago

Interesting, thanks. Though what I'm looking for is just a minimal JS client for P2P communication (that can be hooked into a web-ext extension). Freedom.js looked just the ticket, but I'll keep looking