{"id":28554493,"url":"https://github.com/adityanandanx/kalam","last_synced_at":"2026-05-06T11:35:42.821Z","repository":{"id":294577357,"uuid":"987416021","full_name":"adityanandanx/kalam","owner":"adityanandanx","description":"कlam is a powerful handwriting generation tool that allows you to convert digital text into realistic-looking handwritten documents. Perfect for adding a personal touch to digital content or quickly generating handwritten assignments.","archived":false,"fork":false,"pushed_at":"2025-05-21T04:02:37.000Z","size":60113,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-07T02:40:52.829Z","etag":null,"topics":["automation","fastapi","handwrite","handwriting","handwriting-generation","nextjs"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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-21T03:38:28.000Z","updated_at":"2025-05-21T04:02:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"5b492472-b892-4b11-bff7-c8da28aebd81","html_url":"https://github.com/adityanandanx/kalam","commit_stats":null,"previous_names":["adityanandanx/kalam"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/adityanandanx/kalam","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adityanandanx%2Fkalam","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adityanandanx%2Fkalam/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adityanandanx%2Fkalam/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adityanandanx%2Fkalam/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adityanandanx","download_url":"https://codeload.github.com/adityanandanx/kalam/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adityanandanx%2Fkalam/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32692209,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-06T08:33:17.875Z","status":"ssl_error","status_checked_at":"2026-05-06T08:33:17.221Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["automation","fastapi","handwrite","handwriting","handwriting-generation","nextjs"],"created_at":"2025-06-10T05:06:36.684Z","updated_at":"2026-05-06T11:35:42.816Z","avatar_url":"https://github.com/adityanandanx.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\nकlam - Handwriting Generator\n\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e \n\u003cimg src=\"https://img.shields.io/badge/license-MIT-blue.svg\"/\u003e\n\u003cimg src=\"https://img.shields.io/badge/version-0.1.0-green.svg\"/\u003e\n\u003cimg src=\"https://img.shields.io/badge/Python-3.12%2B-blue\"/\u003e\n\u003cimg src=\"https://img.shields.io/badge/Next.js-15.3%2B-black\"/\u003e/\n\u003c/p\u003e\n\nकlam is a powerful handwriting generation tool that allows you to convert digital text into realistic-looking handwritten documents. Perfect for adding a personal touch to digital content or quickly generating handwritten assignments.\n\n![Screenshot of कlam Application](./assets/dash-2025-05-21_09-24.png)\n\n## ✨ Features\n\n- 🖌️ **Multiple Font Styles**: Choose from a variety of handwriting fonts\n- 📄 **Custom Paper Settings**: Adjust paper dimensions to match your needs\n- 🎨 **Appearance Customization**: Control font size, line spacing, and margins\n- 🔀 **Natural Randomization**: Apply subtle variations to create realistic handwriting\n- 🎭 **Color Options**: Customize text and background colors\n- 📱 **Responsive UI**: Works on both desktop and mobile devices\n- 🚀 **Fast Processing**: Quick generation of handwritten text\n\n## 🏗️ Project Structure\n\nThe project consists of two main components:\n\n- **Frontend**: A Next.js web application providing a user-friendly interface\n- **Backend**: A FastAPI service that handles the handwriting generation\n\n```\nकlam/\n├── frontend/         # Next.js web application\n└── backend/          # FastAPI backend service\n    ├── core.py       # Handwriting generation core logic\n    ├── main.py       # API endpoints\n    ├── tools.py      # Utility functions\n    └── ttf_library/  # Handwriting font files\n```\n\n## 🚀 Getting Started\n\n### Prerequisites\n\n- Python 3.12 or newer\n- Node.js 18 or newer\n- npm, yarn, or pnpm\n\n### Backend Setup\n\n1. Navigate to the backend directory:\n\n   ```\n   cd backend\n   ```\n\n2. Create a virtual environment and activate it:\n\n   ```\n   python -m venv venv\n   source venv/bin/activate  # On Windows: venv\\Scripts\\activate\n   ```\n\n3. Install dependencies:\n\n   ```\n   pip install -e .\n   ```\n\n4. Start the backend server:\n\n   ```\n   uvicorn main:app --reload\n   ```\n\n   The API will be available at `http://localhost:8000`\n\n### Frontend Setup\n\n1. Navigate to the frontend directory:\n\n   ```\n   cd frontend\n   ```\n\n2. Install dependencies:\n\n   ```\n   npm install\n   # or\n   yarn\n   # or\n   pnpm install\n   ```\n\n3. Start the development server:\n\n   ```\n   npm run dev\n   # or\n   yarn dev\n   # or\n   pnpm dev\n   ```\n\n4. Open [http://localhost:3000](http://localhost:3000) to access the application.\n\n## 🔧 API Endpoints\n\nThe backend API provides the following endpoints:\n\n- `GET /api/v1/fonts` - List all available fonts\n- `POST /api/v1/generate` - Generate handwritten text with specified parameters\n\nFor detailed API documentation, see the [API Specification](./backend/docs/api_specification.md).\n\n## 🧩 How It Works\n\nकlam uses the [Handright](https://github.com/Gsllchb/Handright) library to render text with natural-looking handwriting effects. The generation process includes:\n\n1. Text input processing\n2. Font and style selection\n3. Parameter application (size, spacing, perturbations)\n4. Image rendering with randomized variations\n5. Output formatting and delivery\n\nThe result is a realistic simulation of handwritten text that maintains legibility while introducing the natural variations found in real handwriting.\n\n## 🤝 Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n1. Fork the repository\n2. Create your feature branch: `git checkout -b feat/amazing-feature`\n3. Commit your changes: `git commit -m 'feat: add some amazing feature'`\n4. Push to the branch: `git push origin feat/amazing-feature`\n5. Open a Pull Request\n\n## 📄 License\n\nThis project is licensed under the MIT License - see the [LICENSE](./LICENSE.md) file for details.\n\n## 🙏 Acknowledgements\n\n- [Handright](https://github.com/Gsllchb/Handright) - The core handwriting generation library\n- [FastAPI](https://fastapi.tiangolo.com/) - The backend framework\n- [Next.js](https://nextjs.org/) - The frontend framework\n- [Shadcn UI](https://ui.shadcn.com/) - UI components used in the frontend\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadityanandanx%2Fkalam","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadityanandanx%2Fkalam","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadityanandanx%2Fkalam/lists"}