{"id":19687149,"url":"https://github.com/trinitronx/docker-metadata-action-repl","last_synced_at":"2026-05-15T19:33:13.267Z","repository":{"id":249361380,"uuid":"831309876","full_name":"trinitronx/docker-metadata-action-REPL","owner":"trinitronx","description":"Moment.js docker/metadata-action OCI Date Format REPL","archived":false,"fork":false,"pushed_at":"2024-07-24T01:58:56.000Z","size":43,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-20T19:24:45.892Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://jsfiddle.net/TrinitronX/xLpfav96/1481/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/trinitronx.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-20T07:24:35.000Z","updated_at":"2024-07-24T01:58:00.000Z","dependencies_parsed_at":"2025-03-22T13:31:41.644Z","dependency_job_id":null,"html_url":"https://github.com/trinitronx/docker-metadata-action-REPL","commit_stats":null,"previous_names":["trinitronx/docker-metadata-action-repl"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/trinitronx/docker-metadata-action-REPL","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trinitronx%2Fdocker-metadata-action-REPL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trinitronx%2Fdocker-metadata-action-REPL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trinitronx%2Fdocker-metadata-action-REPL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trinitronx%2Fdocker-metadata-action-REPL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trinitronx","download_url":"https://codeload.github.com/trinitronx/docker-metadata-action-REPL/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trinitronx%2Fdocker-metadata-action-REPL/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33076204,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T11:35:32.926Z","status":"ssl_error","status_checked_at":"2026-05-15T11:35:31.362Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":[],"created_at":"2024-11-11T18:33:15.499Z","updated_at":"2026-05-15T19:33:13.250Z","avatar_url":"https://github.com/trinitronx.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Moment.js docker/metadata-action OCI Date Format REPL\n\nA tool for fiddling with Docker OCI metadata formats\n([handlebars][0] -\u003e [moment.js time format string][1]).\n\nA simple REPL is implemented which accepts a bare handlebars string in the\nformat:\n\n```handlebars\n{{ date 'format-string' }}\n```\n\nWhere '`format-string`' is a [moment.js date format specifier][1]\n(e.g. '`YYYY-MM-DD HH:mm:ss.SSSS A Z`' )\n\nCurrently only supports handlebars commands, matching the pattern:\n\n```regexp\n/^{{.*}}$/\n```\n\n## Usage\n\n- View the [live demo here][2]\n  - Two dynamically updating example timestamp patterns are provided\n    - `{{date 'YYYYMMDD-hhmmss'}}`: A default sample\n      [`schedule` date string from docker/metadata-action][3]\n    - `YYYY-MM-DDTHH:mm:ss.SSSSZ`: A recommended date format that conforms to\n      [both RFC 3339 + ISO 8601][5] (`ISO 8601-1:2019`).  Suitable for use as an\n      [Open Container Image (`OCI`) annotation][6]: `org.opencontainers.image.created`\n  - Type an arbitrary handlebars date string supported by\n    [docker/metadata-action][3] and press \u003ckbd\u003eEnter\u003c/kbd\u003e to see how it renders\n    to an actual date.\n\n## Known Issues / TODO\n\n- No support for standard readline controls\n- Likewise, no support for command history\n- No support for paste\n- No support for prompt backstop on lines other than 1\n  - Currently backspace deletes prompt text if on lines after first one\n- No support for other commands (it's a fake command prompt)\n\n[0]: https://handlebarsjs.com/guide/#what-is-handlebars\n[1]: https://momentjs.com/docs/#/displaying/format/\n[2]: https://jsfiddle.net/TrinitronX/xLpfav96/1481/\n[3]: https://github.com/docker/metadata-action/?tab=readme-ov-file#typeschedule\n[4]: https://github.com/docker/metadata-action/\n[5]: https://ijmacd.github.io/rfc3339-iso8601/\n[6]: https://github.com/opencontainers/image-spec/blob/main/annotations.md#pre-defined-annotation-keys\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrinitronx%2Fdocker-metadata-action-repl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrinitronx%2Fdocker-metadata-action-repl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrinitronx%2Fdocker-metadata-action-repl/lists"}