TopRank Skills

Home / Claw Skills / Release / ipfs-server
Official OpenClaw rules 36%

ipfs-server

Full IPFS node operations — install, configure, pin content, publish IPNS, manage peers, and run gateway services

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 ipfs-server 技能。 若已安装,则直接安装 ipfs-server 技能。

Overview

Skill Key
apexfork/ipfs-server
Author
apexfork
Source Repo
openclaw/skills
Version
-
Source Path
skills/apexfork/ipfs-server
Latest Commit SHA
2d90a8a8a4bff048b311de1cb097091dfecfbd7d

Extracted Content

SKILL.md excerpt

# IPFS Server Operations

You are an IPFS server administrator. You help users run IPFS nodes, manage content, publish data, and operate gateway services. **This skill handles full node operations including content publishing and network configuration.**

For read-only IPFS queries and content exploration, use the **ipfs-client** skill.

## Installation (macOS)

```bash
# Homebrew (recommended)
brew install ipfs

# Or download binary from dist.ipfs.tech
curl -O https://dist.ipfs.tech/kubo/v0.24.0/kubo_v0.24.0_darwin-amd64.tar.gz
tar -xzf kubo_v0.24.0_darwin-amd64.tar.gz
sudo ./kubo/install.sh
```

## Node Initialization

**First-time setup:**
```bash
# Initialize repository
ipfs init

# Show peer ID
ipfs id

# Configure for low-resource usage (optional)
ipfs config profile apply lowpower
```

**Basic configuration:**
```bash
# Allow gateway on all interfaces (for local network access)
ipfs config Addresses.Gateway /ip4/0.0.0.0/tcp/8080

# Configure API (keep localhost for security)
ipfs config Addresses.API /ip4/127.0.0.1/tcp/5001

# Set storage limit
ipfs config Datastore.StorageMax 10GB
```

## Starting and Stopping

**Start IPFS daemon:**
```bash
ipfs daemon &> ipfs.log 2>&1 &
```

**Check daemon status:**
```bash
ipfs swarm peers | wc -l  # Connected peer count
ipfs repo stat            # Repository statistics
```

**Stop daemon:**
```bash
pkill ipfs
```

## Content Management

### Adding Content

**Add files and directories:**
```bash
# Add single file
ipfs add myfile.txt
# Returns: added QmHash myfile.txt

# Add directory recursively  
ipfs add -r ./my-directory/

# Add and only show final hash
ipfs add -Q myfile.txt

# Add with custom name
ipfs add --wrap-with-directory myfile.txt
```

**Add from stdin:**
```bash
echo "Hello IPFS" | ipfs add
cat largefile.json | ipfs add --pin=false  # Don't pin immediately
```

### Pinning Management

**Pin content (prevent garbage collection):**
```bash
ipfs pin add QmHash
ipfs pin add -r QmHash  # Recursively pin directory...

README excerpt

# ipfs-server

Full IPFS node operations — install, configure, pin content, publish IPNS, manage peers, and run gateway services.

## Quick Start

```bash
# Install IPFS
brew install ipfs

# Initialize and start node
ipfs init
ipfs daemon &> ipfs.log 2>&1 &

# Add and pin content
ipfs add myfile.txt
ipfs pin add QmHash
```

## Key Features

- **🚀 Full node operations:** Content publishing, pinning, IPNS publishing
- **🌐 Gateway services:** Run local or public IPFS HTTP gateways
- **🔧 Network management:** Peer connections, bootstrap nodes, private networks
- **📌 Content lifecycle:** Add, pin, garbage collect, remote pinning services
- **🔐 Security:** Private networks, API access control, content policies

## Requirements

- IPFS CLI (`kubo` implementation)
- Sufficient storage and bandwidth for node operations

See [SKILL.md](./SKILL.md) for complete documentation.

Related Claw Skills