{"id":20957302,"url":"https://github.com/abcdesktopio/webmodules","last_synced_at":"2025-10-20T01:32:52.473Z","repository":{"id":40674510,"uuid":"356902320","full_name":"abcdesktopio/webModules","owner":"abcdesktopio","description":"abcdesktop.io frontend web content","archived":false,"fork":false,"pushed_at":"2025-09-29T15:25:34.000Z","size":8260,"stargazers_count":5,"open_issues_count":7,"forks_count":2,"subscribers_count":1,"default_branch":"4.2","last_synced_at":"2025-09-29T17:28:26.818Z","etag":null,"topics":["css","html","javascript","less","ws","wss","xterm"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/abcdesktopio.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-04-11T15:17:00.000Z","updated_at":"2025-09-29T15:25:39.000Z","dependencies_parsed_at":"2023-02-07T21:00:41.392Z","dependency_job_id":"28f59f43-f854-4ab3-9aca-90fde1cb2d55","html_url":"https://github.com/abcdesktopio/webModules","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/abcdesktopio/webModules","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abcdesktopio%2FwebModules","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abcdesktopio%2FwebModules/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abcdesktopio%2FwebModules/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abcdesktopio%2FwebModules/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abcdesktopio","download_url":"https://codeload.github.com/abcdesktopio/webModules/tar.gz/refs/heads/4.2","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abcdesktopio%2FwebModules/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279970570,"owners_count":26252764,"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","status":"online","status_checked_at":"2025-10-19T02:00:07.647Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["css","html","javascript","less","ws","wss","xterm"],"created_at":"2024-11-19T01:31:06.250Z","updated_at":"2025-10-20T01:32:52.469Z","avatar_url":"https://github.com/abcdesktopio.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# webModules\n\n## About this repository\nwebModules repository contains the HTML/JS files for the abcdesktop website.\n\n## To get more informations\nPlease, read the public documentation web site:\n* [https://www.abcdesktop.io/](https://www.abcdesktop.io/)\n\n## Update and custom front end image\n\n### Requirements \n- `docker` command line to build new image\n- `kubectl` to apply new yaml file\n\n### Clone default webmodules  \n\n```bash\ngit clone -b 4.1 https://github.com/abcdesktopio/webModules.git\n```\n\n## Locate project and ui files \n\n### Update ui.json file\n\nUpdate your `ui.json` file.  `ui.json` is located in `transpile/config` directory.\n\n\n```bash\n# cd webModules/transpile/config\n# ls -la\ntotal 204\ndrwxrwxr-x   1 root root   4096 Feb  1 15:14 .\ndrwxr-xr-x   1 root root   4096 Feb  1 15:14 ..\n-rw-rw-r--   1 root root     34 Feb  1 15:14 .cache.json\n-rw-rw-r--   1 root root   2215 Feb  1 15:11 modules.json\n-rw-rw-r--   1 root root   1044 Feb  1 15:11 ui.json\n```\n\n`ui.json` is a json dictionary file\n\nThe main entry is `name`, name is the project name:\n\n\n| entry          | default value       | example          |\n|----------------|---------------------|------------------|\n| name           | abcdesktop.io       | acmedesktop.io   |\n\n\n```json\n{\n  \"name\": \"abcdesktop.io\",\n  \"projectNameSplitedHTML\": \"\u003cspan id='projectNameSplitedStagea'\u003ea\u003c/span\u003e\u003cspan id='projectNameSplitedStageb'\u003eb\u003c/span\u003e\u003cspan id='projectNameSplitedStagec'\u003ec\u003c/span\u003e\u003cspan id='p\nrojectNameSplitedStaged'\u003edesktop\u003c/span\u003e\",\n  \"colors\": [\n    {\n      \"name\": \"@x11bgcolor\",\n      \"value\": \"#6EC6F0\"\n    },\n    {\n      \"name\": \"@primary\",\n      \"value\": \"#474B55\"\n    },\n    {\n      \"name\": \"@secondary\",\n      \"value\": \"#2D2D2D\"\n    },\n    {\n      \"name\": \"@tertiary\",\n      \"value\": \"#6EC6F0\"\n    },\n    {\n      \"name\": \"@quaternary\",\n      \"value\": \"#1E1E1E\"\n    },\n    {\n      \"name\": \"@svgColor\",\n      \"value\": \"#FFFFFF\"\n    },\n    {\n      \"name\": \"@danger\",\n      \"value\": \"#CD3C14\"\n    },\n    {\n      \"name\": \"@success\",\n      \"value\": \"#32C832\"\n    },\n    {\n      \"name\": \"@info\",\n      \"value\": \"#527EDB\"\n    },\n    {\n      \"name\": \"@warning\",\n      \"value\": \"#FFCC00\"\n    },\n    {\n      \"name\": \"@light\",\n      \"value\": \"#FFFFFF\"\n    },\n    {\n      \"name\": \"@dark\",\n      \"value\": \"#666666\"\n    },\n    {\n      \"name\": \"@blue\",\n      \"value\": \"#4BB4E6\"\n    },\n    {\n      \"name\": \"@green\",\n      \"value\": \"#50BE87\"\n    },\n    {\n      \"name\": \"@purple\",\n      \"value\": \"#A885D8\"\n    },\n    {\n      \"name\": \"@pink\",\n      \"value\": \"#FFB4E6\"\n    },\n    {\n      \"name\": \"@yellow\",\n      \"value\": \"#FFD200\"\n    }\n  ],\n  \"urlcannotopensession\": \"/identification/site/\",\n  \"urlusermanual\":  \"https://www.abcdesktop.io/\",\n  \"urlusersupport\": \"https://www.abcdesktop.io/\",\n  \"urlopensourceproject\": \"https://www.abcdesktop.io/\"\n}\n```\n\n##### Login progress\n\nLogin progress is from HTML `span` tags\n\n```html\n\u003cspan id='projectNameSplitedStagea'\u003ea\u003c/span\u003e\n\u003cspan id='projectNameSplitedStageb'\u003eb\u003c/span\u003e\n\u003cspan id='projectNameSplitedStagec'\u003ec\u003c/span\u003e\n\u003cspan id='projectNameSplitedStaged'\u003edesktop\u003c/span\u003e\n```\n\n\n#### Colors dictionary entries\n\n| entry          | default value  | example   |\n|----------------|----------------|-----------|\n| @primary       | #474B55        | #474B55   |\n| @secondatry    | #2D2D2D        | #2D2D2D   |\n| @tertiary      | #6EC6F0        | #6EC6F0   |\n\n### Create a new `Dockerfile` to build changes\n\n#### Update the ui.json with your own values\n\nChange for example the name to\n\n```\n\"name\": \"acmedesktop.io\"\n```\n\nand the  \n\n```\n@tertiary \"value\": \"#00BCD4\"\n```\n\nExample\n\n```json\n{\n  \"name\": \"acmedesktop.io\",\n  \"projectNameSplitedHTML\": \"\u003cspan id='projectNameSplitedStagea'\u003ea\u003c/span\u003e\u003cspan id='projectNameSplitedStageb'\u003ec\u003c/span\u003e\u003cspan id='projectNameSplitedStagec'\u003eme\u003c/span\u003e\u003cspan id='p\nrojectNameSplitedStaged'\u003edesktop\u003c/span\u003e\",\n  \"colors\": [\n    {\n      \"name\": \"@x11bgcolor\",\n      \"value\": \"#6EC6F0\"\n    },\n    {\n      \"name\": \"@primary\",\n      \"value\": \"#474B55\"\n    },\n    {\n      \"name\": \"@secondary\",\n      \"value\": \"#2D2D2D\"\n    },\n    {\n      \"name\": \"@tertiary\",\n      \"value\": \"#00BCD4\"\n    },\n    {\n      \"name\": \"@quaternary\",\n      \"value\": \"#1E1E1E\"\n    },\n    {\n      \"name\": \"@svgColor\",\n      \"value\": \"#FFFFFF\"\n    },\n    {\n      \"name\": \"@danger\",\n      \"value\": \"#CD3C14\"\n    },\n    {\n      \"name\": \"@success\",\n      \"value\": \"#32C832\"\n    },\n    {\n      \"name\": \"@info\",\n      \"value\": \"#527EDB\"\n    },\n    {\n      \"name\": \"@warning\",\n      \"value\": \"#FFCC00\"\n    },\n    {\n      \"name\": \"@light\",\n      \"value\": \"#FFFFFF\"\n    },\n    {\n      \"name\": \"@dark\",\n      \"value\": \"#666666\"\n    },\n    {\n      \"name\": \"@blue\",\n      \"value\": \"#4BB4E6\"\n    },\n    {\n      \"name\": \"@green\",\n      \"value\": \"#50BE87\"\n    },\n    {\n      \"name\": \"@purple\",\n      \"value\": \"#A885D8\"\n    },\n    {\n      \"name\": \"@pink\",\n      \"value\": \"#FFB4E6\"\n    },\n    {\n      \"name\": \"@yellow\",\n      \"value\": \"#FFD200\"\n    }\n  ],\n  \"urlcannotopensession\": \"/identification/site/\",\n  \"urlusermanual\":  \"https://www.abcdesktop.io/\",\n  \"urlusersupport\": \"https://www.abcdesktop.io/\",\n  \"urlopensourceproject\": \"https://www.abcdesktop.io/\"\n}\n```\n\n\n#### docker build\n\nRun the docker build command to build the new `oc.nginx:acme` image\nThe target image is `abcdesktopio/oc.nginx:acme` you shoudl change it with your own for example `myacme/oc.nginx:acme`\n\n```bash\ndocker build --build-arg NODE_MAJOR=20 --build-arg BASE_IMAGE=abcdesktopio/oc.nginx.builder --build-arg BASE_IMAGE_RELEASE=3.3 --build-arg TARGET=dev  -t abcdesktopio/oc.nginx:acme -f Dockerfile .\n```\n\n```bash\ndocker build --build-arg NODE_MAJOR=20 --build-arg BASE_IMAGE=abcdesktopio/oc.nginx.builder --build-arg BASE_IMAGE_RELEASE=3.3 --build-arg TARGET=prod  -t abcdesktopio/oc.nginx:acme -f Dockerfile .\n[+] Building 16.5s (19/19) FINISHED                                                                                                                          docker:default\n =\u003e [internal] load build definition from Dockerfile                                                                                                                   0.0s\n =\u003e =\u003e transferring dockerfile: 962B                                                                                                                                   0.0s\n =\u003e [internal] load metadata for docker.io/library/nginx:latest                                                                                                        0.0s\n =\u003e [internal] load metadata for docker.io/abcdesktopio/oc.nginx.builder:3.3                                                                                           0.0s\n =\u003e [internal] load .dockerignore                                                                                                                                      0.0s\n =\u003e =\u003e transferring context: 2B                                                                                                                                        0.0s\n =\u003e CACHED [stage-1 1/2] FROM docker.io/library/nginx:latest                                                                                                           0.0s\n =\u003e CACHED [builder  1/11] FROM docker.io/abcdesktopio/oc.nginx.builder:3.3                                                                                            0.0s\n =\u003e [internal] load build context                                                                                                                                      0.1s\n =\u003e =\u003e transferring context: 265.27kB                                                                                                                                  0.1s\n =\u003e [builder  2/11] RUN echo current branch is                                                                                                                         0.2s\n =\u003e [builder  3/11] RUN echo NODE release is 20                                                                                                                        0.2s\n =\u003e [builder  4/11] RUN echo current target is prod it can be 'dev' or 'prod'                                                                                          0.2s\n =\u003e [builder  5/11] COPY . /var/webModules                                                                                                                             0.4s\n =\u003e [builder  6/11] WORKDIR /var/webModules                                                                                                                            0.1s\n =\u003e [builder  7/11] RUN make clean                                                                                                                                     0.7s\n =\u003e [builder  8/11] RUN make prod                                                                                                                                      9.7s\n =\u003e [builder  9/11] RUN ./mkversion.sh \u0026\u0026 cat version.json                                                                                                             0.2s\n =\u003e [builder 10/11] RUN /myenv/bin/html5validator index.html                                                                                                           2.0s \n =\u003e [builder 11/11] RUN make removebuildtools                                                                                                                          0.8s \n =\u003e [stage-1 2/2] COPY --from=builder /var/webModules /usr/share/nginx/html                                                                                            0.7s \n =\u003e exporting to image                                                                                                                                                 0.7s \n =\u003e =\u003e exporting layers                                                                                                                                                0.7s \n =\u003e =\u003e writing image sha256:d7bdbc9f7fafe3282161551e84c5997bb12051bded6405190267863dd73a1698                                                                           0.0s\n =\u003e =\u003e naming to docker.io/abcdesktopio/oc.nginx:acme  \n```\n\n#### update the `abcdesktop.yaml`\n\n- update the `abcdesktop.yaml` to replace `abcdesktopio/oc.nginx:3.3` by your own image `myacme/oc.nginx:acme`\n- apply the new `abcdesktop.yaml`\n\n```\nkubectl apply -f abcdesktop.yaml\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabcdesktopio%2Fwebmodules","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabcdesktopio%2Fwebmodules","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabcdesktopio%2Fwebmodules/lists"}