Skip to content
Encrypted, recoverable, schema-based, cross-application data storage built on IPFS and LibP2P
Branch: master
Clone or download
balupton core: cli: fix --version flag (#785)
Fixed v0.2.0 regressionw here `textile --version` would error with `textile: error: unknown long flag '--version', try --help`.

Bumps version to 0.2.1.

Signed-off-by: Benjamin Lupton <b@lupton.cc>
Latest commit 100a071 May 24, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci ci: force grep to return exit code 0 May 13, 2019
.github/ISSUE_TEMPLATE ci: add editorconfig and prettier (#703) Apr 24, 2019
bin profiling: revert collection tarball name May 1, 2019
broadcast mod: kill dep and gx Apr 14, 2019
cmd core: cli: fix --version flag (#785) May 24, 2019
common core: cli: fix --version flag (#785) May 24, 2019
core core: decrypt blocks + kingpin CLI (#776) May 24, 2019
crc16 fmt: errors.New -> fmt.Errorf May 3, 2019
crypto fmt: errors.New -> fmt.Errorf May 3, 2019
dist ci: add editorconfig and prettier (#703) Apr 24, 2019
docs ci: build-js-types need an older version of node May 7, 2019
gateway gateway: adds location middleware to improve the avatar hack May 19, 2019
ipfs config: ensure latest server profile May 6, 2019
jwt fmt: errors.New -> fmt.Errorf May 3, 2019
keypair fmt: errors.New -> fmt.Errorf May 3, 2019
mill fmt: errors.New -> fmt.Errorf May 3, 2019
mobile core: decrypt blocks + kingpin CLI (#776) May 24, 2019
pb cafe: remove swarm info, not needed Apr 23, 2019
qa fmt: apply prettier, clean up bash files May 1, 2019
release ci: more fixes (#755) May 9, 2019
repo config: turn OFF auto relay on mobile May 19, 2019
schema files: finish link renameing May 3, 2019
service fmt: errors.New -> fmt.Errorf May 3, 2019
ssl mod: kill dep and gx Apr 14, 2019
strkey fmt: errors.New -> fmt.Errorf May 3, 2019
util core: CORS on Gateway, expand CORS on API (#747) May 14, 2019
wallet fmt: errors.New -> fmt.Errorf May 3, 2019
.dockerignore Some docs fixes + desktop -> tray (#592) Mar 5, 2019
.editorconfig ci: add editorconfig and prettier (#703) Apr 24, 2019
.gitignore core: CORS on Gateway, expand CORS on API (#747) May 14, 2019
.prettierignore fmt: errors.New -> fmt.Errorf May 3, 2019
CODEOWNERS docs: add @balupton Apr 17, 2019
CODE_OF_CONDUCT.md fmt: apply prettier, clean up bash files May 1, 2019
CONTRIBUTING.md fmt: apply prettier, clean up bash files May 1, 2019
Dockerfile docker: can no longer user make setup Apr 24, 2019
Dockerfile.cafe docker: can no longer user make setup Apr 24, 2019
LICENSE chore: cleanup chmod mess Dec 21, 2018
Makefile fmt: apply prettier, clean up bash files May 1, 2019
README.md Merge pull request #723 from textileio/sander/go-ipfs-update May 3, 2019
go.mod core: decrypt blocks + kingpin CLI (#776) May 24, 2019
go.sum core: decrypt blocks + kingpin CLI (#776) May 24, 2019
package-lock.json ci: add editorconfig and prettier (#703) Apr 24, 2019
package.json ci: add editorconfig and prettier (#703) Apr 24, 2019
test_compile fmt: apply prettier, clean up bash files May 1, 2019
textile.go core: decrypt blocks + kingpin CLI (#776) May 24, 2019

README.md

go-textile

Made by Textile Chat on Slack GitHub license Go Report Card CircleCI branch standard-readme compliant

Textile implementation in Go

This repository contains the core API, daemon, and command-line client, as well as bindings for mobile (iOS/Android) applications.

Textile provides encrypted, recoverable, schema-based, and cross-application data storage built on IPFS and libp2p. We like to think of it as a decentralized data wallet with built-in protocols for sharing and recovery, or more simply, an open and programmable iCloud.

Please see Textile Docs for more.

Join us on our public Slack channel for news, discussions, and status updates. Check out our blog for the latest posts and announcements.

Table of Contents

Security

Textile is still under heavy development and no part of it should be used before a thorough review of the underlying code and an understanding that APIs and protocols may change rapidly. There may be coding mistakes and the underlying protocols may contain design flaws. Please let us know immediately if you have discovered a security vulnerability.

Please also read the security note for go-ipfs.

Background

Textile is a set of tools and trust-less infrastructure for building censorship resistant and privacy preserving applications.

While interoperable with the whole IPFS peer-to-peer network, Textile-flavored peers represent an additional layer or sub-network of users, applications, and services.

With good encryption defaults and anonymous, disposable application services like cafes, Textile aims to bring the decentralized internet to real products that people love.

Continue reading about Textile...

Install

Installation instructions for the command-line tool and daemon are in the docs.

Usage

The Tour of Textile goes through many examples and use cases. textile --help provides a quick look at the available APIs:

Usage:
  textile [OPTIONS] <command>

Help Options:
  -h, --help  Show this help message

Available commands:
  account        Manage a wallet account
  blocks         View thread blocks
  cafes          Manage cafes
  chat           Start a thread chat
  commands       List available commands
  comments       Manage thread comments
  config         Get and set config values
  contacts       Manage contacts
  daemon         Start the daemon
  docs           Print docs
  feed           Paginate thread content as a consumable feed
  files          Manage thread files
  init           Init the node repo and exit
  invites        Manage thread invites
  ipfs           Access IPFS commands
  likes          Manage thread likes
  logs           List and control subsystem logs
  messages       Manage thread messages
  migrate        Migrate the node repo and exit
  notifications  Manage notifications
  ping           Ping another peer
  profile        Manage public profile
  subscribe      Subscribe to thread updates
  summary        Get a summary of local data
  threads        Manage threads
  tokens         Manage Cafe access tokens
  version        Print version and exit
  wallet         Manage or create an account wallet

Develop

git clone git@github.com:textileio/go-textile.git

Requirements

  • go >= 1.12
  • node >= 10.0

Extra setup steps are needed to build the bindings for iOS or Android, as gomobile does not yet support go modules. You'll need to move the go-textile source into your GOPATH (like pre-go1.11 development), before installing and initializing the gomobile tools:

go get golang.org/x/mobile/cmd/gomobile
gomobile init

Now you can execute the iOS and Android build tasks below. For the other build tasks, the source must not be under GOPATH. Go 1.13 is supposed to bring module support to gomobile, at which point we can remove this madness!

Install dependencies:

make setup

Build textile:

make build

Run unit tests:

make test

Build the iOS framework:

make ios

Build the Android Archive Library (aar):

make android

Build the swagger docs:

make docs

Contributing

This project is a work in progress. As such, there's a few things you can do right now to help out:

  • Ask questions! We'll try to help. Be sure to drop a note (on the above issue) if there is anything you'd like to work on and we'll update the issue to let others know. Also get in touch on Slack.
  • Open issues, file issues, submit pull requests!
  • Perform code reviews. More eyes will help a) speed the project along b) ensure quality and c) reduce possible future bugs.
  • Take a look at the code. Contributions here that would be most helpful are top-level comments about how it should look based on your understanding. Again, the more eyes the better.
  • Add tests. There can never be enough tests.

Before you get started, be sure to read our contributors guide and our contributor covenant code of conduct.

License

MIT

You can’t perform that action at this time.