This is a web application to scan files for viruses using ClamAV.
- Clone the repository:
git clone https://github.com/security-dev/virusscan-web.git- Navigate to the project directory:
cd virusscan-web- Run the following command to run the application:
make runAdmin credentials should be printed to the console in the first time you run the application.
Example:
web-1 | !!! ADMIN CREDENTIALS !!!
web-1 | ╔═════════════════════════╗
web-1 | ║ Username: admin ║
web-1 | ║ Password: xxxxxxxxxxxx ║
web-1 | ╚═════════════════════════╝
The application settings are stored in the .env file. You can copy the .env.example file and modify the settings as
needed.
The application provides the following APIs:
/api/scans/: List and create file scans/api/user/api_keys/: List and create API keys
You can access the API documentation by visiting the /api/docs URL.
You can deploy the application to a server using Docker.
- Python 3.12
- Django
- django-ninja
- ClamAV
- Celery
- Redis
- Docker
To start the development environment, run the following commands:
make build
make startThis will build the development environment and start the containers. You'll need to set the DEBUG environment
variable to True in the .env file.
To generate the correct styles for the frontend, run the following command:
npx @tailwindcss/cli -i ./frontend/input.css -o ./static/css/styles.css --watchTo stop the containers, run the following command:
make stopContributions are welcome! Please follow these steps:
- Fork the repository.
- Create a new branch for your changes.
- Make your changes and commit them.
- Push your changes to your fork.
- Create a pull request.
This project is licensed under the Apache-2.0 License.


