Skip to content

mitjajez/SONCE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple ONline Circuit Editor

Build Status CircleCI Code Climate MIT License

dockeri.co

Table of Contents

Deployment

Deploy

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 && meteor npm install
meteor build --architecture=os.linux.x86_64 --directory /path/build-dir
cd /path/build-dir/
cd bundle/programs/server/ && meteor npm install --production && 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. Please see CONTRIBUTING.md

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

  • Adding Elements value editor
  • Adding Circuit net-based Netlist
  • Graphviz circuit graph with viz.js
  • SVG export

Planned

  • Circuit Matrics
  • REST API
  • netlist api URL: circuit/:id/svg
  • svg embed URL: circuit/:id/svg
  • warning on SC, OC
  • Make circuit as component
  • Moving Elements
  • Editing wires
  • Mentor mode ("read-only", zoom, pan, mouse)
  • Save circuit view for registered users
  • Embeding MediaWiki, Moodle, ...

Wishlist

Submit issue for wanted features on Github Issues

Ideas

SONCE is slovenian sun.

License

Note that SONCE is distributed under the MIT License.

Donate

SONCE will be free forever, but you can help us speed-up the development!

flattr.com PayPal Gratipay Team