{"id":15374278,"url":"https://github.com/idoubi/tellme","last_synced_at":"2025-04-15T15:11:37.004Z","repository":{"id":57533841,"uuid":"230717868","full_name":"idoubi/tellme","owner":"idoubi","description":"a cli tool to get information","archived":false,"fork":false,"pushed_at":"2020-01-18T10:34:47.000Z","size":33,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-28T21:42:00.495Z","etag":null,"topics":["cli","go-tool","tellme"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/idoubi.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}},"created_at":"2019-12-29T07:28:15.000Z","updated_at":"2021-01-23T05:24:35.000Z","dependencies_parsed_at":"2022-09-07T09:32:49.525Z","dependency_job_id":null,"html_url":"https://github.com/idoubi/tellme","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idoubi%2Ftellme","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idoubi%2Ftellme/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idoubi%2Ftellme/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idoubi%2Ftellme/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/idoubi","download_url":"https://codeload.github.com/idoubi/tellme/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249094932,"owners_count":21211837,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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","go-tool","tellme"],"created_at":"2024-10-01T13:58:07.513Z","updated_at":"2025-04-15T15:11:36.977Z","avatar_url":"https://github.com/idoubi.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## tellme 获取信息的命令行工具\n\n### 安装说明\n\n- MacOS 安装\n\n```shell\nbrew tap idoubi/tools\nbrew install tellme\n```\n\n- 其他系统安装\n\n下载源码，运行`go build`，运行生成的二进制文件。\n\n### 使用示例\n\n- 百科查找 baike\n\n命令：`baike`、`bk`、`wiki`、`wk`\n\n```shell\ntellme baike 周杰伦\n# 百度百科查找\n\ntellme baike 周杰伦 -p wp\n# 维基百科查找\n\ntellme baike 周杰伦 -p hd\n# 互动百科查找\n```\n\n- 搜索 search\n\n命令：`search`、`sr`\n\n```shell\ntellme search 周杰伦\n# google搜索\n\ntellme search 周杰伦 -p bd\n# 百度搜索\n\ntellme search 周杰伦 -p wx\n# 微信搜索\n\ntellme search 周杰伦 -p zh\n# 知乎搜索\n\ntellme search 周杰伦 -p jj\n# 掘金搜索\n```\n\n- 翻译 translate\n\n命令：`translate`、`fanyi`、`fy`\n\n```shell\ntellme fanyi 你好\n# 中译英\n\ntellme fanyi \"hello world\"\n# 英译中\n\ntellme fanyi -o \"what's your name\"\n# 打开浏览器查看释义\n```\n\n- 日期时间 time\n\n```shell\ntellme time \n# 获取当前时间。输出：2020-01-10 14:23:10 己亥猪年腊月十六日 Friday\n\ntellme time -s\n# 获取当前时间串。输出：2020-01-10 13:49:46\n\ntellme time -s 1548635411\n# 将指定时间戳转换为时间串。输出：2019-01-28 08:30:11\n\ntellme time -t \n# 获取当前时间戳。输出：1578635437\n\ntellme time -t \"2020-02-02 20:00:02\"\n# 将指定时间戳转换为时间戳。输出：1580673602\n\ntellme time -w\n# 查看今天是星期几。输出：Friday\n\ntellme time -w \"2020-02-02\"\n# 查看指定时间是星期几。输出：Sunday\n\ntellme time -n\n# 查看今天的农历日期。输出：己亥猪年腊月十六日\n\ntellme time -n \"2020-02-02\"\n# 查看指定时间的农历日期。输出：庚子鼠年正月初九日\n\ntellme time -y \"2020-01-01\"\n# 指定农历日期查看阳历日期。输出：2020-01-25\n\ntellme time -y -r \"1993-03-17\"\n# 指定闰年农历日期查看阳历日期。输出：1993-05-08\n\ntellme time -j\n# 查看今天是什么节日。输出：[中国110宣传日]\n\ntellme time -j \"2020-04-01\"\n# 查看指定日期是什么节日。输出：[愚人节]\n\ntellme time -o\n# 原样输出当前时间。输出：2020-01-10 14:22:27.890235 +0800 CST m=+0.000376593\n\ntellme time -o \"2020-02-02 15:22:11\"\n# 原样输出指定时间。输出：2020-02-02 15:22:11 +0000 UTC\n\ntellme time -f \"2006/01/02 15:04:05\"\n# 按指定格式输出当前时间。输出：2020/01/10 13:51:54\n\ntellme time -f \"2006/01/02\" 1578615616\n# 按指定格式输出指定时间。输出：2020/01/10\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fidoubi%2Ftellme","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fidoubi%2Ftellme","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fidoubi%2Ftellme/lists"}