{"id":48832276,"url":"https://github.com/1999azzar/article_generator","last_synced_at":"2026-04-14T21:01:51.188Z","repository":{"id":326828322,"uuid":"1106913912","full_name":"1999AZZAR/article_generator","owner":"1999AZZAR","description":"A web-based AI-powered article and novel outline generator built with TypeScript and Cloudflare Workers. Uses Google's Gemini AI to create professional content based on user specifications.","archived":false,"fork":false,"pushed_at":"2026-03-08T08:37:06.000Z","size":421,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-08T11:59:02.953Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://article-generator.azzar.workers.dev/","language":"TypeScript","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/1999AZZAR.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-30T07:46:46.000Z","updated_at":"2026-02-09T11:40:28.000Z","dependencies_parsed_at":"2025-12-03T17:03:08.673Z","dependency_job_id":null,"html_url":"https://github.com/1999AZZAR/article_generator","commit_stats":null,"previous_names":["1999azzar/article_generator"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/1999AZZAR/article_generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1999AZZAR%2Farticle_generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1999AZZAR%2Farticle_generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1999AZZAR%2Farticle_generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1999AZZAR%2Farticle_generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/1999AZZAR","download_url":"https://codeload.github.com/1999AZZAR/article_generator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1999AZZAR%2Farticle_generator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31815080,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T18:05:02.291Z","status":"ssl_error","status_checked_at":"2026-04-14T18:05:01.765Z","response_time":153,"last_error":"SSL_read: 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":[],"created_at":"2026-04-14T21:01:50.163Z","updated_at":"2026-04-14T21:01:51.172Z","avatar_url":"https://github.com/1999AZZAR.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Quill™ - AI Writing Assistant\n\n![License](https://img.shields.io/badge/license-MIT-blue.svg)\n![Version](https://img.shields.io/badge/version-2.0.0-green)\n![Status](https://img.shields.io/badge/status-active-success)\n\n**Quill™** is an enterprise-grade AI writing assistant built on Cloudflare Workers and Google Gemini 3 models. It generates professional articles, short stories, and news briefs with precise author style mimicry.\n\n**Live Demo:** [https://article-generator.azzar.workers.dev](https://article-generator.azzar.workers.dev)\n\n---\n\n## Features\n\n### Content Generation\n- **Articles**: Comprehensive, research-quality content (1800-2000 words)\n- **Short Stories**: Narrative fiction with character arcs (2500-3000 words)\n- **News Articles**: In-depth journalistic reporting (1200-1800 words)\n- **Short News**: Concise news briefs in 5W1H format (400-600 words)\n- **Novel Outlines**: Full chapter breakdown \u0026 synopsis\n- **Chapter Continuity**: Intelligent story flow that maintains narrative consistency across chapters (using optimized summaries)\n\n### Author Style System\nAdvanced style mimicry with curated prompts for 21+ specific authors:\n- **Classic \u0026 Literary**: Hemingway, Austen, Orwell, Toni Morrison, etc.\n- **Fantasy \u0026 Sci-Fi**: Tolkien, G.R.R. Martin, Neil Gaiman, J.K. Rowling\n- **Contemporary**: Stephen King, Murakami, Margaret Atwood\n- **Indonesian Authors**: Pramoedya Ananta Toer, Dee Lestari, Andrea Hirata\n- **Non-Fiction**: Yuval Noah Harari\n\n### Technical Highlights\n- **Prompt Optimization**: Compressed prompts (60% token reduction) for faster generation\n- **Smart Context**: Novel chapters use optimized summaries (last 3 chapters only) to prevent token bloat\n- **Circuit Breaker**: Removed for stateless edge deployment stability\n- **Gemini 3 Powered**: Uses latest `gemini-3-flash-preview` \u0026 `gemini-3-pro-preview` models\n\n### UI/UX Design\n- **Premium Aesthetics**: Dark mode, Glassmorphism, Inter font\n- **Interactive UI**: Smooth button animations, categorized dropdowns\n- **Mobile Responsive**: Optimized for all devices\n\n---\n\n## Installation\n\n### Prerequisites\n- Node.js 18+\n- Cloudflare Account\n- Google Gemini API Key\n\n### Local Development\n\n1. **Clone the repository:**\n   ```bash\n   git clone https://github.com/1999AZZAR/article_generator.git\n   cd article_generator\n   ```\n\n2. **Install dependencies:**\n   ```bash\n   npm install\n   ```\n\n3. **Start the development server:**\n   ```bash\n   npm run dev\n   ```\n\n4. **Build the project:**\n   ```bash\n   npm run build\n   ```\n\n---\n\n## Deployment\n\nWe use **Wrangler** for direct deployment (GitHub Actions workflow has been removed).\n\n1. **Login to Cloudflare:**\n   ```bash\n   npx wrangler login\n   ```\n\n2. **Set API Key (Secret):**\n   ```bash\n   npx wrangler secret put GEMINI_API_KEY\n   ```\n\n3. **Deploy:**\n   ```bash\n   npx wrangler deploy\n   ```\n\n---\n\n## Project Structure\n\n```bash\narticle_generator/\n├── src/\n│   ├── index.ts           # Worker Entry Point\n│   ├── handler.ts         # API Route Handlers\n│   ├── gemini.ts          # AI Logic \u0026 Prompt Engineering\n│   └── ui.ts              # Frontend Components (HTML/CSS)\n├── public/                # Static Assets\n├── PROMPT_OPTIMIZATION.md # Prompt Engineering Documentation\n├── wrangler.toml          # Worker Configuration (Ignored in Git)\n└── package.json           # Project Dependencies\n```\n\n---\n\n## Documentation\n\n- [Prompt Optimization Guide](PROMPT_OPTIMIZATION.md) - Detailed breakdown of how we reduced tokens by 60% while improving quality.\n- [Model Verification](MODEL_VERIFICATION.md) - Details on Gemini 3 model usage and validation.\n\n---\n\n## License\n\nMIT License. Created by [Azzar Budiyanto](https://github.com/1999AZZAR).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1999azzar%2Farticle_generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F1999azzar%2Farticle_generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1999azzar%2Farticle_generator/lists"}