{"id":19298247,"url":"https://github.com/casbin/casbin-editor","last_synced_at":"2025-04-22T14:48:23.922Z","repository":{"id":38846344,"uuid":"120416983","full_name":"casbin/casbin-editor","owner":"casbin","description":"Web-based model \u0026 policy editor for Casbin","archived":false,"fork":false,"pushed_at":"2025-02-13T13:42:35.000Z","size":13041,"stargazers_count":92,"open_issues_count":4,"forks_count":25,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-10T19:48:59.905Z","etag":null,"topics":["abac","access-control","acl","authorization","casbin","dsl","editor","go","gui","model","pbac","policy","rbac","rule"],"latest_commit_sha":null,"homepage":"https://editor.casbin.org","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/casbin.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},"funding":{"github":"casbin"}},"created_at":"2018-02-06T07:20:33.000Z","updated_at":"2025-04-05T10:20:33.000Z","dependencies_parsed_at":"2024-11-09T16:38:03.687Z","dependency_job_id":null,"html_url":"https://github.com/casbin/casbin-editor","commit_stats":{"total_commits":115,"total_committers":14,"mean_commits":8.214285714285714,"dds":0.7043478260869565,"last_synced_commit":"6f34b11b3cef82a127424cf931429d85e8ff8cbd"},"previous_names":[],"tags_count":58,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casbin%2Fcasbin-editor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casbin%2Fcasbin-editor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casbin%2Fcasbin-editor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casbin%2Fcasbin-editor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/casbin","download_url":"https://codeload.github.com/casbin/casbin-editor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248345273,"owners_count":21088244,"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":["abac","access-control","acl","authorization","casbin","dsl","editor","go","gui","model","pbac","policy","rbac","rule"],"created_at":"2024-11-09T23:07:23.392Z","updated_at":"2025-04-22T14:48:23.904Z","avatar_url":"https://github.com/casbin.png","language":"TypeScript","funding_links":["https://github.com/sponsors/casbin"],"categories":[],"sub_categories":[],"readme":"# Casbin-editor\n\n[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](#badge)\n[![Build](https://github.com/casbin/casbin-editor/actions/workflows/release.yml/badge.svg)](https://github.com/casbin/casbin-editor/actions/workflows/release.yml)\n[![Release](https://img.shields.io/github/release/casbin/casbin-editor.svg)](https://github.com/casbin/casbin-editor/releases/latest)\n[![GitHub issues](https://img.shields.io/github/issues/casbin/casbin-editor?style=flat-square)](https://github.com/casbin/casbin-editor/issues)\n[![GitHub forks](https://img.shields.io/github/forks/casbin/casbin-editor?style=flat-square)](https://github.com/casbin/casbin-editor/network)\n[![Sourcegraph](https://sourcegraph.com/github.com/casbin/casbin-editor/-/badge.svg)](https://sourcegraph.com/github.com/casbin/casbin-editor?badge)\n[![License](https://img.shields.io/github/license/casbin/casbin-editor?style=flat-square)](https://github.com/casbin/casbin-editor/blob/master/LICENSE)\n[![Discord](https://img.shields.io/discord/1022748306096537660?logo=discord\u0026label=discord\u0026color=5865F2)](https://discord.gg/S5UjpzGZjN)\n\nCasbin-editor is a web-based Casbin model and policy editor. It's based on Next.js + TypeScript.\n\nUse the Casbin-editor to write your Casbin model and policy in your web browser.\nIt provides functionality such as syntax highlighting and code completion, just like an IDE for a programming language.\n\nTry it at either:\n\n1. Casbin official website: https://casbin.org/editor\n2. Our standalone GitHub pages: https://editor.casbin.org\n\n## How it works?\n\nCasbin-editor is a pure frontend Javascript project. It uses [node-casbin](https://github.com/casbin/node-casbin) to perform policy enforcement. It's notable that node-casbin can be used either in frontend Javascript or Node.js.\n\nThis project can be viewed as an example for using node-casbin in the browser.\n\n## For Dev\n\n```shell\nyarn install\nyarn dev\n```\n\nOpen browser: http://localhost:3000/\n\n## Production Preview\n\n```shell\nyarn build\n\n# Make sure port 3000 is not in use\nyarn start\n```\n\nOpen browser: http://localhost:3000/\n\n## For Electron\n\nThis project supports being built as an Electron app:\n\n```shell\nyarn install\nyarn dist\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcasbin%2Fcasbin-editor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcasbin%2Fcasbin-editor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcasbin%2Fcasbin-editor/lists"}