Coder Social home page Coder Social logo

bjsteven / monaco-speech-editor Goto Github PK

View Code? Open in Web Editor NEW

This project forked from luochang212/monaco-speech-editor

0.0 1.0 0.0 10.44 MB

Online code editor for visually impaired people.

Home Page: https://luochang212.github.io/gadget/monaco-speech-editor/

License: MIT License

HTML 27.53% JavaScript 63.57% CSS 8.90%

monaco-speech-editor's Introduction

monaco-speech-editor

License: MIT

中文文档

Monaco Speech Editor is an online code editor for visually impaired people. It provides several built-in functions to make it easy to read, edit and compile.

Quick Start

Try the editor out on my website.

Run Locally

Since this web application was written with pure JS and didn't use any framework, it is easy to run locally.

First, download the repository.

git clone https://github.com/luochang212/monaco-speech-editor.git

Then, open monaco-speech-editor.

Now, click index.html, it will open in your browser.

Features

File Manager:

  • Create a file
  • Delete a file
  • Rename a file
  • Upload a file
  • Download a file
  • Restore a file

Console:

  • Display HTML file in an iframe
  • Display HTML file in a new tab
  • Display HTML file in a new window
  • Display the output of console.log()

Themes:

  • Day mode
  • Night mode

Accessibility:

  • Toolbar: Including Syntax highlighting, Jump to line, play previous line, Play current line, Play next line.

  • Reading mode: Including Character Mode, Code Mode, Music Mode, Overview mode.

  • Spotlight: It is a list of settings that allows you to turn on or turn off settings.

  • Linear Index: It is a list of features and corresponding hotkeys.

Initialize The Editor with Routers

If you are a visually impaired user, Please open the website above and add a router #tutorial after the address to play an audio tutorial automatically. PS: this audio might not be played on google chrome because of the policy of google chrome.

If you are a person with normal vision, Please open the website above and add a router #mute to disable any autoplay event.

Complete list of routers
Router Setting
#load-demo Load demo
#dark Turn on night mode
#full-screen Full screen
#run Open console bar
#tutorial Play audio tutorial
#spotlight Turn on spotlight
#linear-index Turn on linear index
#character-mode Turn on character mode
#code-mode Turn on code mode
#overview-mode Turn on overview mode
#voice-feedback Turn on voice feedback
#voice-cue Turn on voice cue
#mute Disable any autoplay event
#dark&run Turn on night mode and console bar
#dark&mute Turn on night mode and disable any autoplay event

Dependencies

FAQ

❓Is the editor supported in mobile browsers or mobile web app frameworks?

No, both Monaco Editor and Web Speech API can't work well on mobile browser.

❓How to use routers to configure the initial setting?

For example, If you open https://luochang212.github.io/gadget/monaco-speech-editor/#dark&mute. Monaco Speech Editor will turn on night mode and disable any autoplay event for you.

License

MIT License

monaco-speech-editor's People

Contributors

luochang212 avatar

Watchers

James Cloos 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.