forgejo_claude (1.0.0)

Published 2026-05-16 05:40:56 +00:00 by victor in victor/forgejo_claude

Installation

[registries.forgejo]
index = "sparse+" # Sparse index
# index = "" # Git

[net]
git-fetch-with-cli = true
cargo add forgejo_claude@1.0.0 --registry forgejo

About this package

forgejo_claude

A CLI tool for interacting with a Forgejo instance. Built in Rust using the forgejo-api crate.

Configuration

Run the login command once to save your credentials. It only prompts for values that are not already set:

forgejo_claude login

Credentials are stored in ~/.config/forgejo_claude/config.toml:

forgejo_url = "https://your.forgejo.instance"
forgejo_token = "your_api_token"
owner = "your_username"

Generate an API token at https://your.forgejo.instance/user/settings/applications. The token needs the write:issue and write:repository scopes.

Usage

Issues

# List issues (state: open / closed / all, default: open)
forgejo_claude list-issues <repo> [state]

# Create an issue
forgejo_claude create-issue <repo> <title> <body>

# Edit an issue (all flags optional)
forgejo_claude edit-issue <repo> <number> [--title <title>] [--body <body>] [--state open|closed]

# Add a comment
forgejo_claude add-comment <repo> <number> <body>

Repositories

# Create a repository under the configured owner
forgejo_claude create-repo <name> <description> [--private]

Building from source

cargo build --release
# binary at: target/release/forgejo_claude

Dependencies

ID Version
anyhow ^1
clap ^4
dirs ^5
forgejo-api ^0.10.0
serde ^1
tokio ^1
toml ^0.8
url ^2
Details
Cargo
2026-05-16 05:40:56 +00:00
9
18 KiB
Assets (1)
Versions (1) View all
1.0.0 2026-05-16