{"id":22100402,"url":"https://github.com/homuchen/linenotify","last_synced_at":"2025-03-24T01:47:17.610Z","repository":{"id":57636531,"uuid":"417460681","full_name":"HoMuChen/linenotify","owner":"HoMuChen","description":"A command tool for line-notify service, including login to get a token and send message.","archived":false,"fork":false,"pushed_at":"2021-10-17T12:31:16.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-05T08:51:02.139Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HoMuChen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-10-15T10:34:17.000Z","updated_at":"2021-10-17T12:35:39.000Z","dependencies_parsed_at":"2022-08-30T09:40:42.361Z","dependency_job_id":null,"html_url":"https://github.com/HoMuChen/linenotify","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HoMuChen%2Flinenotify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HoMuChen%2Flinenotify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HoMuChen%2Flinenotify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HoMuChen%2Flinenotify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HoMuChen","download_url":"https://codeload.github.com/HoMuChen/linenotify/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245195916,"owners_count":20575936,"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":[],"created_at":"2024-12-01T05:13:57.717Z","updated_at":"2025-03-24T01:47:17.583Z","avatar_url":"https://github.com/HoMuChen.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Linenotify\nA command tool for line-notify service, including login to get a token and send message.\n\n## Usage\n```go\nimport (\n        \"log\"\n\n        \"github.com/HoMuChen/linenotify\"\n)\n\nfunc main() {\n        client, err := linenotify(\"id\", \"secret\", \"callback\")\n        if err != nil {\n                log.Fatal(err)\n        }\n\n        toten, err := client.Login()\n        if err != nil {\n                log.Fatal(err)\n        }\n\n        if err := client.send(\"token\", \"hello\"); err != nil {\n                log.Fatal(err)\n        }\n}\n```\n\n## Command line\n\n### Build\n```sh\ngo build ./cmd/cli.go\n```\n\n### Configuration\n```sh\nexport LINE_CLIENT_ID=\"your client id\"\nexport LINE_CLIENT_SECRET=\"your client secret\"\nexport LINE_CALLBACK=\"callback url\"\n```\n\n### Run\n* Login\n  ```sh\n  ./cli -action login\n  ```\n\n* Send message\n  ```sh\n  ./cli -action send -token {token} -messgae {message}\n  ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhomuchen%2Flinenotify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhomuchen%2Flinenotify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhomuchen%2Flinenotify/lists"}