A simple chat application for book discussions.
- Real-time messaging
- File-based or Git-based storage
- Simple and intuitive interface
bookchat/
├── doc/
│ └── DEVELOPMENT.md
├── server/
│ ├── storage/
│ │ ├── __init__.py
│ │ ├── file_storage.py
│ │ ├── git_storage.py
│ │ └── git_manager.py
│ ├── __init__.py
│ ├── config.py
│ ├── handler.py
│ ├── handler_methods.py
│ ├── logger.py
│ ├── main.py
│ ├── message_handler.py
│ └── utils.py
├── static/
│ ├── css/
│ │ └── style.css
│ ├── js/
│ │ └── main.js
│ └── index.html
├── tests/
│ ├── __init__.py
│ ├── test_config.py
│ ├── test_file_storage.py
│ ├── test_git_storage.py
│ ├── test_handler_methods.py
│ └── test_message_handler.py
├── .env.example
├── .gitignore
├── CHANGELOG.md
├── LICENSE
├── README.md
└── requirements.txt
- Clone the repository:
git clone https://github.com/yourusername/bookchat.git
cd bookchat- Create and activate a virtual environment:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate- Install dependencies:
pip install -r requirements.txt- Copy
.env.exampleto.envand configure:
cp .env.example .env- Start the server:
python -m server.main- Open your browser to
http://localhost:8080
See DEVELOPMENT.md for development guidelines.
This project is licensed under the MIT License - see the LICENSE file for details.