{"id":27559152,"url":"https://github.com/notyusheng/transync","last_synced_at":"2026-04-13T03:09:50.739Z","repository":{"id":285405073,"uuid":"957773074","full_name":"NotYuSheng/TranSync","owner":"NotYuSheng","description":"A tool for batch-translating .xlsx spreadsheets from Arabic to English using a locally hosted LLM in LM Studio","archived":false,"fork":false,"pushed_at":"2025-04-11T14:33:18.000Z","size":84,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-19T23:33:31.236Z","etag":null,"topics":["docker","docker-compose","fastapi","lm-studio","mistral","openai","openpyxl","streamlit","translate","trivy"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NotYuSheng.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-03-31T05:24:34.000Z","updated_at":"2025-04-11T13:03:12.000Z","dependencies_parsed_at":"2025-04-19T23:33:34.612Z","dependency_job_id":"fdd00b48-fa9f-4f68-b70f-7ee1fdfc01ef","html_url":"https://github.com/NotYuSheng/TranSync","commit_stats":null,"previous_names":["notyusheng/xlsx-translate"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/NotYuSheng/TranSync","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NotYuSheng%2FTranSync","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NotYuSheng%2FTranSync/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NotYuSheng%2FTranSync/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NotYuSheng%2FTranSync/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NotYuSheng","download_url":"https://codeload.github.com/NotYuSheng/TranSync/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NotYuSheng%2FTranSync/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31562697,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","docker-compose","fastapi","lm-studio","mistral","openai","openpyxl","streamlit","translate","trivy"],"created_at":"2025-04-19T23:33:29.979Z","updated_at":"2026-04-08T16:03:08.528Z","avatar_url":"https://github.com/NotYuSheng.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TranSync\nArabic-to-English XLSX Translator \u003cbr/\u003e\nA tool for batch-translating `.xlsx` spreadsheets from **Arabic to English** using a locally hosted LLM in **LM Studio**.\n\n---\n\n## Getting Started\n\n### Start the Application\n\nRun the following command to build and start the containers:  \n\n```docker-compose up```\n\nThis will: \n\n1. Build the Docker images for the FastAPI and Streamlit services.  \n2. Start the containers and serve the application.  \n\n---\n\n## Features\n\n- **Multi-sheet Excel Support**:  \n  Handles Excel files with multiple sheets seamlessly.\n\n- **Smart Cell Translation**:  \n  Translates cell-by-cell **only** if Arabic text is detected.\n\n- **Sheet Name Translation**:  \n  Automatically translates and renames sheet titles.\n\n- **Streamlit Frontend**:  \n  Provides a user-friendly interface for uploading and downloading translated Excel files.  \n  Hosted on \u003chttp://localhost:8080\u003e\n\n- **FastAPI Backend**:  \n  Handles the processing and translation logic.  \n  Hosted on \u003chttp://localhost:8000\u003e  \n  Interactive API documentation available at \u003chttp://localhost:8000/docs\u003e\n\n- **Live Reloading**:  \n  Hot reloading is enabled for both FastAPI and Streamlit during development for rapid iteration.\n\n---\n\n## Prerequisites\n\nBefore you start, ensure the following tools are installed on your system:\n\n- Docker  \n- Docker Compose  \n\n---\n\n## Access the Application\n\n- **FastAPI Backend**:  \n  Visit \u003chttp://localhost:8000\u003e to access the API.  \n  Documentation is available at \u003chttp://localhost:8000/docs\u003e  \n\n- **Streamlit Frontend**:  \n  Visit \u003chttp://localhost:8080\u003e to interact with the frontend.  \n\n---\n\n## Development Workflow\n\n### Live Reloading\n\nBoth FastAPI and Streamlit support hot reloading out of the box. Any changes you \nmake to the code will automatically reflect in the running containers.  \n\n### Stopping the Application\n\nTo stop the application, press `Ctrl+C` or run the following command:  \n\ndocker-compose down  \n\nThis will stop and remove the containers, but the built images will remain.  \n\n---\n\n## Directory Structure\n\nThe project structure is as follows:  \n\n```shell\n.  \n├── backend/               # FastAPI application  \n│   ├── main.py            # FastAPI entrypoint\n│   ├── translate.py       # Translation logic for text, DataFrames, and Excel sheets using LLM\n│   ├── requirements.txt   # Python dependencies for FastAPI  \n│   └── Dockerfile         # Dockerfile for FastAPI\n├── frontend/              # Streamlit application  \n│   ├── app.py             # Streamlit entrypoint  \n│   ├── Dockerfile         # Dockerfile for Streamlit\n│   └── requirements.txt   # Python dependencies for streamlit \n├── data/output            # Directory to store translated Excel files\n│   └── .gitkeep           # Placeholder to keep the folder tracked by Git\n├── docker-compose.yml     # Docker Compose configuration  \n└── README.md              # Project documentation  \n```\n\n---\n\n## Troubleshooting\n\n- Ensure Docker and Docker Compose are installed and running on your system.  \n- Verify that the required ports (8000 and 8080) are not in use by other \napplications.  \n\n---\n\n## License\n\nThis project is licensed under the MIT License. See the LICENSE file for details.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnotyusheng%2Ftransync","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnotyusheng%2Ftransync","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnotyusheng%2Ftransync/lists"}