chaim007 / textile-go

Textile CLI, desktop app, mobile bindings, and REST API

Home Page:https://www.textile.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

textile-go

Textile CLI, desktop app, mobile bindings, and REST API.

MIT License Go Report Card Commitizen friendly CircleCI

textile

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.

Contributing

go get github.com/textileio/textile-go

You'll need a few different tools here to get setup...

Install dep

Golang package manager:

brew install dep

Install gx

IPFS package manager:

go get -u github.com/whyrusleeping/gx
go get -u github.com/whyrusleeping/gx-go

Install node

NodeJS is used for git hooks and some build tooling:

brew install node

Install dependencies

Finally, download deps managed by gx and dep:

npm run setup

Commitizen

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.

Building

Build the cli based daemon:

make build

Build the iOS Framework:

make ios_framework

Desktop client

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

Acknowledgments

Thanks to @cpacia, @drwasho and the rest of the OpenBazaar contributors for their work on openbazaar-go.

License

MIT

About

Textile CLI, desktop app, mobile bindings, and REST API

https://www.textile.io

License:MIT License


Languages

Language:HTML 74.7%Language:Go 20.2%Language:CSS 3.1%Language:JavaScript 1.7%Language:Shell 0.3%Language:Makefile 0.1%