{"id":28554561,"url":"https://github.com/adityanandanx/kalam2","last_synced_at":"2026-05-01T08:31:49.577Z","repository":{"id":296988470,"uuid":"991432401","full_name":"adityanandanx/kalam2","owner":"adityanandanx","description":"Kalam2 is a full-stack handwriting generation application. It consists of a FastAPI backend for generating SVG handwriting using machine learning, and a Next.js frontend for user interaction and visualization.","archived":false,"fork":false,"pushed_at":"2025-06-03T07:47:15.000Z","size":16046,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-07T02:40:47.956Z","etag":null,"topics":["fastapi","handwriting-synthesis","nextjs","rnn","svg","tensorflow"],"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/adityanandanx.png","metadata":{"files":{"readme":"docs/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,"zenodo":null}},"created_at":"2025-05-27T16:03:20.000Z","updated_at":"2025-06-03T07:48:19.000Z","dependencies_parsed_at":"2025-06-03T19:36:43.051Z","dependency_job_id":"f5309c49-1767-411e-8e15-6d5294105c98","html_url":"https://github.com/adityanandanx/kalam2","commit_stats":null,"previous_names":["adityanandanx/kalam2"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/adityanandanx/kalam2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adityanandanx%2Fkalam2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adityanandanx%2Fkalam2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adityanandanx%2Fkalam2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adityanandanx%2Fkalam2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adityanandanx","download_url":"https://codeload.github.com/adityanandanx/kalam2/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adityanandanx%2Fkalam2/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32490810,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"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","handwriting-synthesis","nextjs","rnn","svg","tensorflow"],"created_at":"2025-06-10T05:06:45.744Z","updated_at":"2026-05-01T08:31:49.562Z","avatar_url":"https://github.com/adityanandanx.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eKalam2\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\nKalam2 is a full-stack handwriting generation application. It consists of a FastAPI backend for generating SVG handwriting using machine learning, and a Next.js frontend for user interaction and visualization.\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n   \u003ca href=\"https://www.python.org/\"\u003e\u003cimg src=\"https://img.shields.io/badge/Python-3.9%2B-blue?logo=python\" alt=\"Python\"\u003e\u003c/a\u003e\n   \u003ca href=\"https://fastapi.tiangolo.com/\"\u003e\u003cimg src=\"https://img.shields.io/badge/FastAPI-Backend-green?logo=fastapi\" alt=\"FastAPI\"\u003e\u003c/a\u003e\n   \u003ca href=\"https://nextjs.org/\"\u003e\u003cimg src=\"https://img.shields.io/badge/Next.js-Frontend-black?logo=next.js\" alt=\"Next.js\"\u003e\u003c/a\u003e\n   \u003ca href=\"https://opensource.org/licenses/MIT\"\u003e\u003cimg src=\"https://img.shields.io/badge/License-MIT-yellow.svg\" alt=\"License: MIT\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"output.png\" alt=\"Kalam3 Screenshot\" width=\"600\"/\u003e\n\u003c/p\u003e\n\n## Features\n\n- Generate realistic handwriting in multiple styles\n- Download handwriting as SVG (including A4 page layout)\n- Customizable style, color, and layout options\n- API endpoints for integration\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"config.png\" alt=\"Kalam3 Screenshot\" width=\"600\"/\u003e\n\u003c/p\u003e\n\n---\n\n## Backend (FastAPI)\n\n### Setup\n\n1. Install [uv](https://docs.astral.sh/uv/getting-started/installation/)\n2. Install dependencies and activate virtual environment:\n   ```bash\n   uv sync\n   source .venv/bin/activate\n   ```\n3. Start the backend server:\n   ```bash\n   python main.py\n   ```\n   The API will be available at `http://localhost:8000/api/v1`.\n\n### Main Endpoints\n\n- `POST /api/v1/handwriting/generate` — Generate handwriting from text lines\n- `POST /api/v1/handwriting/a4page` — Generate handwriting formatted for A4 pages\n- `GET /api/v1/handwriting/styles` — List available handwriting styles\n- `GET /api/v1/handwriting/styles/{style_id}` — Get details and preview for a style\n\n---\n\n## Frontend (Next.js)\n\n### Setup\n\n1. Install Node.js.\n2. Install dependencies:\n   ```bash\n   pnpm install\n   # or\n   npm install\n   ```\n3. Start the development server:\n   ```bash\n   pnpm dev\n   # or\n   npm run dev\n   ```\n   The app will be available at `http://localhost:3000`.\n\n### Usage\n\n- Enter text and select a handwriting style to generate handwriting.\n- Use the A4 page generator for multi-page output.\n- Download generated SVGs for use in documents or printing.\n\n---\n\n## Deployment\n\n- The frontend can be deployed on Vercel or any static hosting supporting Next.js.\n- The backend can be deployed on any server supporting Python and FastAPI.\n\n---\n\n## License\n\nMIT License\n\n---\n\n## Acknowledgements\n\n- Built with FastAPI, Next.js, and TensorFlow.\n- Handwriting model and styles are from https://github.com/sjvasquez/handwriting-synthesis.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadityanandanx%2Fkalam2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadityanandanx%2Fkalam2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadityanandanx%2Fkalam2/lists"}