VoiceVault is a submission for PolyHack 2023 by Team SEntralians from Central Philippine University
VoiceVault is a digital platform designed to support mental health by providing asolution for handling stress and mental load. Our platform serves as a second brain, a smart digital notebook that allows users torecord their thoughts, encounters, and daily experiences.
We believe that it is vital toprovide tools to cope with mental healthissues and build resilience rather than censoring harmful content on socialmedia.
VoiceVault leverages artificial intelligence and big data to learn fromuser interactions and provide personalized feedback and insights. Voice Vault is aversatile and accessible tool that can helpusers improve their mental well-being, critical thinking, and communication skills.
https://voice-vault.vercel.app/
Allows the user to talk to Vivi, the AI chatbot and write personal journals to reflect on life. Also allows users to use hand gesture to navigate the page.
Screen.Recording.2023-06-18.at.9.40.22.PM.mov
Allows to user to create journals by using voice commands or manual writing. Our AI chatbot summarizes these journals and can create weekly reports that summarizes and try to recommend therapeutic ways to help the user in hard times.
Allows users to debate with other users in our platform on controversial topics. A user creates a chat room and provides a topic where others can join. After the debate, users can see the analysis on their debates and messages to see the fallacies, relevance, and toxicity on their messages.
Easily search your previous journals based on keywords from the summaries generated by our AI. Allows users to reflect back on the past.
Screen.Recording.2023-06-18.at.7.10.03.PM.mov
The app was scaffolded using the t3 stack. https://create.t3.gg/
Technologies used:
- Typescript - 👨💻 Best programming language
- Tailwind CSS - 💅 A powerful CSS Framework
- Next.js - ⚡ A React Framework for server-side rendering
- Prisma - ⚛️ A next generation ORM for Typescript
- tRPC - 💨 A type-safe way to build APIs for TypeScript
- OpenAI API - 🤖 A popular API for natural language processing
Make sure to copy and paste the .env.example
file and rename to .env
and provide the value strings.
# Since the ".env" file is gitignored, you can use the ".env.example" file to
# build a new ".env" file when you clone the repo. Keep this file up-to-date
# when you add new variables to `.env`.
# This file will be committed to version control, so make sure not to have any
# secrets in it. If you are cloning this repo, create a copy of this file named
# ".env" and populate it with your secrets.
# When adding additional environment variables, the schema in "/src/env.mjs"
# should be updated accordingly.
# Prisma
# https://www.prisma.io/docs/reference/database-reference/connection-urls#env
# Use a postgres database
DATABASE_URL=""
# Next Auth
# You can generate a new secret on the command line with:
# openssl rand -base64 32
# https://next-auth.js.org/configuration/options#secret
# NEXTAUTH_SECRET=""
NEXTAUTH_URL="http://localhost:3000"
# Next Auth Facebook Provider
FACEBOOK_CLIENT_ID=""
FACEBOOK_CLIENT_SECRET=""
GOOGLE_CLIENT_ID=""
GOOGLE_CLIENT_SECRET=""
COHERE_API_KEY=""
HUGGINGFACE_API_KEY=""
OPENAI_KEY=""
To run this project, make sure you have the latest node.js and npm version installed. You can also run the project using yarn or pnpm.
$ git clone https://github.com/SEntralians/Voice-Vault voice-vault
$ cd voice-vault
$ npm install
$ npm run db:push
$ npm run dev
The following instructions will open the app. You can type localhost:3000 in your favorite browser to start using the app.
127.0.0.1:3000
or
localhost:3000