Skip to content

mattmone/vsd

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

visdev

visdevis a web-based code editor built using Node.js.

Screenshots

ide

ide

Instructions

npm install -g vsd

Then cd into the directory you want to view and execute:

vsd

The default port is 3000. To change this use the command

PORT=XXXX vsd

*** WARNING ***:

If you'd like to try out this editor that's great BUT PLEASE USE CAUTION.

Ensure any code is backed up regularly. I would not like it to be responsible for any work lost.

Also, there is no authentication or security built in. That is left to you. Do not run on a publicly accessible server/port.

Features

visdev’s current features:

  • File explorer tree & finder-style view
  • File operations (create/delete/rename files and directories etc.)
  • Syntax highlighted code editing for many programming languages
  • HTML/CSS/JS beautifiers
  • Find/Find+Replace
  • JSLINT validation warning
  • Emmet
  • Code snippets
  • DB Schema Designer

There are two special folder names vsd looks for:

Database Models

Create any folder with the name ending in .db and vsd will treat this as a database directory. Any .json file contained within will be assumed to be a database model definition. vsd will then present a visual GUI db designer.

While the designer is modelled heavily on functionality available in (mongoosejs)[http://mongoosejs.com/], the model created is abstract and could be used to create db schema to generate databases other than mongo.

The npm package vsd-db-mongoose converts the .json to mongoose schema and models. This is currently the only generator available.

There are several demo models contained in the test directory. Here's some screenshots:

alt

alt

alt

You can create some neat visualizations of the schema:

alt

alt

Built using:

License

visdev is released under a MIT License:

Copyright (C) 2015 by David Stone

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

About

Browser based code editor.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 96.5%
  • HTML 2.8%
  • CSS 0.7%