Simple ONline Circuit Editor, Meteor app
468
Use the automated build image of our most recent release
docker pull mitjajez/sonce:latest
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
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 ../../..
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
SONCE is under heavy development and the amount of functionality will grow in the future. Contributions are welcome.
Prerequisites:
Now just clone and start the app:
git clone https://github.com/mitjajez/SONCE.git
cd SONCE && npm install
meteor
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.
SONCE is slovenian sun.
Note that SONCE is distributed under the MIT License.
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.
Content type
Image
Digest
Size
315.6 MB
Last updated
about 10 years ago
docker pull mitjajez/sonce