Skip to content

deepak814795/Glocal-Translation-Chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GLOCAL- AI Chat App with Real-Time Translation

Overview

Glocal enables users to engage in conversations without the hindrance of language barriers and makes communication more accessible to individuals from different linguistic backgrounds.

Powered by Google Cloud Translation Hub and custom AutoML models. The app operates on a tiered subscription model, providing both free and pro plans tailored to user's needs. Stripe integration is used for seamless subscription handling.

Problem It Solves

There are over 7,000 languages spoken today, yet communication barriers still limit our ability to connect. In our globalized world, where people constantly travel and interact, these barriers hinder international trade and diplomacy.

Problems like this gave birth to GLOCAL - A TRANSLATION and CHAT app.

Glocal is a translation and chat app that effortlessly translates your native language into any other language. It allows communication with anyone, anywhere, in any language. Incoming messages are automatically translated to your chosen language, and your outgoing messages are converted to the recipient's preferred language. This two-way translation ensures seamless conversations without the need for a common medium language.

Techstack Used

  • Next.js - The React framework for building web applications.
  • React.js - A JavaScript library for building user interfaces.
  • TypeScript - A typed superset of JavaScript that compiles to plain JavaScript.
  • Framer Motion - A library for creating smooth animations in React applications.
  • Google Cloud Platform - A suite of cloud computing services provided by Google.
  • Artificial Intelligence - Google Cloud AI for language translation
  • Firebase & Firestore - Firebase is a mobile and web application development platform. Firestore is a NoSQL cloud database.
  • Stripe - A platform for online payment processing.
  • Zustand - A small, fast, and scalable state management library for React.
  • Docker - Docker is a platform designed to help developers build, share, and run container applications.

Application Workflow

Upon registration, users receive unique identifiers from Firebase Authentication to ensure secure account access. User data, including display names, messages, and profile pictures, is stored in Firebase Realtime Database or Firestore. Users can add chat partners using their Email IDs. Upon successful verification of email, a sharable link is generated, allowing the new user to join the chat room and select their preferred language for communication.
(Note : New User's must be Signed In to communicate with each other)

Some Screenshots

Chat with real-time translation of messages

demo

Bot Integration for user's query

Screenshot (1152)

Pricing Page

Free User has access to only free features and has to pay to unlock all features.

Screenshot_4-3-2024_1616_glocal-chat-deepak-kushwaha vercel app

PRO vs FREE User

PRO plan supports multiple languages while free supports only 4 languages.

312995650-8c71db28-a9d1-478c-8a4e-3c50cfa86dd5-overlay

In Free plan users can only have two members per room while PRO plan supports unlimited members

image (1)

In Free plan users can only send only 20 messages per room while PRO plan supports unlimited text messages

image (2)

Stripe Payment to Purchase Pro Plan

Test Card Number: 4242 4242 4242 4242
Expiry Date: Any future date
CVC: Any 3-digit number

Note: Please note that this is a test card number provided by Stripe for testing purposes. It will simulate a successful payment. In the current development phase, our Stripe integration is in test mode. In this mode, Stripe accepts payments for addresses outside India for testing purposes. You can use the below given test address or any other address outside India

Test Address: Country: Switzerland
PinCode: 8010
City: Zurich

Screenshot_4-3-2024_21324_checkout stripe com

Add user to chat and get a sharable link

Screenshot (891)

Documentation page

Screenshot (1145)

Homepage

ppp

Thank you for visiting! If you have any questions or suggestions, feel free to contact!!

Contributing

This Project is open to contributions

Getting Started

Set the env variables
in .env


Run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Inter, a custom Google Font.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

About

Glocal - AI SaaS Translation and Chat App

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages