Skip to content

Latest commit

 

History

History
113 lines (75 loc) · 2.22 KB

README.md

File metadata and controls

113 lines (75 loc) · 2.22 KB

Welcome to EchoScript

This is an extension that exhibits speech-to-code capabilities alongside contextual suggestions and debugging

Prerequisites

Any machine with following packages installed
  • nodejs
  • git
  • python 3.10
GitHub account
  • Create an account on GitHub (if you don't already have one)
  • Fork this repository and then clone it to your machine
  • You can refer this guide to understand how to fork and clone
NodeJs

Set up locally

To set up EchoScript, follow these steps:

1. Clone the Repository

  • Using HTTPS
git clone https://github.com/shettyvarshaa/EchoScript
  • Using SSH
git clone [email protected]:shettyvarshaa/EchoScript

2. To set up server-side:

2.1 Navigate to the backend directory

2.2 Create a virtual environment

  • For Windows
python -m venv venv
  • For Mac and Linux
python3 -m venv venv

2.3 Activate the virtual environment

  • For Git Bash
source ./venv/Scripts/activate
  • For Command-prompt
.\venv\Scripts\activate
  • For Powershell
.\venv\Scripts\Activate.ps1
  • For Bash (Ubuntu Terminal)
source ./venv/bin/activate

2.4 Install the Dependencies for the backend

  • For Windows
pip install -r requirements.txt
  • For Mac or Linux
pip3 install -r requirements.txt

3. To run the application:

3.1 To run the server-side, navigate to backend directory

cd backend

3.2 Start the local server

python main.py

3.3 To run the client-side, navigate to echoscript/extension.js.

3.4 Press F5 to open a new window with your extension loaded.

3.5 Run your command from the command palette by pressing (Ctrl+Shift+P or Cmd+Shift+P on Mac) and typing EchoScript.

3.6 Say start coding to start voice commands.

3.7 Try out this query find a java code for simple calculator from stack overflow . (working on the logic to render it for generalized queries)