ssig33 50ae0da1bc
All checks were successful
CI / test (push) Successful in 1m2s
Renovate / renovate (push) Successful in 38s
Merge pull request 'Update Minor and Patch dependencies' (#9) from renovate/minor-and-patch-dependencies into main
2026-02-13 09:03:03 +09:00
2025-09-11 17:30:21 +09:00
2026-02-12 00:03:26 +00:00
2025-12-17 09:10:42 +09:00
2025-09-11 17:35:41 +09:00
2025-09-11 17:30:21 +09:00
2025-09-11 17:30:21 +09:00
2025-09-11 17:30:21 +09:00

teatea

A lightweight CLI client for Gitea API.

Installation

go get github.com/ssig33/teatea@latest

Configuration

Set the following environment variables:

  • GITEA_TOKEN: Your Gitea API token
  • GITEA_HOST: Your Gitea instance URL (e.g., https://gitea.example.com)

Usage

Create a repository

Create a repository with the current directory name:

teatea create

Create a repository with a specific name:

teatea create myrepo

Create a private repository:

teatea create -p
teatea create -p myrepo

Git remote management

The tool automatically manages git remotes:

  • If no origin exists, it sets the created repository as origin
  • If origin exists but no gitea remote exists, it adds a gitea remote
  • If both exist, no remote changes are made

Requirements

  • Must be run inside a git repository
  • Environment variables GITEA_TOKEN and GITEA_HOST must be set

License

WTFPL

Description
No description provided
Readme WTFPL 54 KiB
Languages
Go 100%