{"id":16913575,"url":"https://github.com/extrawurst/ulid-d","last_synced_at":"2026-02-28T04:02:10.627Z","repository":{"id":143309106,"uuid":"93782987","full_name":"extrawurst/ulid-d","owner":"extrawurst","description":"ULID implementation in D","archived":false,"fork":false,"pushed_at":"2018-10-02T11:54:09.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-29T04:31:12.557Z","etag":null,"topics":["d","dlang","ulid","uuid"],"latest_commit_sha":null,"homepage":null,"language":"D","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/extrawurst.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":"2017-06-08T19:07:13.000Z","updated_at":"2018-10-02T11:54:11.000Z","dependencies_parsed_at":"2023-06-25T22:16:34.392Z","dependency_job_id":null,"html_url":"https://github.com/extrawurst/ulid-d","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/extrawurst/ulid-d","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/extrawurst%2Fulid-d","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/extrawurst%2Fulid-d/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/extrawurst%2Fulid-d/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/extrawurst%2Fulid-d/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/extrawurst","download_url":"https://codeload.github.com/extrawurst/ulid-d/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/extrawurst%2Fulid-d/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29924719,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-27T19:37:42.220Z","status":"online","status_checked_at":"2026-02-28T02:00:07.010Z","response_time":90,"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":["d","dlang","ulid","uuid"],"created_at":"2024-10-13T19:14:00.282Z","updated_at":"2026-02-28T04:02:10.620Z","avatar_url":"https://github.com/extrawurst.png","language":"D","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ulid-d [![Build Status](https://travis-ci.org/Extrawurst/ulid-d.svg?branch=master)](https://travis-ci.org/Extrawurst/ulid-d)\nULID implementation in D\n\n# usage\n```\nimport std.stdio;\n\nimport ulid.ulid;\n\nvoid main()\n{\n    // simple usage but shows different time portions\n    writefln(\"simple: %s\", ULID.generate());\n    writefln(\"simple: %s\", ULID.generate().toString());\n\n    // set your own time stamp\n    writefln(\"custom time: %s\", ULID.generate(1469918176385).toString());\n    writefln(\"custom time: %s\", ULID.generate(1469918176385).toString());\n    writefln(\"custom time: %s \u003c- time portion\", ULID.generate(1469918176385).toString()[0 .. 10]);\n\n    static ubyte randomByte()\n    {\n        return 4;\n    }\n\n    // now we define all components manually by also overriding the random generator\n    writefln(\"all custom: %s\", ULID.generate(1469918176385, \u0026randomByte).toString());\n    writefln(\"all custom: %s\", ULID.generate(1469918176385, \u0026randomByte).toString());\n}\n```\n\nsee `source/demo.d`\n\n# build demo\n\n```\ndub --config=demo\n```\n\noutput:\n\n```\nsimple: 7DFPGD9GPH2X5T9Y05S7EDW3N2\nsimple: 7DFPGDEC1JQC153KSP6VPEF27T\ncustom time: 01ARYZ6S410EHN4S8FDPCWWQ00\ncustom time: 01ARYZ6S413XBZ5V68XJJTV5FS\ncustom time: 01ARYZ6S41 \u003c- time portion\nall custom: 01ARYZ6S410G2081040G208104\nall custom: 01ARYZ6S410G2081040G208104\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fextrawurst%2Fulid-d","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fextrawurst%2Fulid-d","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fextrawurst%2Fulid-d/lists"}