Giter Site home page Giter Site logo

sneakysensei / stories Goto Github PK

View Code? Open in Web Editor NEW
7.0 3.0 3.0 2.45 MB

Stories from the true you!

Home Page: http://stories.gitaalekhyapaul.xyz/

JavaScript 2.82% HTML 2.86% CSS 3.25% TypeScript 91.07%
tfjs tensorflowjs reactjs nodejs redis jwt typescript socket-io styled-components tailwindcss

stories's Introduction

Logo

Stories - HackCBS3.0

Stories from the true you!


A Preview of What Stories Is:

Landing page:

Landing Page

Tag Selection

Tag Selection

Chat Window

Chat Window

Toxicity Censoring

Toxicity Censoring

Banning Reported Users

Banning Reported Users

The problem Stories solves

The importance of mental health has been in its rightful spotlight for a while now but many people don't have access to the costly form of therapy. It is well known that people are likely to share their experiences with a stranger rather than an acquaintance due to the fear of being judged. It is a common practice to seek help via online chatrooms. The issue is that these chatrooms are not monitored properly. The rare ones that do, can be easily used against their purpose and push the seeker in a worse place.

This is where our product stories come in. We provide a simplistic chat room that does much more for people who want to provide help and get helped.

Challenges we ran into

Implementing a chat room management system along with a banning middleware in Redis was rather difficult. Moreover, implementing authentication with JWT in Socket.io events was a second challenge as far as the web application goes. For the Tensorflow model, we had to fine-tune the model as per our applications, which meant fiddling with the confidence threshold of the output categories to get an optimum solution. It was also pretty tricky to pair the seeker & supporter based on their tags selection. After pairing them, getting a score based 'compatibility' for the same. And pushing them into the same chatroom based on the score.

Features offered by Stories

  • Google Authentication

    • Using G-Auth as the first layer of authenticity, allowing only verified users on our portal.
  • Anonymous Identities

    • The identities of the seeker & the supporter are kept hidden from each other to eliminate biases.
  • Tags-Selection based pairing

    • We are maintaining a score between the supporters and seekers, representing the total number of tags matched. The pair with the highest score is connected to the chatroom.
  • Censoring toxic messages

    • We run the Tensorflow.js toxicity classifier on every message sent by the supporter to give us the probability of it being toxic. If it is deemed hurtful, the message is censored with a warning on the seeker's end.
  • Real-time anaysis of data

  • To ensure real-time analysis of chat data, we use the popular memcache database Redis to store the chat room data and client management along with the list of banned users.
  • Reporting and banning of users

    • The seeker can report the supporter under the circumstances the supporter is a troll. Having enough reports file against them, the supporter's email and IP will be banned from our portal.

Technology Stack and Dependencies

  • APIs
    • Tensorflow.js
    • Node.js
    • Express in TypeScript
    • Socket.IO
    • Redis
    • Google OAuth
  • Front-end
    • React.js in TypeScript-XML
    • Tailwind CSS
    • Styled Components
    • Socket.IO - Client

Thank You!

Contributors

Gita Alekhya Paul

Gita Alekhya Paul

Snehil

Snehil

Paras Rawat

Paras Rawat

Yashvardhan Jagnani

Yashvardhan Jagnani

stories's People

Contributors

gitaalekhyapaul avatar jagnani73 avatar sneakysensei avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

stories's Issues

Link is not working

Issue Alert.

Link is not working

Description

Link is not working

Steps to Reproduce

  1. Go to link

Expected behavior: Link show a web page

Actual behavior: Browser is showing This site can not be found

Sugggested Fix

Either remove the link. Or make it work

Thank you for your support!

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.