Public | Automated Build

Last pushed: a year ago
Short Description
Simple ONline Circuit Editor, Meteor app
Full Description

Simple ONline Circuit Editor




Deployment

Docker

Use the automated build image of our most recent release

docker pull mitjajez/sonce:latest

Building from source

If you have installed node and meteor properly, skip to Building

Debian users need install newer node, and "link" nodejs to node:

curl -sL https://deb.nodesource.com/setup_0.12 | sudo -E bash -
sudo apt-get install -y nodejs
sudo apt-get install -y nodejs-legacy

Building

git clone https://github.com/mitjajez/SONCE.git
cd SONCE && npm install --production
meteor build --architecture=os.linux.x86_64 --directory /path/build-dir
cd /path/build-dir/
cd bundle/programs/server/ && npm install && cd ../../..

Running

Start your mongod db and run sonce:

docker run -d --name "sonce_mongodb" mongo
PORT=3000 MONGO_URL=mongodb://localhost:27017/sonce ROOT_URL=http://localhost node bundle/main.js

Development

Status & Contributing

SONCE is under heavy development and the amount of functionality will grow in the future. Contributions are welcome.

Quick start for code developers

Prerequisites:

Now just clone and start the app:

git clone https://github.com/mitjajez/SONCE.git
cd SONCE && npm install
meteor

About SONCE

Meteor version of SONCE is up to be used as educational tool and could be the new way of communication with as./prof./mentor while learning electronics by drawing and testing. Get focus on how circuit work and not how to get simulation result. See topology of circuit, see all available matrixes.

Roadmap

In Progress

  • Circuit Netlist
  • Circuit Matrics

Planned

  • Graphviz circuit graph with viz.js
  • Editing wires

Ideas

SONCE is slovenian sun.

License

Note that SONCE is distributed under the MIT License.

History

The idea started in 2007 as need for fast svg circuit editor as plugin for MediaWiki that was used for student's lecture notes. First try was made with svg-only with javascript inside - You can fork xeagle branch.
Then my colleague come with C# knowledge and start building new Silverlight version. This source code is avaliabe on codeplex. I was very sceptical about SilverLight as i'm about all products from M$ (or. about close source in general)
In 2010 I met the jQuery library and it blows my mind, so i made new branch SONCEjQ. It uses jquery.svg plugin. It generates svg while drawing and also build circuit's XML, but with nodes as root. Just like is needed in matrix to calculate circuit.
After many years of doing different things I switched from jQuery to nodejs and met meteor. In 2016 it was also deadline to get my degree. So this came up.

Docker Pull Command
Owner
mitjajez
Source Repository

Comments (0)