{"id":19751487,"url":"https://github.com/zanjie1999/workdayalarmclockandroid","last_synced_at":"2026-06-15T02:09:33.971Z","repository":{"id":178513877,"uuid":"661933631","full_name":"zanjie1999/workdayAlarmClockAndroid","owner":"zanjie1999","description":"工作咩闹钟 workdayAlarmClockGo的Android服务端 用于播放声音 因为Android下没有像sox那样的命令行播放器 兼命令行音乐播放器  禁止商用","archived":false,"fork":false,"pushed_at":"2026-05-15T17:26:55.000Z","size":51806,"stargazers_count":34,"open_issues_count":0,"forks_count":8,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-05-15T19:37:07.129Z","etag":null,"topics":["android","kotlin","kotlin-android","shell"],"latest_commit_sha":null,"homepage":"https://github.com/zanjie1999/workdayAlarmClockGo","language":"Kotlin","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/zanjie1999.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-07-04T02:21:37.000Z","updated_at":"2026-05-15T17:26:59.000Z","dependencies_parsed_at":"2023-10-02T22:15:38.625Z","dependency_job_id":"4d5a2d54-343e-4f3e-86b5-cfd64647fd1c","html_url":"https://github.com/zanjie1999/workdayAlarmClockAndroid","commit_stats":null,"previous_names":["zanjie1999/workdayalarmclockandroid"],"tags_count":90,"template":false,"template_full_name":null,"purl":"pkg:github/zanjie1999/workdayAlarmClockAndroid","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zanjie1999%2FworkdayAlarmClockAndroid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zanjie1999%2FworkdayAlarmClockAndroid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zanjie1999%2FworkdayAlarmClockAndroid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zanjie1999%2FworkdayAlarmClockAndroid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zanjie1999","download_url":"https://codeload.github.com/zanjie1999/workdayAlarmClockAndroid/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zanjie1999%2FworkdayAlarmClockAndroid/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33391061,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-23T04:15:53.637Z","status":"ssl_error","status_checked_at":"2026-05-23T04:15:53.242Z","response_time":53,"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":["android","kotlin","kotlin-android","shell"],"created_at":"2024-11-12T02:44:21.156Z","updated_at":"2026-05-23T10:11:29.733Z","avatar_url":"https://github.com/zanjie1999.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 工作咩闹钟\n[workdayAlarmClockGo](https://github.com/zanjie1999/workdayAlarmClockGo)的Android服务端\n\n可以在每次在设定的网抑云歌单中随机播放指定分钟时长（默认4分钟大约1~2首）的音乐作为闹钟铃声，在全部播过一遍之前不会重复，  \n另外可以作为网抑云音乐播放器使用，随机播放永不重复，实现除语音助手外的智能音响应有的功能，部分vip也歌曲能放，吊打小爱音响！  \n其实是重构了6年前(2017)的一个Python3写的小程序\n\n本程序用于播放声音和启动程序，只是一个服务端，目标设备是带蓝牙的随身Wifi，全靠Golang写的服务在8080端口的Web服务交互，app本身就是一个控制台，右上角的按钮也可以控制播放，具体你可以自己点点看  \n兼容Android4.0及以上，在Android13开发，用于骁龙210的Android5.1，无需root即可完美运行\n\n如果要编译，请将Go编译输出的linux arm的二进制文件和linux arm64的二进制文件重命名放到\n```\n项目目录/app/libs/armeabi/libWorkdayAlarmClock.so\n项目目录/app/libs/arm64-v8a/libWorkdayAlarmClock.so\n```\n你可以把文件换成你自己的程序，使用本程序作为启动器  \n需要打包release包二进制文件才会被打包进去，然后安装启动  \n```\nadb install -r .\\app\\release\\app-release.apk ; adb shell am start -n com.zyyme.workdayalarmclock/.MainActivity\n```\n\n## 使用用法\n在右边Releases下载apk安装，部分系统比如MIUI需要设置允许自启动，电池不优化，然后打开 http://127.0.0.1:8080 进行配置，  \n如果使用别的设备打开，需要将127.0.0.1换成设备的ip地址(可以在刚启动的日志看到或者安卓的wifi设置中看到)  \n另外也可以作为一个终端使用，输入exit可以退出    \n支持媒体按键，上一首的按钮在不播放时按一下可以播放默认的歌单，再按一下可以切换成随机播放，在播放时可以回到上一首（只有一首的记录）  \n在暂停的时候按下一首可以停止（让没有停止按钮的设备可以停止）\n\n点击顶栏空白的地方可以进入 [时钟模式](#时钟模式)，  \n点击时间可以切换保持亮屏，点击日期可以切换浅色和深色主题\n\n更多说明请看 [workdayAlarmClockGo 如何使用](https://github.com/zanjie1999/workdayAlarmClockGo#%E5%A6%82%E4%BD%95%[E4](https://github.com/zanjie1999/workdayAlarmClockGo#%E5%A6%82%E4%BD%95%E4%BD%BF%E7%94%A8)%BD%BF%E7%94%A8)\n\n## 指令\n```shell\n# 退出\nexit\n# 启动\nrun\n```\n更多指令可以看[workdayAlarmClockGo 指令]([https://github.com/zanjie1999/workdayAlarmClockGo](https://github.com/zanjie1999/workdayAlarmClockGo#%E6%8C%87%E4%BB%A4))\n\n## \u003cdel\u003e文件flag\u003c/del\u003e 右上角菜单\n23.0开始迁移到了app右上角的菜单里  \n每个功能是做什么的应该还挺直观的，下面是一些注意事项  \n1. “开机开热点”只适合比较新的系统，例如android9,需要开启辅助功能权限，是做给小魔镜用的\n2. “授权熄屏权限”会引导你打开设备管理员权限，在闹钟开始时会自动亮屏，在闹钟结束时会自动锁屏\n   3. 如果你还安装了投屏软件或是小爱同学app，打开“自动回到时钟”，会在别的app停止播放声音后10秒回到时钟界面，解决语音唤醒后界面不会自动消失的问题\n\n## 时钟模式 （智能手表）\n点击控制台顶栏任意非右侧按钮的位置，或者点击常驻的通知，即可开启，或是作为双击电源键打开的相机来打开  \n适合在小屏幕触摸屏设备上使用，比如说智能手表，大屏设备也可以用，有自适应  \n点击时间可以开关保持亮屏的功能  \n点击日期可以切换亮色和暗色模式  \n长按时间可以停止播放  \n长按日期可以锁屏  \n当全屏时，上下左右滑动单击将控制播放\n支持作为双击电源键打开的相机，双击后启动时钟模式\n长按音量键可以上下一首\n\n## 应用列表\n代替启动器（也就是桌面），实现启动器启动应用这一功能  \n控制台长按顶栏，点击时钟模式顶部（横屏没有这块），“应用”按钮，按HOME键，都可以打开  \n长按应用图标在列表中置顶/取消置顶，长按名称部分进入应用信息\n\n## 特殊设备适配\n### 一说宝宝1s\n摸额头的触摸区域将瞬间显示当前电量强度，分为6格，越往右电量越高，18%左右的时候会显示一个（T T）的表情，要没电了会亮红灯，后续显示表情动画  \n按下鼻子为停止播放，顶部播放控制按钮也可以使用\n\n### 叮咚Play\n勿扰模式的按键：  \n短按播放/暂停  \n1秒下一首  \n2秒上一首  \n3秒停止  \n启动默认全屏时钟\n\n### 多亲qf9 （按键机）  \n使用上下左右键调节，确认键暂停，菜单键停止  \n按下拨号键可以彻底退出程序  \n可以点击通知来打开时钟模式，点应用图标打开控制台模式，此时通过方向键选择按钮按中间按键操作（可以达到触摸的效果）\n\n### 黑皮诺科技的智能绘本机器人H22\n就是绿色全志A33陪伴音箱\n启动默认全屏时钟  \n通过按键控制播放，需要先改按键，具体可以看BV1G9hdzkEz2  \n适配了屏幕overscan\n\n### 六个男孩智能科技的小魔镜\n正面唯一的按钮：  \n长按10秒启动小魔镜App  \n短按播放/暂停  \n1秒下一首  \n2秒上一首  \n3秒停止  \n在设置中打开双击电源及打开相机，并双击电源选择 工作咩闹钟 始终打开，则可以双击电源键回到时钟模式  \n\n### Bonjour闹钟\n使用顶部触摸按钮按下去来控制（触摸容易误触，用不了一点）：  \n短按播放/暂停  \n1秒下一首  \n2秒上一首  \n3秒停止  \n长按1秒音量+ 下一首\n长按1秒音量- 上一首\n开机启动需要将 工作咩闹钟 设置为启动器  \n\n### 协议 咩License\n使用此项目视为您已阅读并同意遵守 [此LICENSE](https://github.com/zanjie1999/LICENSE)   \nUsing this project is deemed to indicate that you have read and agreed to abide by [this LICENSE](https://github.com/zanjie1999/LICENSE)   \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzanjie1999%2Fworkdayalarmclockandroid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzanjie1999%2Fworkdayalarmclockandroid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzanjie1999%2Fworkdayalarmclockandroid/lists"}