Skip to content
/ vhisper Public template

Voice Notes with AI transcriptions and post processing

License

Notifications You must be signed in to change notification settings

ra-jeev/vhisper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vhisper - In-browser Voice Notes

Vhisper is a serverless voice notes application built with Nuxt 3 that leverages various Cloudflare services through NuxtHub for it to work. It allows users to record voice notes, transcribe and post process them using AI, and manage them through a simple, intuitive interface.

Try it Out

Live demo: https://vhisper.nuxt.dev

Deploy to NuxtHub

Vhisper Home Page

Preview

vhisper-demo.mov

Key Features

  • User Authentication: Secure access with username/password.
  • Record Voice Notes: Record multiple audio clips per note. Real-time audio visualization during recording.
  • Speech-to-Text Transcription: Automatically transcribe recordings into text using Whisper AI model.
  • Post-Processing: Optionally correct and refine transcriptions for better accuracy and clarity (Llama 3.1 model). Local settings persistence.
  • Notes Management: View and manage saved notes with playback for each audio recording.

Technologies Used

  • Nuxt: Vue.js framework for the application foundation
  • Nuxt UI (v3): For creating a good looking and professional frontend
  • Nuxt Auth Utils: Module for user authentication
  • NuxtHub: Backend (database, storage, AI etc.), deployment and administration platform for Nuxt
  • Cloudflare: Powers NuxtHub to provide various services

Setup Instructions

Prerequisites

  • Node.js (v18 or later): Required for development and building the project.
  • Cloudflare Account: You'll need a Cloudflare account to use Workers AI, D1, and R2 storage, and to deploy the project.
  • NuxtHub Account: To leverage NuxtHub DX as an interface to Cloudflare

Installation

Clone the repository and install dependencies:

pnpm install # or equivalent command

Environment Setup

Before using Workers AI in development, you need to link to a NuxtHub project. This is needed as during local development also, AI models are run against your Cloudflare account. See pricing and free quote details.

You can either put the NuxtHub project key manually in the .env file, or use the CLI to create/link a project.

NUXT_SESSION_PASSWORD=at_least_32_chars_string
NUXT_HUB_PROJECT_KEY=your_nuxthub_project_key

1. Using .env file:

  • Copy .env.example to .env
  • Fill in required variables
  • For local development, NUXT_SESSION_PASSWORD will be auto-generated if not provided

2. Using NuxtHub CLI:

npx nuxthub link

This will:

  • Create/link a NuxtHub project
  • Set up necessary Cloudflare resources
  • Configure NUXT_HUB_PROJECT_KEY automatically

Usage

Running the Development Server

pnpm dev

Notes Page

Vhisper Notes Page

Note Creation Page

Vhisper Note Creation Page

The app will be available at http://localhost:3000.

Deployment

Deploy to NuxtHub

Once you're ready, you can deploy using either the following ways:

Deploy via NuxtHub Admin

  • Push your code to a GitHub repository.
  • Link the repository with NuxtHub.
  • Do not forget to add the environment variables (you only need to add the session password)
  • Deploy from the Admin console.

Learn more about Git integration

Deploy via NuxtHub CLI

npx nuxthub deploy

Learn more about CLI deployment

Contributing

Contributions are welcome! If you find any issues or want to add new features, feel free to fork the repo, create a branch, and submit a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.