GithubHelp home page GithubHelp logo

guinetn / wed Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 391 KB

Online web editor sided with editable samples

Home Page: http://guinetn.github.io/wed/index.html

License: MIT License

CSS 16.74% HTML 18.13% JavaScript 65.12%
editor online html-css-javascript liveserver vscode

wed's Introduction

wed

A web editor sided with editable samples for training/prototyping: https://guinetn.github.io/wed

Wed screenshoot

Features

  • Html/css/js editor (CodeMirror with SublimeText keymap)
  • Realtime rendering as you type
  • Categories of Templates
  • Console.log/error/info outputs are catched and displayed
  • AutoSave. Startup will restore last application state (css and html code panel)

Setup

Running online

Just deploy the folder on an http server

Running locally: install a local server

  • Using serve npm package

npm i -g serve
cd […project_path…]
serve

Open the project's folder in VSCode
Open index.html
Click on VSCode status bar "Go live" (right-click on index.html → Open with LiveServer)

Create your own template

Templates are html+css files stored under /categories

  1. Add files (html, css, javascript) in a category
  2. Declare them inside the category's templates.json, ie: { "name": "details & summary", "lang": "html", "files": "details_summary.html" },
    name Template description. For display/filter purpose
    lang Type of the template: js, css, html. For display/filter purpose
    files Template content are in .html and/or .css files comma separated. Ignored if content is set
    content Raw template content (no files sided to it). If set, it will overrides files
  3. npm run build to generate categories/categories.js, a file used to display categories and their associated templates

Tech stack

Contributing

Wow, thanks to contribute to this project!
New ideas, samples, forks...are welcome.
So please just fork it, commit, push and send me a pull request to main.

Changelog

See CHANGELOG for more details.

License

This project is licensed under the MIT License


created by Nicolas Guinet

wed's People

Contributors

guinetn avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.