Skip to content

Nishit-Sharma/NJTSA-Software-Development-LocalHost

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NJTSA Software Development Localhost

ALPHA (Awesome Logical Processing Holistic Assistance) is a local voice assistant project with:

  • A React frontend UI
  • An Express backend endpoint
  • A Python voice assistant runner (jarvis.py)

Tech Stack

  • React 18 + React Router
  • Tailwind CSS
  • Express.js
  • Python-based assistant logic (speech recognition + API integrations)

Prerequisites

Before running locally, make sure you have:

  • Node.js 18+ and npm
  • Python 3.9+ available as python in your PATH
  • A working microphone
  • Python dependencies used by src/components/jarvis.py (for example: speech_recognition, pyaudio, ffmpeg-python, requests, wolframalpha, elevenlabs, and g4f)

Note: the Python script currently includes a hardcoded API key and external service usage. For production or sharing, move secrets to environment variables and rotate exposed keys.

Getting Started

  1. Install JavaScript dependencies:
npm install
  1. Start the app and backend together:
npm start
  1. Open:

The frontend sends POST /run-jarvis requests to the Express server, which spawns the Python assistant process.

Available Scripts

  • npm start: Starts React dev server and Express backend concurrently.
  • npm run server: Starts only the Express backend on port 3001.
  • npm test: Runs React tests.
  • npm run build: Builds the frontend for production.
  • npm run eject: Ejects Create React App config (irreversible).

Project Structure

src/
	App.js
	AllRoutes.js
	components/
		Home.js
		Layout.js
		Header.js
		server.js
		jarvis.py
		ui/
		utils/

Current Route Map

  • / -> Home screen (src/AllRoutes.js)

Notes

  • The repository includes FFmpeg documentation and presets under src/components/doc/ and src/components/presets/.
  • On Windows, audio/FFmpeg-related Python dependencies may require additional setup depending on your Python installation.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages