{"id":36444651,"url":"https://github.com/alwqx/tt","last_synced_at":"2026-01-11T22:03:34.830Z","repository":{"id":87765439,"uuid":"83192682","full_name":"alwqx/tt","owner":"alwqx","description":"A tool for generating template Markdown file for https://github.com/alwqx/translate","archived":false,"fork":false,"pushed_at":"2024-03-28T08:14:50.000Z","size":229,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-06-21T03:24:28.314Z","etag":null,"topics":["cli","cobra","golang","tool"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alwqx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2017-02-26T07:59:32.000Z","updated_at":"2024-03-28T08:53:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"57c725ba-2d00-4ece-8e9c-ff32027e4df5","html_url":"https://github.com/alwqx/tt","commit_stats":null,"previous_names":["adolphlwq/tt"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/alwqx/tt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alwqx%2Ftt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alwqx%2Ftt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alwqx%2Ftt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alwqx%2Ftt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alwqx","download_url":"https://codeload.github.com/alwqx/tt/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alwqx%2Ftt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28324851,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T18:42:50.174Z","status":"ssl_error","status_checked_at":"2026-01-11T18:39:13.842Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","cobra","golang","tool"],"created_at":"2026-01-11T22:03:34.776Z","updated_at":"2026-01-11T22:03:34.824Z","avatar_url":"https://github.com/alwqx.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tt\n\n[![Go Report Card](https://goreportcard.com/badge/github.com/alwqx/tt)](https://goreportcard.com/report/github.com/alwqx/tt)\n\nA tool for generating template Markdown file for [translate](https://github.com/alwqx/translate)\n\n## Usage\n\n### install\n\nIf you have installed [Golang](https://golang.org)\n\n```\ngo install github.com/alwqx/tt@latest\n```\n\nelse\n\n```\nwget https://github.com/alwqx/tt/releases/download/0.3.0/tt\nsudo chmod +x tt\nsudo mv tt /usr/local/bin\n```\n\n### Usage\n\n- see version\n\n  ```\n  translate git:(master) tt version\n  tt version: 0.3.0\n  go version: go1.20.3\n  os/arch:    darwin/arm64\n  ```\n\n- new a template post with default arguments\n\n  ```\n  translate git:(master) tt new\n  file \"00-example.md\" created successfully on \"/home/geek/workspace/githubwp/translate/2017\"!\n  ```\n\n- new a template post with customed arguments\n\n  ```\n  ➜  translate git:(master) ✗ tt new -f alwqx-tt -n 10 -y 2017 -t \"dive into python\"\n  file \"10-alwqx-tt.md\" created successfully on \"/home/geek/workspace/githubwp/translate/2017\"!\n  ➜  translate git:(master) ✗ cat 2017/10-alwqx-tt.md\n  # dive into python\n\n  ## 说明\n  - [原文链接]()\n  - [翻译：@alwqx](https://github.com/alwqx)\n  - [项目地址](https://github.com/alwqx/translate)\n  - [tt](https://github.com/alwqx/tt)：自动生成翻译模板\n  - 用时：\n  - \u003ca rel=\"license\" href=\"http://creativecommons.org/licenses/by-nc/4.0/\"\u003e\u003cimg alt=\"知识共享许可协议\" style=\"border-width:0\" src=\"https://i.creativecommons.org/l/by-nc/4.0/80x15.png\" /\u003e\u003c/a\u003e\n  ```\n\n### Options\n\n- new a post\n\n  ```\n  create a new template file.\n\n  Usage:\n  tt new [flags]\n\n  Flags:\n  -f, --file-name string   file name of your post (default \"example\")\n  -n, --number string      number of your post (default \"00\")\n  -t, --title string       title of your post (default \"example\")\n  -y, --year string        year of directory contains posts (default \"2017\")\n  ```\n\n- list issue (defalut alwqx/translate)\n\n  ```\n  Usage:\n  tt issue [flags]\n\n  Flags:\n  -r, --repo string    name of your repo. (default \"translate\")\n  -s, --state string   state of issue to list. (default \"open\")\n  -u, --user string    short name of your github account. (default \"alwqx\")\n  ```\n\n## TODOs\n\n- [x] new: new a post.\n- [x] version: show version info.\n- [x] issue: list issue.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falwqx%2Ftt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falwqx%2Ftt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falwqx%2Ftt/lists"}