Coder Social home page Coder Social logo

auto-translate-chat's Introduction

Auto-Translate Chat

The website is hosted via Azure and can be accessed here: Auto-Translate Chat.
Note: I may bring the website down at times for cost purposes. If it is down and you want to view it, please contact me.

Overview

Auto-Translate Chat was inspired by the need to simplify multilingual conversations within my family. We speak three different languages, but only a few of us are trilingual (I am not among them). Often, I had to manually translate messages back and forth, which was time-consuming and cumbersome.

As someone who primarily works on API backend tasks in .NET/C#, I wanted to explore Blazor to see how it could handle a complete application, from front-end to back-end, in C#. Using Blazor Server with SignalR, I developed a real-time chat application that automatically translates messages on the fly using an API powered by Google Translate. The documentation for the API can be viewed here.

Key Features

  • Real-Time Translation:

    • Messages are translated on the fly.
    • Seamless conversation flow without manual translation steps.
  • Shareable Chat Room Links::

    • Each chat room has a uniquely generated URL.
    • Users can share this link to invite friends to join specific chat rooms effortlessly.
  • Blazor Server with SignalR Integration:

    • Real-time communication and updates.
    • Efficient handling of chat messages and translations.
  • Unique Chat Room Instances:

    • Each chat room is a separately spawned instance.
    • Ensures isolation and dedicated resources for each conversation.
  • Connection Manager:

    • A global ChatRoomManager Singleton oversees all active chat rooms.
    • Manages connections and gracefully closes inactive chat rooms.

Developer Tools

  • .NET 8.0 Blazor Server
  • SignalR Client
  • MudBlazor (UI)
  • Azure App Service

Example Chat

Screenshots

home

Create a room to begin chatting and then share the link with your friends.

english

An English user sending and receiving messages from a German user.

german

A German user sending and receiving messages from an English user.

auto-translate-chat's People

Contributors

kfollen93 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.