{"id":50147658,"url":"https://github.com/tanox/obs_realtime_clock","last_synced_at":"2026-05-24T06:01:16.124Z","repository":{"id":359811170,"uuid":"1247587538","full_name":"Tanox/OBS_Realtime_Clock","owner":"Tanox","description":"一个功能强大的 OBS Studio Lua 脚本，用于显示实时日期和时间，提供丰富的自定义选项。","archived":false,"fork":false,"pushed_at":"2026-05-23T15:47:32.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-23T16:24:25.326Z","etag":null,"topics":["lua","obs","time"],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Tanox.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-23T14:12:43.000Z","updated_at":"2026-05-23T15:47:36.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/Tanox/OBS_Realtime_Clock","commit_stats":null,"previous_names":["tanox/obs_realtime_clock"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/Tanox/OBS_Realtime_Clock","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tanox%2FOBS_Realtime_Clock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tanox%2FOBS_Realtime_Clock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tanox%2FOBS_Realtime_Clock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tanox%2FOBS_Realtime_Clock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Tanox","download_url":"https://codeload.github.com/Tanox/OBS_Realtime_Clock/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tanox%2FOBS_Realtime_Clock/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33423284,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-23T22:14:44.296Z","status":"online","status_checked_at":"2026-05-24T02:00:06.296Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["lua","obs","time"],"created_at":"2026-05-24T06:01:15.028Z","updated_at":"2026-05-24T06:01:16.114Z","avatar_url":"https://github.com/Tanox.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OBS 实时日期时间脚本\n\n一个功能强大的 OBS Studio Lua 脚本，用于显示实时日期和时间，提供丰富的自定义选项。\n\n## 功能特性\n\n- **文本源关联**: 可关联到 OBS 场景中的任意文本源\n- **多种格式预设**: 7 种预定义的日期/时间格式可选\n- **自定义格式支持**: 使用标准日期/时间格式符创建你自己的格式\n- **时区支持**: 本地时区或 UTC\n- **灵活的更新间隔**: 50ms 到 5000ms\n- **视觉自定义**: 字体大小、颜色和字体\n- **显示/隐藏元素**: 可切换秒、日期和时间的显示\n- **自定义分隔符**: 修改日期和时间的分隔符\n- **前缀/后缀**: 在时钟前后添加自定义文本\n- **大写选项**: 全大写显示\n- **对齐方式**: 左对齐、居中或右对齐\n\n## 安装\n\n1. 下载 `realtime_clock.lua`\n2. 打开 OBS Studio\n3. 进入 工具 → 脚本\n4. 点击 \"+\" 按钮\n5. 选择 `realtime_clock.lua`\n6. 配置脚本设置\n\n## 使用方法\n\n### 基本设置\n\n1. 在 OBS 场景中创建一个文本源（GDI+ 文本或 FreeType 2 文本）\n2. 打开脚本窗口（工具 → 脚本）\n3. 选择 \"实时日期时间\" 脚本\n4. 从 \"文本源\" 下拉菜单中选择你的文本源\n5. 根据需要自定义设置\n\n### 格式说明符\n\n在自定义格式中使用以下格式符：\n\n| 格式符 | 说明 | 示例 |\n|--------|------|------|\n| %Y | 4 位年份 | 2024 |\n| %y | 2 位年份 | 24 |\n| %m | 月份 (01-12) | 05 |\n| %B | 完整月份名称 | 五月 |\n| %b | 缩写月份名称 | 五 |\n| %d | 日期 (01-31) | 23 |\n| %A | 完整星期名称 | 星期四 |\n| %a | 缩写星期名称 | 四 |\n| %H | 小时 (00-23) | 14 |\n| %I | 小时 (01-12) | 02 |\n| %M | 分钟 (00-59) | 30 |\n| %S | 秒 (00-59) | 45 |\n| %p | AM/PM 标识 | 下午 |\n\n## 文件结构\n\n```\nobs_realtime_clock/\n├── realtime_clock.lua    # 主脚本文件\n├── README.md             # 中文文档（默认）\n├── README_EN.md         # 英文文档\n├── CHANGELOG.md         # 更新日志（中文）\n├── CHANGELOG_EN.md     # 更新日志（英文）\n└── openspec/\n    └── project.md       # 项目规范文档\n```\n\n## 版本\n\nv1.0.1\n\n## 许可证\n\nMIT 许可证\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftanox%2Fobs_realtime_clock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftanox%2Fobs_realtime_clock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftanox%2Fobs_realtime_clock/lists"}