MCPcopy Index your code
hub / github.com/Dun-sin/Whisper

github.com/Dun-sin/Whisper @v2.29.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v2.29.0 ↗ · + Follow
193 symbols 580 edges 80 files 15 documented · 8%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README


Whisper

An app to help you chat in secret

<a href="https://whischat.vercel.app/">View Demo</a>
·
<a href="https://github.com/Dun-sin/Whisper/issues/new?assignees=&labels=bug&template=bug.yml&title=%5BBUG%5D+%3Cdescription%3E">Report Bug</a>
·
<a href="https://github.com/Dun-sin/Whisper/issues/new?assignees=&labels=feature&template=features.yml&title=%5BFEATURE%5D+%3Cdescription%3E">Request Feature</a>

GitHub Repo stars contributors GitHub Repo forks issues

Whisper

This app is developed to make chatting much private and easy without stealing your data!!

✨ Built With

React React Javascript JavaScript NodeJS NodeJS MongoDB MongoDB MongoDB Docker
SocketIo SocketIo TailwindCSS TailwindCSS

🖼️ Screenshot

image

(back to top)

📚 Getting Started

To get a local copy up and running follow these simple steps.

👇🏽 Prerequisites

Before installation, please make sure you have already installed the following tools:

🛠️ Installation

  1. Fork the project. Click on the fork icon in the top right to get started
  2. Clone the project, you can use the following command:

bash git clone https://github.com/<your-github-username>/Whisper

  1. Navigate to the project directory

bash cd Whisper

  1. Navigate to the respective client and server directory

    bash cd client

    bash cd server

  2. Install dependencies with npm install

bash npm install

  1. Use .env_sample to configure the .env file for both client and server. For the server .env mongodb url use the localhost to test

Check this video of how to do that: https://www.youtube.com/watch?v=D0U8vD8m1I0
Note: If using Docker, the MongoDB port is 27018

  1. Run npm start in the client directory and npm run dev:docker in the server directory, this uses docker for the server part

    bash npm start

    bash npm run dev:docker

For those who do not wish to use Docker, here is another option -> to start the project

  1. To test things out, you can open the same URL in two different browsers or open a private browsing window in the same browser. This allows you to connect to yourself, use login anonymously if you aren't dealing with anything that uses user data, else use login and open an account on mailtrap using their demo to domain and get the token into .env

(back to top)

🎨 Demo

Check out the website: Whisper

(back to top)

👩🏽‍💻 Contributing

  • Contributions make the open source community such an amazing place to learn, inspire, and create.
  • Any contributions you make are greatly appreciated.
  • Check out our contribution guidelines for more information.

(back to top)

✏️ Edit with Gitpod

Click this button to run this project in Gitpod which comes with pre-configured environment.

Contribute with Gitpod

(back to top)

👨‍👩‍👦 Community

Don't forget to join the discord community - Join us

🛡️ License

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

(back to top)

💪🏽 Thanks to all Contributors

Thanks a lot for spending your time helping Whisper grow. Thanks a lot! Keep rocking🍻

Contributors

(back to top)

🙏🏽 Support

This project needs a star️ from you. Don't forget to leave a star🌟

(back to top)

Core symbols most depended-on inside this repo

useApp
called by 18
client/src/context/AppContext.jsx
useAuth
called by 13
client/src/context/AuthContext.jsx
useChat
called by 11
client/src/context/ChatContext.jsx
getActiveUser
called by 10
server/utils/lib.js
getMessage
called by 8
client/src/lib/chatHelper.js
endSearch
called by 7
client/src/context/AppContext.jsx
createBrowserNotification
called by 6
client/src/lib/browserNotification.js
updateMessage
called by 6
client/src/context/ChatContext.jsx

Shape

Function 193

Languages

TypeScript100%

Modules by API surface

server/utils/lib.js22 symbols
client/src/lib/chatHelper.js11 symbols
client/src/context/ChatContext.jsx11 symbols
client/src/pages/Profile.jsx9 symbols
client/src/context/AppContext.jsx9 symbols
server/controllers/userController.js7 symbols
client/src/lib/chatSocket.js7 symbols
client/src/components/Chat.jsx7 symbols
client/src/lib/utils.js6 symbols
client/src/components/Dialog.jsx5 symbols
client/src/components/Chat/DropDownOption.jsx5 symbols
client/src/pages/Settings.jsx4 symbols

Datastores touched

(mongodb)Database · 1 repos

For agents

$ claude mcp add Whisper \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact