{"id":18084931,"url":"https://github.com/coderofsalvation/riot-admin","last_synced_at":"2025-06-24T20:09:19.727Z","repository":{"id":146965569,"uuid":"46866270","full_name":"coderofsalvation/riot-admin","owner":"coderofsalvation","description":"generic api-agnostic admin dashboard interface, like ng-admin but less javascript-ish","archived":false,"fork":false,"pushed_at":"2020-05-28T19:24:38.000Z","size":253,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-06T00:13:27.132Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CSS","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/coderofsalvation.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"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":{"custom":"https://gumroad.com/l/hGYGh"}},"created_at":"2015-11-25T14:24:06.000Z","updated_at":"2020-05-28T19:24:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"fefc2a6b-5a77-47e2-8c38-502793a1a8c2","html_url":"https://github.com/coderofsalvation/riot-admin","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderofsalvation%2Friot-admin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderofsalvation%2Friot-admin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderofsalvation%2Friot-admin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderofsalvation%2Friot-admin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coderofsalvation","download_url":"https://codeload.github.com/coderofsalvation/riot-admin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderofsalvation%2Friot-admin/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":258923224,"owners_count":22778878,"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":[],"created_at":"2024-10-31T15:08:42.392Z","updated_at":"2025-06-24T20:09:19.675Z","avatar_url":"https://github.com/coderofsalvation.png","language":"CSS","funding_links":["https://gumroad.com/l/hGYGh"],"categories":[],"sub_categories":[],"readme":"generic api-agnostic admin dashboard interface, like ng-admin but less javascript-ish.\n\n\u003e NOTE: under construction / do not use\n\n\u003cimg alt=\"\" src=\".res/admin1.png\"/\u003e\n\n## Usage \n\n    \u003cscript type=\"text/javascript\" src=\"dist/riot-admin.js\"/\u003e\n\n    \u003c!-- customize collection header here --\u003e\n    \u003cscript type=\"riot/tag\"\u003e\n      \u003ccollection-header\u003e\n        \u003ch3\u003e{ title }\u003c/h3\u003e\n      \u003c/collection-header\u003e\n    \u003c/script\u003e\n\n    \u003cscript type=\"text/javascript\"\u003e\n      riotadmin({\n        \"project\":{\n          \"title\": \"riotadmin.io\",\n          \"logo\": \"\u003ci class='fa fa-fw fa-globe'/\u003e\u0026nbsp;\",\n          \"url\": \"http://mylandingpage.com\"\n        },\n        \"menu\":{\n          \"items\":[\n\n            .....\n\n            { \n              \"icon\":\"\u003ci class='fa fa-fw fa-area-chart'\u003e\u003c/i\u003e\u0026nbsp;\",\n              \"label\": \"Link\",\n              \"href\":\"/foo\",\n              \"target\": \"_blank\",\n              \"type\":\"link\"\n            },\n\n            .....\n\n            },{\n              \"icon\":\"\u003ci class='fa fa-fw fa-exchange'\u003e\u003c/i\u003e\u0026nbsp;\",\n              \"label\":\"REST items\",\n              \"href\":\"#/rest-items\",\n              \"type\":\"collection\",\n              \"data\": function(cb,options){\n                // replace data with an ajax/rest call (use options object to pass on query,sort,order,limit,offset etc)\n                cb({\n                  title: \"This is a collection\",\n                  data:[\n                    {\"name\":\"bar\",\"age\":12,\"type\":\"human\",\"sex\":\"male\",\"likes fishing\":\"no\"},\n                    {\"name\":\"bar\",\"age\":13,\"type\":\"human\",\"sex\":\"male\",\"likes fishing\":\"no\"},\n                    {\"name\":\"bar\",\"age\":14,\"type\":\"human\",\"sex\":\"male\",\"likes fishing\":\"no\"},\n                    {\"name\":\"bar\",\"age\":15,\"type\":\"human\",\"sex\":\"male\",\"likes fishing\":\"yes\"},\n                    {\"name\":\"bar\",\"age\":16,\"type\":\"human\",\"sex\":\"male\",\"likes fishing\":\"yes\"},\n                    {\"name\":\"bar\",\"age\":17,\"type\":\"human\",\"sex\":\"male\",\"likes fishing\":\"yes\"},\n                    {\"name\":\"bar\",\"age\":18,\"type\":\"human\",\"sex\":\"male\",\"likes fishing\":\"yes\"}\n                  ]\n                });\n              }\n\n           ..... and so on\n\n## Building \n\nThis is optional (for those who want to fiddle with the source), but here goes:\n\n    $ npm install riot-admin \n    // now run test/index.html in your browser\n\nfinally this will bundle everything into `dist/riot-admin.js`\n\n    $ npm run-script compile\n\n## Philosophy\n\n* configure from json \n* built to re-use and extend on\n* no steep javascript framework lock-in (ng-admin/ng-admin-react)\n* small \u0026 minimal (no jquery) by default\n* you need to provide data using ajax/rest/websocket etc\n\n## Easily extendable\n\n* Datatables ( see demo )\n* Dashboard [Gauges](https://npmjs.com/package/justgage) and [charts](https://www.npmjs.com/package/peity)\n\n## api\n\n* `$_` reference to document.querySelector        \n* `$$_` reference to document.querySelectorAll : \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderofsalvation%2Friot-admin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoderofsalvation%2Friot-admin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderofsalvation%2Friot-admin/lists"}