{"id":34748021,"url":"https://github.com/dabamos/openadms-ui","last_synced_at":"2026-05-26T09:32:39.158Z","repository":{"id":181686013,"uuid":"111833514","full_name":"dabamos/openadms-ui","owner":"dabamos","description":"JavaScript-based front-end for OpenADMS Server","archived":false,"fork":false,"pushed_at":"2020-11-04T20:32:28.000Z","size":14385,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-04-18T02:12:12.960Z","etag":null,"topics":["engineering","geodesy","iot","javascript","monitoring"],"latest_commit_sha":null,"homepage":"https://www.dabamos.de/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dabamos.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,"governance":null}},"created_at":"2017-11-23T17:01:53.000Z","updated_at":"2022-01-13T21:39:06.000Z","dependencies_parsed_at":"2023-07-16T20:44:20.359Z","dependency_job_id":null,"html_url":"https://github.com/dabamos/openadms-ui","commit_stats":null,"previous_names":["dabamos/openadms-ui"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dabamos/openadms-ui","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dabamos%2Fopenadms-ui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dabamos%2Fopenadms-ui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dabamos%2Fopenadms-ui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dabamos%2Fopenadms-ui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dabamos","download_url":"https://codeload.github.com/dabamos/openadms-ui/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dabamos%2Fopenadms-ui/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33514000,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T03:12:49.672Z","status":"ssl_error","status_checked_at":"2026-05-26T03:12:47.976Z","response_time":63,"last_error":"SSL_read: 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":["engineering","geodesy","iot","javascript","monitoring"],"created_at":"2025-12-25T04:56:28.009Z","updated_at":"2026-05-26T09:32:39.154Z","avatar_url":"https://github.com/dabamos.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![OpenADMS UI](https://www.dabamos.de/github/openadms.png)\n\n**OpenADMS UI** is a single-page application for the remote control of [OpenADMS\nServer](https://github.com/dabamos/openadms-server/) instances. It is written in\nstandard JavaScript, using some features of ECMAScript 2015. Therefore, a modern\nweb browser is required to run OpenADMS UI properly. All dependencies\n([jQuery](https://jquery.com/), [Backbone.js](https://backbonejs.org/),\n[Underscore.js](https://underscorejs.org/), …) are shipped with the source code.\n\n## Demo\nTry [OpenADMS UI](https://www.dabamos.de/openadms-ui/).\n\n## Run\nLaunch OpenADMS UI by serving the root directory with a web server of your\nchoice (nginx, Hiawatha, httpd, …). For testing, you can start the Python 3 HTTP\nserver module:\n\n```\n$ cd ../\n$ python3 -m http.server 8080\n```\n\nOr, simply execute ``run.sh``. Open your web browser and access\n[http://localhost:8080/openadms-ui/](http://localhost:8080/openadms-ui/).\nOpenADMS UI must be served from path ``openadms-ui/``. Otherwise, change\n``ROOT_PATH`` in ``core/openadms-ui.js`` to the actual path and reload the page.\n\n## Build\nThe JavaScript source code can be shipped without transpiling (no\n[Node.js](https://nodejs.org/) or [npm](https://www.npmjs.com/) required). To\nupdate the dependencies, copy the minified scripts to `vendor/`, and the\nminified style sheets to `assets/css/vendor/`.\n\nDo not bundle the source code, as all scripts are loaded dynamically.\n\n## Architecture\nThe OpenADMS UI Single-Page Application consists of four parts:\n\n1.  The **HTML template** `index.html` defines the layout of the web\n    application.\n2.  The **style sheet** is based on the [mini.css](https://minicss.org/)\n    framework. Some adjustments have been made to it in `assets/css/style.css`.\n3.  The application **source code** `core/openadms-ui.js` that preloads all\n    dependencies, loads modules, and creates the view. Model classes are loaded\n    from `core/model.js`, view classes from `core/view.js`, and the router from\n    `core/router.js`.\n4.  Pages are encapsulated in **modules** that are loaded dynamically from\n    directory `modules/`. Each module consists of an HTML template in\n    `template.html`, its (optional) logic in `module.js`, and mandatory meta\n    information in `meta.json`. Modules must be added to `modules/modules.json`\n    to be loaded by OpenADMS UI.\n\n## Adding Modules\nOpenADMS UI can be extended by writing additional modules. Add a module\ndirectory to ``modules/`` and place the following files inside it:\n\n* ``meta.json`` (module information),\n* ``template.html`` (Underscore.js template),\n* ``module.js`` (module script, may be empty).\n\nThe JSON file ``meta.json`` stores information regarding the module:\n\n```json\n{\n  \"name\": \"mymodule\",\n  \"title\": \"My Module\",\n  \"description\": \"A short description\",\n  \"menu\": true\n}\n```\n\nThe name must equal the name of the module directory. The title and the\ndescription will be displayed in the Underscore.js template. If ``menu`` is set\nto ``true``, a link to the module will be added to the navigation menu\nautomatically.\n\nThe HTML template ``template.html`` contains elements and optional Underscore.js\nplaceholders of meta values.\n\nThe module script ``module.js`` will be run as a JavaScript function each time\nthe module is loaded. The variable ``args`` is given as an argument to the\nmodule function and stores the complete routing path beyond the module name\n(e. g., ``#modules/mymodule/\u003cargs\u003e``).\n\n### Loading Modules\nEnable the module by adding the module name to ``modules`` in\n``modules/modules.json``. Open\n``http://localhost:8080/openadms-ui/#modules/mymodule``\nto display the module.\n\n### Sub Modules\nModules can have subordinate modules. You may want to use the\n``ui.loadModules()`` function to load them deferred.\n\n## JSDoc\nRun JSDoc to generate the source code documentation:\n\n```\n$ ./jsdoc.js -r ./core -d ./docs\n```\n\nYou will find the HTML pages in directory ``docs/``.\n\n## Licence\nOpenADMS UI is distributed under the BSD-2-Clause licence.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdabamos%2Fopenadms-ui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdabamos%2Fopenadms-ui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdabamos%2Fopenadms-ui/lists"}