{"id":24297925,"url":"https://github.com/sharafatkarim/code-to-docx","last_synced_at":"2025-09-26T00:30:51.671Z","repository":{"id":169452205,"uuid":"645432128","full_name":"SharafatKarim/code-to-docx","owner":"SharafatKarim","description":"A simple python script to make a docx file from multiple files of codes for your presentation.","archived":false,"fork":false,"pushed_at":"2024-02-15T08:55:21.000Z","size":17,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-02-15T09:40:54.319Z","etag":null,"topics":["docx-generator","homework","python","python-script"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SharafatKarim.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2023-05-25T16:29:06.000Z","updated_at":"2023-06-28T08:14:15.000Z","dependencies_parsed_at":"2024-02-15T09:48:41.493Z","dependency_job_id":null,"html_url":"https://github.com/SharafatKarim/code-to-docx","commit_stats":null,"previous_names":["sharafatkarim/code-to-docx"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SharafatKarim%2Fcode-to-docx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SharafatKarim%2Fcode-to-docx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SharafatKarim%2Fcode-to-docx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SharafatKarim%2Fcode-to-docx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SharafatKarim","download_url":"https://codeload.github.com/SharafatKarim/code-to-docx/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234268915,"owners_count":18805658,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["docx-generator","homework","python","python-script"],"created_at":"2025-01-16T20:36:15.699Z","updated_at":"2025-09-26T00:30:51.664Z","avatar_url":"https://github.com/SharafatKarim.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# File To Docx\n\nA simple Python script to generate a DOCX (Microsoft Word) file from multiple code files for your presentations or assignments.\n\n![code-to-docx](https://socialify.git.ci/SharafatKarim/code-to-docx/image?description=1\u0026descriptionEditable=A+docx+file+from+multiple+files+of+codes+for+your+assignment+or+presentation.\u0026font=KoHo\u0026forks=1\u0026issues=1\u0026language=1\u0026name=1\u0026owner=1\u0026pattern=Plus\u0026pulls=1\u0026stargazers=1\u0026theme=Auto)\n\n## 🚀 Run Locally\n\n1. **Clone the project**\n\n  ```bash\n  git clone https://github.com/SharafatKarim/code-to-docx\n  ```\n\n2. **Navigate to the project directory**\n\n  ```bash\n  cd code-to-docx\n  ```\n\n3. **Create a virtual environment**\n\n  ```bash\n  python -m venv .venv\n  ```\n\n4. **Activate the virtual environment**\n\n- **Windows**\n\n    ```bash\n    .venv\\Scripts\\activate\n    ```\n\n- **Linux or macOS**\n\n    ```bash\n    source .venv/bin/activate\n    ```\n\n5. **Install dependencies**\n\n  ```bash\n  pip install -r requirements.txt\n  ```\n\n6. **Place your files in the `input` directory and run the script**\n\n  ```bash\n  python main.py\n  ```\n\n## 🖥️ GUI Version\n\nA GUI version is available for easy input and output folder selection. Simply run:\n\n```bash\npython GUI.py\n```\n\n### ✨ New Features\n\n- Add files to `blacklist.txt` to ignore them during processing.\n- No need to specify file formats on the first run; the script will automatically search through all files and folders inside `input/`.\n\n```bash\npython main.py\n```\n\n## 🎥 Sample Video\n\n[Watch a demo for CLI version](https://github.com/SharafatKarim/code-to-docx/assets/93897936/dcdd878a-cbc1-4c28-82c5-416a7a5146bd)\n\n## 👥 Authors\n\n[![SharafatKarim's Profilator](https://profilator.deno.dev/SharafatKarim?v=1.0.0.alpha.4)](https://github.com/SharafatKarim)\n[![AyakashiKitsune's Profilator](https://profilator.deno.dev/AyakashiKitsune?v=1.0.0.alpha.4)](https://github.com/AyakashiKitsune)\n\n## 🤝 Contribution\n\nFeel free to fork the repository and open pull requests. Contributions, patches, and advanced versions are welcome—your imagination is the limit!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsharafatkarim%2Fcode-to-docx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsharafatkarim%2Fcode-to-docx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsharafatkarim%2Fcode-to-docx/lists"}