kubo/cmd/ipfs
Kevin Wallace 084cdc3ed8 gateway: attempt to resolve hostname to ipfs path
This allows someone to host a static site by pointing a TXT record at their
content in IPFS, and a CNAME record at an IPFS gateway.

Note that such a setup technically violates RFC1912 (section 2.4; "A CNAME
record is not allowed to coexist with any other data."), but tends to work in
practice.

We may want to consider changing the DNS->IPFS resolution scheme to allow this
scenario to be RFC-compliant (e.g. store the mapping on a well-known subdomain
to allow CNAME records on the domain itself).

License: MIT
Signed-off-by: Kevin Wallace <kevin@pentabarf.net>
2015-02-08 11:27:06 -08:00
..
.gitignore Remove dot and slash before files in cmd/ipfs/.gitignore 2014-11-22 21:55:12 +01:00
daemon.go gateway: attempt to resolve hostname to ipfs path 2015-02-08 11:27:06 -08:00
equinox.yaml transitioned ipfs2 -> ipfs 2014-11-18 06:15:00 -08:00
init.go init docs: go generated welcome dir + files 2015-01-31 07:51:30 -08:00
ipfs.go transitioned ipfs2 -> ipfs 2014-11-18 06:15:00 -08:00
main_test.go transitioned ipfs2 -> ipfs 2014-11-18 06:15:00 -08:00
main.go logs: removed all log.Errors unhelpful to users 2015-02-03 01:06:07 -08:00
Makefile transitioned ipfs2 -> ipfs 2014-11-18 06:15:00 -08:00
README.md Fix typo. 2014-12-14 20:55:29 +01:00
tour_test.go transitioned ipfs2 -> ipfs 2014-11-18 06:15:00 -08:00
tour.go commands: Refactored Command#Run function signature to (req Request, res Response) 2015-01-23 18:29:29 -08:00

go-ipfs/cmd/ipfs

This is the ipfs commandline tool. For now, it's the main entry point to using IPFS. Use it.

> go build
> go install
> ipfs
ipfs - global versioned p2p merkledag file system

Basic commands:

    init          Initialize ipfs local configuration
    add <path>    Add an object to ipfs
    cat <ref>     Show ipfs object data
    ls <ref>      List links from an object

Tool commands:

    config        Manage configuration
    update        Download and apply go-ipfs updates
    version       Show ipfs version information
    commands      List all available commands

Advanced Commands:

    mount         Mount an ipfs read-only mountpoint
    serve         Serve an interface to ipfs
    diag          Print diagnostics

Plumbing commands:

    block         Interact with raw blocks in the datastore
    object        Interact with raw dag nodes


Use "ipfs help <command>" for more information about a command.