Node ❤ NGSPICE - not only frontend for NGSPICE
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.screenshot
bin
configs
public
routes
sockets
utils
views
.gitignore
.travis.yml
LICENSE
README.md
app.js
package.json

README.md

node-ngspice (WIP)

Node ❤ NGSPICE.

Build Status

For NgSpice node-binding, check: binding-dev, still working on this :)

A simple frontend IDE based on Node.js for NGSPICE users :) enjoy it!

Screenshots

screenshot

Build& Deploy

$ git clone https://github.com/higuoxing/node-ngspice.git
$ cd node-ngspice
$ npm install
$ node ./bin/www

NOTICE

⚠️ After testing, this project currently works well on CentOS and macOS...

How to use

This application is to plot vectors in ngspice. The plot option should be written in JSON form.

Example
[{ "name": "v(in)"   , "curve": "v(in)"   },
 { "name": "v(out)"  , "curve": "v(out)"  },
 { "name": "v(4, 5)" , "curve": "v(4, 5)" } ]

name : is the displayed name in plot legend curve: is the vector variable in ngspice

Appreciation

Standing on the shoulders of giants!
  • Node.js
  • Bootstrap
  • Express
  • Plotly.js
  • NGSPICE

And many thanks to Online-NgSpice-Simulator

TODO

  • Server message implement
  • Full documents
  • Code highlight
  • Rewrite using Vue.js

Contribution

This is a Learn by Doing project, and I want to modified it using Vue.js... And if you are interested in this project, please feel free to contact me! higuoxing@gmail.com :)