{"id":20235241,"url":"https://github.com/ajnasz/objectid-fennel","last_synced_at":"2026-05-18T11:07:20.746Z","repository":{"id":66854957,"uuid":"403339490","full_name":"Ajnasz/objectid-fennel","owner":"Ajnasz","description":"Generate mongodb object id in fennel (lua)","archived":false,"fork":false,"pushed_at":"2022-07-20T09:34:01.000Z","size":19,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-11T11:52:34.004Z","etag":null,"topics":["fennel","lua","mongoid","objectid","redis"],"latest_commit_sha":null,"homepage":"","language":"Fennel","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/Ajnasz.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,"zenodo":null}},"created_at":"2021-09-05T15:09:23.000Z","updated_at":"2022-07-20T09:34:39.000Z","dependencies_parsed_at":"2023-05-11T18:00:14.286Z","dependency_job_id":null,"html_url":"https://github.com/Ajnasz/objectid-fennel","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Ajnasz/objectid-fennel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ajnasz%2Fobjectid-fennel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ajnasz%2Fobjectid-fennel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ajnasz%2Fobjectid-fennel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ajnasz%2Fobjectid-fennel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ajnasz","download_url":"https://codeload.github.com/Ajnasz/objectid-fennel/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ajnasz%2Fobjectid-fennel/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33175908,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"ssl_error","status_checked_at":"2026-05-18T09:27:28.300Z","response_time":71,"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":["fennel","lua","mongoid","objectid","redis"],"created_at":"2024-11-14T08:15:23.140Z","updated_at":"2026-05-18T11:07:20.741Z","avatar_url":"https://github.com/Ajnasz.png","language":"Fennel","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ObjectID generator in fennel\n\nThe project is to experiment with the fennel language ([https://fennel-lang.org/](https://fennel-lang.org/))\n\n## Run\n\n```sh\nfennel main.fnl\n```\n\nTo generate 10 objectids\n```sh\nfennel main.fnl 10\n```\n\n## Compile to lua\n\n```sh\nfennel --compile --require-as-include main.fnl \u003e main.lua\n```\n\n```sh\nlua main.lua\n```\n\nTo generate 10 objectids\n```sh\nlua main.lua 10\n```\n\n### Use as a library\n\n```sh\nfennel --compile --require-as-include objectid.fnl \u003e objectid.lua\n```\n\n```lua\noid = require'objectid'\nprint(oid.generate())\n```\n\n## ObjectID redis\n\n```sh\n$ fennel --compile objectid-redis.fnl \u003e objectid-redis.lua\n$ redis-cli --eval objectid-redis.lua 2\n1) \"62c9cba68935721da3887375\"\n2) \"62c9cba68935721da3887376\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fajnasz%2Fobjectid-fennel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fajnasz%2Fobjectid-fennel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fajnasz%2Fobjectid-fennel/lists"}