{"id":16166336,"url":"https://github.com/alswl/dingmark","last_synced_at":"2025-03-18T23:30:49.669Z","repository":{"id":220914574,"uuid":"752916079","full_name":"alswl/dingmark","owner":"alswl","description":"Go CLI and WASM online for DingTalk send markdown message.","archived":false,"fork":false,"pushed_at":"2024-09-25T09:06:34.000Z","size":6619,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-17T00:41:26.714Z","etag":null,"topics":["cli","dingding","dingtalk","dingtalk-robot","golang","wasm"],"latest_commit_sha":null,"homepage":"https://alswl.github.io/dingmark/","language":"JavaScript","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/alswl.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"publiccode":null,"codemeta":null}},"created_at":"2024-02-05T05:10:11.000Z","updated_at":"2024-09-25T09:06:38.000Z","dependencies_parsed_at":"2024-10-27T19:18:35.435Z","dependency_job_id":"405f95a5-7a3d-4571-8ccf-3a56c07205a7","html_url":"https://github.com/alswl/dingmark","commit_stats":null,"previous_names":["alswl/dingmark"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alswl%2Fdingmark","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alswl%2Fdingmark/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alswl%2Fdingmark/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alswl%2Fdingmark/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alswl","download_url":"https://codeload.github.com/alswl/dingmark/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244325164,"owners_count":20435052,"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","dingding","dingtalk","dingtalk-robot","golang","wasm"],"created_at":"2024-10-10T02:53:55.202Z","updated_at":"2025-03-18T23:30:48.934Z","avatar_url":"https://github.com/alswl.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dingmark (CLI \u0026 WASM)\n\nGo CLI and WASM online for DingTalk send markdown message.\n\n## WASM online(Recommended)\n\n[dingmark(WASM)](https://alswl.github.io/dingmark/)\n\n![img.png](assets/snapshot.png)\n\n## CLI\n\nSend markdown:\n\n```bash\ndingmark send \\\n    --token 129xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxf7 \\\n    --secret SECf8exxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx670 \\\n    \"欢迎使用 dingmark\" \\\n    '今天撸了一个新项目 dingmark，可以使用 Markdown 来发送钉钉消息，消息内容可以是富文本。 \n\n![img](https://github.com/alswl/dingmark/raw/master/assets/snapshot.png)\n\n特别之处在，这个项目不仅提供一个 cli 命令，还基于 WASM 做了在线版本，用户可以不用下载命令直接在网页上发送消息。 \n\n点开即用，快来试试吧，\n\n[dingmark(WASM)](https://alswl.github.io/dingmark/)'\n```\n\nMore:\n\n```bash\ndingmark -h\nUsage:\n  dingmark [command]\n\nAvailable Commands:\n  completion  Generate the autocompletion script for the specified shell\n  help        Help about any command\n  send        \n\nFlags:\n      --config string   config file (default is $HOME/.config/dingmark.yaml)\n  -h, --help            help for dingmark\n      --secret string   secret\n      --token string    token\n  -v, --version         version for dingmark\n\nUse \"dingmark [command] --help\" for more information about a command.\n```\n\nDocument: [alswl/dingmark/docs](https://github.com/alswl/dingmark/blob/master/docs/dingmark.md)\n\n### CLI Configurations\n\nConfig file is located at `$HOME/.config/dingmark.yaml`.\n\n```yaml\ntoken: 129xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxf7\nsecret: SECxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx670\n```\n\n## Deploy your self-host WASM\n\n- prepare cors.sh token, and put it to `.cors.sh-token`\n- run `build-wasm.sh` to build wasm\n- now the `static` directory is ready to deploy\n    - I recommend to use Github Pages to host the static files\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falswl%2Fdingmark","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falswl%2Fdingmark","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falswl%2Fdingmark/lists"}