
Security News
PEP 810 Proposes Explicit Lazy Imports for Python 3.15
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
@textile/go-daemon
Advanced tools
Spawn and control the Textile daemon from Node/Javascript
Join us on our public Slack channel for news, discussions, and status updates.
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.
A daemon is a program that operates as a long-running 'background' process (without a terminal or user interface). In most cases, the daemon exposes a network API (usually HTTP / TCP) that allows other programs to interact with it while it's running. Most daemons ship with a command-line client for this API.
With Textile, all desktop and server peers run as a daemon, which contains an embedded IPFS node. Much like the IPFS daemon, the program (textile
) ships with a command-line client. This package is designed to interface with the daemon's command-line client, from Javascript.
You'll need to have a go-textile
binary installed in order to be able to use this package to control it. You can install it manually according to these instructions, or install it via the @textile/go-textile-dep
package:
npm i @textile/go-textile-dep
See examples/node
for a simple setup using @textile/go-textile-dep
.
# Lint everything
# NOTE: Linting uses `prettier` to auto-fix styling issues when possible
npm run lint
You can also compile the Typescript yourself with:
npm run build
This library is a work in progress. As such, there's a few things you can do right now to help out:
Before you get started, be sure to read our contributors guide and our contributor covenant code of conduct.
This package was heavily inspired (it started as a direct fork) by the https://github.com/ipfs/js-ipfsd-ctl
library. Big thanks to all the contributors to that original package! See package.json
, LICENSE
, and CHANGELOG.md
in that project for details and contributions.
FAQs
Spawn and control the Textile daemon from Node/Javascript
We found that @textile/go-daemon demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.