Files
gitea/readme.md
Juergen Kunz 4bfe5e56bc feat(core): initial implementation of @apiclient.xyz/gitea TypeScript client
Provides GiteaClient class with methods for repos, orgs, secrets, and action runs.
2026-02-24 12:50:02 +00:00

595 B

@apiclient.xyz/gitea

A TypeScript client for the Gitea API, providing easy access to repositories, organizations, secrets, and action runs.

Install

npm install @apiclient.xyz/gitea

Usage

import { GiteaClient } from '@apiclient.xyz/gitea';

const client = new GiteaClient('https://gitea.example.com', 'your-api-token');

// Test connection
const result = await client.testConnection();

// List repositories
const repos = await client.getRepos();

// Manage secrets
await client.setRepoSecret('owner/repo', 'SECRET_KEY', 'secret-value');

License

MIT