{"id":20816752,"url":"https://github.com/sformisano/netlify-cms-widget-simple-uuid","last_synced_at":"2025-05-07T13:23:21.176Z","repository":{"id":50950696,"uuid":"219600840","full_name":"sformisano/netlify-cms-widget-simple-uuid","owner":"sformisano","description":"A simple Netlify CMS widget to autogenerate IDs for collection items.","archived":false,"fork":false,"pushed_at":"2023-01-26T13:56:33.000Z","size":7,"stargazers_count":10,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-02-26T12:22:39.620Z","etag":null,"topics":["cms","jam","jamstack","js","netlify","netlify-cms","netlify-cms-widget","netlify-cms-widget-id","netlify-cms-widget-uuid","node","uuid"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/sformisano.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}},"created_at":"2019-11-04T21:33:29.000Z","updated_at":"2022-02-11T19:20:44.000Z","dependencies_parsed_at":"2023-02-14T17:45:49.416Z","dependency_job_id":null,"html_url":"https://github.com/sformisano/netlify-cms-widget-simple-uuid","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sformisano%2Fnetlify-cms-widget-simple-uuid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sformisano%2Fnetlify-cms-widget-simple-uuid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sformisano%2Fnetlify-cms-widget-simple-uuid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sformisano%2Fnetlify-cms-widget-simple-uuid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sformisano","download_url":"https://codeload.github.com/sformisano/netlify-cms-widget-simple-uuid/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225096001,"owners_count":17420274,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["cms","jam","jamstack","js","netlify","netlify-cms","netlify-cms-widget","netlify-cms-widget-id","netlify-cms-widget-uuid","node","uuid"],"created_at":"2024-11-17T21:36:44.466Z","updated_at":"2024-11-17T21:36:45.042Z","avatar_url":"https://github.com/sformisano.png","language":"JavaScript","funding_links":[],"categories":["Custom Widget"],"sub_categories":[],"readme":"# Netlify CMS Widget Simple UUID\n\nInstructions:\n\n1) Install the widget:\n```\nnpm i netlify-cms-widget-simple-uuid\n```\n\n2) Import the widget in your main netlify cms file:\n```\nimport idWidget from 'netlify-cms-widget-simple-uuid';\n```\n\n3) Register the widget like this:\n\n```\nCMS.registerWidget('id', idWidget.Control, idWidget.Preview);\n```\n\n4) Add the id field to your collection like this (the collection here is just an example):\n\n```\ncollections:\n  - name: \"post\"\n    label: \"Post\"\n    folder: \"post\"\n    create: true\n    slug: \"{{slug}}\"\n    fields:\n      - {label: \"ID\", name: \"id\", widget: \"id\"}\n```\n\nEnjoy!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsformisano%2Fnetlify-cms-widget-simple-uuid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsformisano%2Fnetlify-cms-widget-simple-uuid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsformisano%2Fnetlify-cms-widget-simple-uuid/lists"}