{"id":25943458,"url":"https://github.com/tobitsoftware/chayns-js","last_synced_at":"2025-10-03T18:13:46.429Z","repository":{"id":15637482,"uuid":"85814217","full_name":"TobitSoftware/chayns-js","owner":"TobitSoftware","description":"The chayns® JavaScript API allows you to expand your Site with many useful features.","archived":false,"fork":false,"pushed_at":"2024-04-10T10:18:32.000Z","size":1197,"stargazers_count":19,"open_issues_count":13,"forks_count":3,"subscribers_count":20,"default_branch":"master","last_synced_at":"2024-04-14T06:09:50.870Z","etag":null,"topics":["chayns","javascript","javascript-library","tobit"],"latest_commit_sha":null,"homepage":"https://github.com/TobitSoftware/chayns-js/wiki","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TobitSoftware.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}},"created_at":"2017-03-22T10:21:46.000Z","updated_at":"2024-04-15T11:07:04.912Z","dependencies_parsed_at":"2024-04-15T11:06:53.493Z","dependency_job_id":"1ad304af-6faf-43ce-b1c6-80637d6d6e48","html_url":"https://github.com/TobitSoftware/chayns-js","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TobitSoftware%2Fchayns-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TobitSoftware%2Fchayns-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TobitSoftware%2Fchayns-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TobitSoftware%2Fchayns-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TobitSoftware","download_url":"https://codeload.github.com/TobitSoftware/chayns-js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241801253,"owners_count":20022390,"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":["chayns","javascript","javascript-library","tobit"],"created_at":"2025-03-04T07:16:46.533Z","updated_at":"2025-10-03T18:13:46.309Z","avatar_url":"https://github.com/TobitSoftware.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![license](https://img.shields.io/github/license/TobitSoftware/chayns-js.svg)]() [![GitHub pull requests](https://img.shields.io/github/issues-pr/TobitSoftware/chayns-js.svg)]() [![](https://img.shields.io/github/issues-pr-closed-raw/TobitSoftware/chayns-js.svg)]()\n\n# chayns® JavaScript API\n\nIn this section you will find general information about the chayns® JavaScript API. For more detailed information take a look at the [Wiki](https://github.com/TobitSoftware/chayns-js/wiki).\n\n## Getting started\n\n### Usage\n\nIf you want to use the chayns® JavaScript API in your own tapp, we suggest using the code below.\n\n```HTML\n\u003c!-- To get started, load the chayns API styles and JavaScript from the CDN --\u003e\n\n\u003c!-- css styles --\u003e\n\u003cscript src=\"https://api.chayns-static.space/css/v4/compatibility/compatibility.min.js\" version=\"4.2\"\u003e\u003c/script\u003e\n\n\u003c!-- js api --\u003e\n\u003cscript src=\"https://api.chayns-static.space/js/v4.0/chayns.min.js\"\u003e\u003c/script\u003e\n```\n\nOnce the chayns API is implemented, you only need to run the chayns.ready-Promise. \u003cbr\u003e\nWatch [this](https://github.com/TobitSoftware/chayns-js/wiki/Getting-Started) getting started tutorial for more information on chayns.ready.\n\n### Debugging\n\nTo work on the chayns JavaScript API, you need to install the dependencies:\n\n``\nnpm i\n``\n\nOnce the dependencies have been installed successfully, you can add your ssl certificate files in webpack/ssl.\nIf you don't have one, you need to remove the props `https`, `cert` and `key` from your dev config. \nTo use chayns with a non-https tapp, you have to add the url parameter `nrd=1`.\n\nThen, you can start the webpack-dev-server:\n\n``\nnpm start\n``\n\nThe dev page will be available at port 8080.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftobitsoftware%2Fchayns-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftobitsoftware%2Fchayns-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftobitsoftware%2Fchayns-js/lists"}