Textile CLI, desktop app, mobile bindings, and REST API.
This repository contains a cross platform cli, desktop application, and iOS/Android mobile bindings for running a Textile node. See Textile Photos for more info.
Until Textile Photos is ready for public release, this library will be rapidly evolving.
go get github.com/textileio/textile-go
You'll need a few different tools here to get setup...
Golang package manager:
brew install dep
IPFS package manager:
go get -u github.com/whyrusleeping/gx
go get -u github.com/whyrusleeping/gx-go
NodeJS is used for git hooks and some build tooling:
brew install node
Finally, download deps managed by gx
and dep
:
npm run setup
The easiest way to write a valid commit message is to use the npm
script:
npm run cm
This will start the interactive commit prompt.
Build the cli based daemon:
make build
Build the iOS Framework:
make ios_framework
go get -u github.com/asticode/go-astitools
go get -u github.com/asticode/go-astilectron-bundler/...
go get -u github.com/asticode/go-astilectron-bootstrap/...
make build_desktop
you can now open the desktop build, stored in desktop/output/darwin-amd64
(for mac). or run it in dev mode
cd desktop/
go run *.go
Thanks to @cpacia, @drwasho and the rest of the OpenBazaar contributors for their work on openbazaar-go.
MIT