{"id":26555325,"url":"https://github.com/fialex1212/fastapi-react-toascii","last_synced_at":"2026-04-09T18:55:48.604Z","repository":{"id":276380511,"uuid":"869119052","full_name":"Fialex1212/fastapi-react-toascii","owner":"Fialex1212","description":"The ASCII Art Converter is a web application that allows users to upload images by link or file and convert them into ASCII art. The app utilizes a React frontend for a responsive user interface and a FastAPI backend for efficient image processing.","archived":false,"fork":false,"pushed_at":"2025-05-11T10:27:00.000Z","size":90,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-11T11:25:49.856Z","etag":null,"topics":["fastapi","react","sqlite","vite"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/Fialex1212.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,"publiccode":null,"codemeta":null}},"created_at":"2024-10-07T18:45:25.000Z","updated_at":"2025-05-11T10:27:03.000Z","dependencies_parsed_at":"2025-03-20T03:31:37.924Z","dependency_job_id":null,"html_url":"https://github.com/Fialex1212/fastapi-react-toascii","commit_stats":null,"previous_names":["fialex1212/react-fastapi-img-to-ascii","fialex1212/fastapi-react-toascii"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Fialex1212/fastapi-react-toascii","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fialex1212%2Ffastapi-react-toascii","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fialex1212%2Ffastapi-react-toascii/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fialex1212%2Ffastapi-react-toascii/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fialex1212%2Ffastapi-react-toascii/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Fialex1212","download_url":"https://codeload.github.com/Fialex1212/fastapi-react-toascii/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fialex1212%2Ffastapi-react-toascii/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274174271,"owners_count":25235203,"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","status":"online","status_checked_at":"2025-09-08T02:00:09.813Z","response_time":121,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["fastapi","react","sqlite","vite"],"created_at":"2025-03-22T10:39:56.692Z","updated_at":"2026-04-09T18:55:48.567Z","avatar_url":"https://github.com/Fialex1212.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React\u0026FastApi Img to ASCII\n\n## Description\nThe ASCII Art Converter is a web application that allows users to upload images by link or file and convert them into ASCII art. The app utilizes a React frontend for a responsive user interface and a FastAPI backend for efficient image processing.\n\n## Features\n- Image Upload: Users can easily upload images from their devices. The frontend handles\n  file input and provides a preview of the uploaded image.\n\n- Conversion Process:\n  - The uploaded image is sent to the FastAPI backend.\n  - FastAPI processes the image, converting it into ASCII art using specific algorithms.\n  - The resulting ASCII art is returned to the frontend.\n\n- Responsive Design: Built with React, the app features a clean and intuitive\n  interface that works well on both desktop and mobile devices.\n\n\n## Tech Stack\n\n**Frontend:** React, TailwindCSS\n\n**Backend:** FastAPI\n\n**Image Processing:** Pillow\n\n## Installation\n\nClone my project\n```cmd\n    git clone https://github.com/Fialex1212/react-fastapi-todo.git\n```\n\n### Frontend\nRun the frontend\n\n```bash\n  cd frontend\n  npm install\n  npm run dev\n```\n\n### Backend\nRun the backend\n\n```cmd\n  cd backend\n  python -m venv venv\n  .\\venv\\scripts\\activate\n  pip install requirements.txt\n  uvicorn src.main:app\n```\n\n### Docker\nRun the docker-compose\n\n```cmd\n  docker-compose up --build\n```\n\nBackend by this path - http://127.0.0.1:8000/\n\nFrontend by this path - http://localhost:4173/\n\n## API Reference\n\n### Ping\n\n```\n  GET /ping\n```\n\n#### Response example\n```\n{\n  \"message\": \"PONG\"\n}\n```\n\n### Read Filename\n\n```\n  GET /read-filename\n```\n\n| Parameter | Type       | Description                        |\n| :-------- | :--------- | :--------------------------------- |\n| `file`    | `UploadFile` | **Required**. Image file to extract the filename |\n\n#### Response example\n```\n{\n  \"filename\": \"image.jpg\"\n}\n```\n\n### Conver image to .txt file by image\n\n```\n  POST /get-txt-by-img-file\n```\n\n| Parameter | Type       | Description                                      |\n| :-------- | :--------- | :----------------------------------------------- |\n| `file`    | `UploadFile` | **Required**. Image file to extract text from |\n\n#### Response example\n```\n{\n  file in .txt format\n}\n```\n\n### Conver image to .txt file by url\n\n```\n  POST /get-txt-by-img-url\n```\n\n| Parameter | Type     | Description                                  |\n| :-------- | :------- | :------------------------------------------- |\n| `url`     | `string` | **Required**. URL of the image to extract text from |\n\n#### Response example\n```\n{\n  file in .txt format\n}\n```\n\n\n## Screenshots\n\n![Desktop app Screenshot](./images/1.jpg)\n\n\n## Authors\n\n- [@Aleks Seriakov](https://github.com/Fialex1212)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffialex1212%2Ffastapi-react-toascii","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffialex1212%2Ffastapi-react-toascii","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffialex1212%2Ffastapi-react-toascii/lists"}