Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.

ecnivs/Luna

Repository files navigation

Luna

SEAMLESS.INTELLIGENT.SECURE - Your Virtual Assistant

swappy-20250213-101131

🏆 Recognition

Secured All India Top 10 in SmashHack '24
Secured All India Top 10 in Code Sangram '25

Overview

This repository is dedicated to the software development of Luna, a virtual assistant. The project aims to deliver a seamless and responsive user experience.

🛠️ Prerequisites

  • Python 3.x (Tested with Python 3.11 using pyenv)
  • Required Python libraries (listed in requirements.txt)

Environment Variables

Crank uses a .env file to load sensitive keys and config values. Make sure to create a .env file in the root directory containing your API keys, for example:

GEMINI_API_KEY=your_api_key_here

Vosk Model Setup

Crank uses Vosk for offline speech recognition. To set it up:

  1. Download an English model from the official Vosk models page.
  2. Recommended model: vosk-model-small-en-us-0.15 (~50MB)
  3. Extract the model:
unzip vosk-model-small-en-us-0.15.zip
  1. Rename the extracted folder to vosk-model:
mv vosk-model-small-en-us-0.15 vosk-model
  1. Move it to the project root so your directory structure looks like:
crank/
├── main.py
├── requirements.txt
├── .env
├── vosk-model/
│   ├── conf
│   ├── ... etc
├── other_files_or_dirs/

⚙️ Installation

  1. Clone the repository
git clone https://github.com/ecnivs/Luna.git
cd Blossom
  1. Set up Python with pyenv
pyenv install 3.11
pyenv local 3.11
  1. Install dependencies
pip install -r requirements.txt
  1. Run the Software
python main.py

🙌 Contributing

This repository is archived and no longer accepts contributions.

Releases

No releases published

Packages

No packages published

Languages