Skip to content

Commit 2ecbaab

Browse files
committedApr 9, 2018
README updates for v2.2.0
1 parent d8a832c commit 2ecbaab

File tree

1 file changed

+23
-4
lines changed

1 file changed

+23
-4
lines changed
 

‎README.md

+23-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# IPFS Companion
22

3-
![demo of v2.0.13](https://ipfs.io/ipfs/QmUxZrrjUGZVMjqc2noCRkQZr8B9JyGNj7sPpRoJ6uPQq1)
3+
![demo of v2.2.0](https://user-images.githubusercontent.com/157609/38491868-6c9dbaa0-3bed-11e8-975a-52bea908f1cb.gif)
44

55
[![](https://img.shields.io/github/release/ipfs/ipfs-companion.svg)](https://github.com/ipfs/ipfs-companion/releases/latest)
66
[![](https://img.shields.io/badge/mozilla-reviewed-blue.svg)](https://addons.mozilla.org/en-US/firefox/addon/ipfs-companion/)
@@ -34,12 +34,27 @@ Learn more at [ipfs.io](https://ipfs.io) (it is really cool, we promise!)
3434

3535
#### Automagical Detection of IPFS Resources
3636

37-
Requests for resources at IPFS-like paths (`/ipfs/$cid` or `/ipns/$peerid_or_fqdn`) are detected on any website.
37+
Requests for IPFS-like paths (`/ipfs/$cid` or `/ipns/$peerid_or_fqdn-with-dnslink`) are detected on any website.
3838
If tested path is a valid IPFS address it gets redirected and loaded from a local gateway, e.g:
3939
`https://ipfs.io/ipfs/QmbWqxBEKC3P8tqsKc98xmWNzrzDtRLMiMPL8wBuTGsMnR`
4040
`http://127.0.0.1:8080/ipfs/QmbWqxBEKC3P8tqsKc98xmWNzrzDtRLMiMPL8wBuTGsMnR`
4141

42-
#### IPFS Status and Action Menu
42+
#### IPFS API exposed as `window.ipfs`
43+
44+
A safe subset of IPFS APIs of user's node is exposed as `window.ipfs` on every webpage.
45+
This means websites can detect if `window.ipfs` exists and opt-in to use it instead of spawning own `js-ipfs` node. This saves resources, battery etc.
46+
Make sure to read our [notes on `window.ipfs`](https://github.com/ipfs-shipyard/ipfs-companion/blob/master/docs/window.ipfs.md), where we explain it in-depth and provide examples on how to use it your own dapp.
47+
48+
#### Embedded `js-ipfs` Node
49+
50+
Browser Action menu provides a toggle for switching between embedded, in-memory `js-ipfs` and external IPFS node accessed over HTTP API.
51+
52+
Embedded node is a fine fallback for situations when user needs to quickly share a file with someone or just wants to run a dapp against `window.ipfs` but has no third party IPFS daemon running locally.
53+
Power users can provide own config (eg. to enable experimental pubsub) via _Preferences_.
54+
55+
**UX Note:** Embedded node does not run when external one is used. Every time you switch back to Embedded node, a new instance is spawned on-demand, so it takes [a few seconds](https://user-images.githubusercontent.com/157609/38493690-4a77bd9e-3bf3-11e8-85da-ba06fd94cdbf.gif) for a brand-new node to find peers.
56+
57+
#### IPFS Status and Context Actions
4358

4459
- IPFS API and Gateway status
4560
- Quick Upload of local files
@@ -63,7 +78,6 @@ _(some are disabled by default, use Preferences screen to enable)_
6378
- Make plaintext IPFS links clickable
6479
- Mirror to IPFS by right click on any image or video
6580
- Embedded node can be used for uploads even when external API is down
66-
- [`window.ipfs`](docs/window.ipfs.md) - web pages can access your IPFS node
6781

6882
## Install
6983

@@ -155,10 +169,15 @@ Feel free to join in. All welcome. Open an [issue](https://github.com/ipfs/ipfs-
155169
156170
If you want to help in developing this extension, please see [CONTRIBUTING](CONTRIBUTING.md) page :sparkles:
157171
172+
Browser extension team hangs out at the [#ipfs-in-web-browsers](https://webchat.freenode.net/?channels=ipfs-in-web-browsers) channel on Freenode.
173+
158174
This repository falls under the IPFS [Code of Conduct](https://github.com/ipfs/community/blob/master/code-of-conduct.md).
159175
160176
### TROUBLESHOOTING
161177
178+
The best place to ask your questions about IPFS in general, how it works and what you can do with it is at [discuss.ipfs.io](https://discuss.ipfs.io/).
179+
We are also available at the [#ipfs](https://webchat.freenode.net/?channels=ipfs) channel, where most of IPFS community hangs out.
180+
162181
#### Upload via Right-Click Does Not Work in Firefox
163182
164183
See [this workaround](https://github.com/ipfs/ipfs-companion/issues/227).

0 commit comments

Comments
 (0)
Please sign in to comment.