18 Commits

Author SHA1 Message Date
joel 2d9297d9a3 Dockerize project with client and backend support (#55)
* set redis backend url automatically for docker builds

* initial docker build config

* rename docker scripts

* fix script paths

* remove old Dockerfiles

* set vite proxy base url depending on mode

* docker build config for client/

* docker production build for client

* refactor docker files

* update nginx config to set maximum file size

* reduce docker image size

* fix demucs bug in docker

* fix proxy timeout

* add gpu capabality for api container

* add compose files for dev and prod

* add healthcheck for freqsplit-api

* add model checkpoints to api image

* set healthcheck retries to 24
2025-08-04 01:43:40 +05:30
Joel Mathew Thomas 6a91261e2d remove leftover url imports from urls.py 2025-03-20 00:24:58 +05:30
Joel Mathew Thomas a9dd87288d remove leftover url patterns 2025-03-20 00:24:05 +05:30
Joel Mathew Thomas e1e7464bb7 implement websocket connections 2025-03-19 23:44:55 +05:30
Joel Mathew Thomas 40f64b152c add endpoint to ping server, and display log if connection fails 2025-03-19 18:10:47 +05:30
Joel Mathew Thomas b622585fb9 add endpoint /api/spectrogram to calculate spectrograms 2025-03-18 20:37:20 +05:30
Joel Mathew Thomas 9dbcbb16cd integrate backend with client 2025-03-15 14:59:58 +05:30
Joel Mathew Thomas e1dac18802 endpoint: /api/cleanup_zip/
- Add endpoint /api/cleanup_zip/ to cleanup leftover zip files leftover by /api/download/
2025-02-26 20:16:54 +05:30
Joel Mathew Thomas ee5999da91 endpoint: /api/cleanup
- Add new endpoint /api/cleanup, params: file_uuid
- Cleanup leftover files on the server
2025-02-26 20:05:49 +05:30
Joel Mathew Thomas 6316de3933 endpoint: /api/download
- Add endpoint /api/download to download the files
- If single file, download single file
- Else download zip file
2025-02-26 19:53:02 +05:30
Joel Mathew Thomas 668872f175 endpoint /api/noisereduce, params: file_uuid
- Add endpoint /api/noisereduce, to reduce background noise.
- TODO: Split audio into chunks to prevent OOM issues.
2025-02-26 17:54:03 +05:30
Joel Mathew Thomas f2011b4408 endpoint : /api/separate
- Define new endpoint /api/separate, to separate music using demucs, params: file_uuid
- Replace original file with vocals.wav while retaining original filename
- Move all other files to file_path/sources/
2025-02-26 14:23:08 +05:30
Joel Mathew Thomas a80a851c80 endpoint: /api/resample
- Define new endpoint /api/resample, which takes param : file_uuid, and sr.
- Add Exception Handling for celery tasks
- Correct error message for trim_audio_task
2025-02-26 03:05:41 +05:30
Joel Mathew Thomas f71d30732f endpoint: /api/trim
- Define new api endpoint /api/trim, params: file_uuid, overwrites exisiting file on server with trimmed audio.
- Remove print messages in freqsplit/postprocessing/audio_writer.export_audio()
- Add new file api/utils.py for commonly used functions
2025-02-26 01:59:33 +05:30
Joel Mathew Thomas 1799713d3b endpoint: /api/normalize
-Add new endpoint /api/normalize, params: file_uuid, overwrites exisisting file on server with normalized audio.
-Remove print statements from src/freqsplit/postprocessing/audio_writer
2025-02-26 00:19:23 +05:30
Joel Mathew Thomas 825da48712 use celery for asynchronous tasks, rename session_uuid -> file_uuid 2025-02-25 19:30:58 +05:30
Joel Mathew Thomas 076e3779ef define new route api/upload to upload audio 2025-02-25 02:24:05 +05:30
Joel Mathew Thomas 2608391608 refactor code dir
rename backend/ to api/, remove leftover dir ui/
2025-01-09 11:39:56 +05:30