This is a Ask/Confession & chat application built with Flask, SocketIO, and SQLAlchemy. The application allows users to be anonymous to the admin, submit questions and receive answers from an admin through a real-time chat interface.
This application is intended for educational and experimental purposes only. It is not designed or tested for production environments.
- Submit anonymous confessions with unique chat links
- Admin login to answer questions.
- Real-time chat functionality using SocketIO.
- Persistent storage of questions and messages using SQLAlchemy.
-
Clone the repository:
git clone https://github.com/Mayukh-Mondal-Dev/Private-Confession-App cd Private-Confession-App
-
Create a virtual environment and activate it:
python -m venv env source env/bin/activate # On Windows use `env\Scripts\activate`
-
Install the required dependencies:
pip install -r requirements.txt
-
Run the application:
python app.py
- Open your browser and navigate to
http://127.0.0.1:5000
. - Submit a question and receive a unique chat link.
- Admin can login using the
/admin_page
route and answer questions. - Use the chat link to join the real-time chat for the submitted question.
- Modify the
SECRET_KEY
andSQLALCHEMY_DATABASE_URI
in theapp.py
file to fit your needs. - Set the admin password in the
ADMIN_PASSWORD
variable in.env
.
Private-Confession-App/
│
├── app.py
├── .env
├── requirements.txt
├── templates/
│ ├── index.html
│ ├── login.html
│ ├── admin.html
│ ├── answer.html
│ ├── chat.html
│ └── personal_link.html
├── static/
│ └── style.css
└── README.md
This project is licensed under the GNU General Public License version 3 (GPLv3). See the LICENSE file for more details.
Feel free to open issues or submit pull requests for any improvements or bug fixes.