Git Product home page Git Product logo

webvsc-ui's Introduction

webvsc-ui

npm npm Travis CI David

Description

Web frontend for webvsc, a converter for Winamp AVS presets.

Demo Time ๐Ÿ™Œ

Installation

Use your preferred Node package manager to install the mode

yarn add @visbot/webvsc-ui || npm install @visbot/webvsc-ui

Usage

Embedding the converter into a website is easy

<head>
    <!-- Import the style-sheet -->
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@visbot/webvsc-ui@latest/dist/webvsc-ui.css">
</head>
<body>
    <!-- Add a droparea -->
    <div id="drop-area"></div>

    <!-- Import the script -->
    <script src="https://cdn.jsdelivr.net/npm/@visbot/webvsc-ui@latest/dist/webvsc-ui.js"></script>

    <!-- Initialize the script -->
    <script>
      var ui = new Webvsc(document.getElementById('drop-area'));
    </script>
</body>
</html>

Options

Pass options in an object to configure the appearance

var element = document.getElementById('drop-area');
var options = {
  innerHTML: "<p>Drop it like it's hot</p>",
  width: '800px',
  height: '600px'
};

var ui = new Webvsc(element, options);

Parameters

Advanced users can tweak some of the defaults using URL parameters

URL Parameter Description
verbose=<n> adjust output level (0-2)
level=<n> adjust ZIP compression (0-9)
minify minify output JSON

Support

The converter has been only been tested on most recent browsers at the time of its first release. These include the following, but might extend to older versions.

Browser Known Issues
๐Ÿ’€ Android Browser (Nougat) fails to upload
๐Ÿ’ฏ Chrome 62 -
๐Ÿ’ฏ Firefox 56 -
๐Ÿ’€ Edge (Windows 10.0.15063) fails on upload
๐Ÿ’ฏ Opera 49 -
๐Ÿ’ฏ Safari 11 -
๐Ÿค” Mobile Chrome 62 single upload
๐Ÿค” Mobile Safari (iOS 11) single upload, saves ZIP as untitled.zip
๐Ÿ’ฏ Vivaldi 1.12 -

License

All code is licensed under The MIT License

webvsc-ui's People

Contributors

dependabot[bot] avatar idleberg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

grandchild

webvsc-ui's Issues

Feature: Add non-drag-n-drop mode

If you don't regularly use file browsers, but only terminals, it's a bit cumbersome to upload a file to the UI.
Could there be a regular Upload button of some sort on the website? Maybe just a link in the text, or something...

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.