{"id":18851908,"url":"https://github.com/danchitnis/ngspice","last_synced_at":"2025-08-30T17:33:16.370Z","repository":{"id":56480416,"uuid":"293974383","full_name":"danchitnis/ngspice","owner":"danchitnis","description":"Ngspice development tools for browser (WASM), Linux and Windows","archived":false,"fork":false,"pushed_at":"2025-06-27T22:45:32.000Z","size":4129,"stargazers_count":25,"open_issues_count":0,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-06-27T23:29:27.929Z","etag":null,"topics":["docker","emscripten","ngspice","wasm"],"latest_commit_sha":null,"homepage":"https://danchitnis.github.io/ngspice/emcc/","language":"HTML","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/danchitnis.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}},"created_at":"2020-09-09T01:55:16.000Z","updated_at":"2025-06-27T22:45:35.000Z","dependencies_parsed_at":"2024-11-08T03:37:21.980Z","dependency_job_id":"bb2b152c-3be0-4e4a-a760-c9483dee1573","html_url":"https://github.com/danchitnis/ngspice","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/danchitnis/ngspice","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danchitnis%2Fngspice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danchitnis%2Fngspice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danchitnis%2Fngspice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danchitnis%2Fngspice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danchitnis","download_url":"https://codeload.github.com/danchitnis/ngspice/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danchitnis%2Fngspice/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268017320,"owners_count":24181666,"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-07-31T02:00:08.723Z","response_time":66,"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":["docker","emscripten","ngspice","wasm"],"created_at":"2024-11-08T03:37:06.794Z","updated_at":"2025-07-31T09:33:22.679Z","avatar_url":"https://github.com/danchitnis.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"## [Live Demo 🚀](https://danchitnis.github.io/ngspice/emcc/)\n\n# ngspice container tools\n\n![EMCC Build CI](https://github.com/danchitnis/ngspice/workflows/EMCC%20Build%20CI/badge.svg)\n\nDocker environment to build [ngspice](https://sourceforge.net/p/ngspice/ngspice/ci/master/tree/) from source with a focus on command-line operations\n\n## WASM\n\nWe use [Emscripten](https://emscripten.org/) to compile the ngspice codebased into [WASM](https://webassembly.org/) to run client-side inside [compatible browsers](https://caniuse.com/?search=wasm).\n\nFirst clone the repository:\n\n```bash\ngit clone https://github.com/danchitnis/ngspice.git\ncd ngspice\n```\n\nBuild the [Docker](https://www.docker.com/) image:\n\n```bash\ncd emcc\ndocker build -t ngspice:emcc .\n```\n\nRun the Docker image:\n\n```bash\ndocker run -it -v $(realpath .):/mnt ngspice:emcc\n```\n\nThis will create a new directory `build` which has the generated JS and WASM runtime files.\n\n## Linux\n\n![Linux Build CI](https://github.com/danchitnis/ngspice/workflows/Linux%20Build%20CI/badge.svg)\n\nFirst clone the repository:\n\n```bash\ngit clone https://github.com/danchitnis/ngspice.git\ncd ngspice\n```\n\nBuild the [Docker](https://www.docker.com/) image:\n\n```bash\ncd linux\nsudo docker build -t ngspice:linux .\n```\n\nRun the Docker image:\n\n```bash\ndocker run -it -v $(realpath .):/mnt ngspice:linux\n```\n\nThis will create a new directory `build` which contains the generated `ngspice` executable\n\n## Windows\n\nTBA\n\n## GUI debug container\n\nTBA\n\nNotice that the docker image is based on [container-xrdp](https://github.com/danchitnis/container-xrdp)\n\n## Ngspice mirror\n\n![Mirror CI](https://github.com/danchitnis/ngspice/workflows/Mirror%20CI/badge.svg)\n\nhttps://github.com/danchitnis/ngspice-sf-mirror\n\n## Details\n\nSee: https://sourceforge.net/p/ngspice/patches/99/\n\n## Contributions\n\n[ngspice](https://sourceforge.net/p/ngspice/ngspice/ci/master/tree/)\n\n[Emscripten](https://emscripten.org/)\n\n[SPICE3f5](https://ptolemy.berkeley.edu/projects/embedded/pubs/downloads/spice/spice.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanchitnis%2Fngspice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanchitnis%2Fngspice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanchitnis%2Fngspice/lists"}