ssig33 177a149de8
All checks were successful
CI / test (push) Successful in 16s
Renovate / renovate (push) Successful in 1m45s
Merge pull request 'Update actions/setup-go action to v6' (#4) from renovate/actions-setup-go-6.x into main
Reviewed-on: #4
2025-12-01 18:17:52 +09:00
2025-09-11 17:30:21 +09:00
2025-11-17 19:22:42 +09:00
2025-11-17 19:22: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 52 KiB
Languages
Go 100%