diff --git a/.gitignore b/.gitignore index 9e25d96..07198e2 100644 --- a/.gitignore +++ b/.gitignore @@ -17,4 +17,5 @@ backend/check.py *.db frondend/call_mcp.js ARCHITECTURE.md -social-posts.md \ No newline at end of file +social-posts.md +.vercel diff --git a/backend/celerybeat-schedule.db b/backend/celerybeat-schedule.db index b6e30c7..b4b12fa 100644 Binary files a/backend/celerybeat-schedule.db and b/backend/celerybeat-schedule.db differ diff --git a/frondend/.gitignore b/frondend/.gitignore index a547bf3..7a9d1bc 100644 --- a/frondend/.gitignore +++ b/frondend/.gitignore @@ -22,3 +22,5 @@ dist-ssr *.njsproj *.sln *.sw? + +.vercel diff --git a/frondend/src/pages/Home.jsx b/frondend/src/pages/Home.jsx index b3e70bb..a6ca995 100644 --- a/frondend/src/pages/Home.jsx +++ b/frondend/src/pages/Home.jsx @@ -8,18 +8,18 @@ import CodeBlock from '../components/CodeBlock' import { IconBolt, IconBrain, IconTable, IconLink, IconRocket, IconArchive, IconCode, IconDatabase } from '../components/Icons' const pipelineSteps = [ - { step: '01', command: 'git clone ', title: 'INGEST_SOURCE', desc: 'Connect a Git repository, upload a local codebase archive, or input raw Python files directly.' }, - { step: '02', command: 'pydocai analyze ./', title: 'PARSE_AST_TREE', desc: 'The engine parses models, views, serializers, and URLs to build a relational map of your Django architecture.' }, - { step: '03', command: 'pydocai compile --md', title: 'GENERATE_MARKDOWN', desc: 'Receive standard Markdown files featuring field constraints, foreign key mappings, and endpoint specs.' }, + { step: '01', command: 'Paste code | Upload project', title: 'ADD_YOUR_CODE', desc: 'Paste code from any language, upload a .zip, or connect a GitHub repo — everything works after a quick sign-up.' }, + { step: '02', command: 'AI analyzes instantly', title: 'GET_SMART_DOCS', desc: 'Python/Django projects get deep AST analysis (models, views, serializers, endpoints). Other languages use Groq AI to generate intelligent, contextual documentation.' }, + { step: '03', command: 'Publish | Share | Export', title: 'PUBLISH_AND_SHARE', desc: 'Publish your docs with a public slug link, share privately with teammates, export as Markdown, add comments, and manage everything from your dashboard.' }, ] const modules = [ - { icon: IconBolt, title: 'ASYNC_COMPILATION', desc: 'Upload your codebase and retrieve complete documentation payloads in seconds via optimized AST parsing.' }, - { icon: IconBrain, title: 'AI_PATTERN_RECOGNITION', desc: 'Deep contextual understanding of complex Django patterns, DRF views, and nested serializers.' }, - { icon: IconTable, title: 'SCHEMA_GENERATION', desc: 'Auto-compiled Markdown tables detailing database models, field types, constraints, and relationships.' }, - { icon: IconLink, title: 'ENDPOINT_MAPPING', desc: 'Automated REST API documentation including allowed HTTP methods, path parameters, and JSON response bodies.' }, - { icon: IconRocket, title: 'VS_CODE_COMPATIBLE', desc: 'Generated markdown is strictly formatted to render perfectly in GitHub, GitLab, and VS Code preview modes.' }, - { icon: IconArchive, title: 'MULTI_SOURCE_INGESTION', desc: 'Supports direct .zip uploads, single .py files, and public/private GitHub repository linking.' }, + { icon: IconBolt, title: 'UNIVERSAL_DOCS', desc: 'Paste code from any language — JavaScript, Rust, Go, Java, Python, C++, or anything else — and get AI-generated documentation instantly. No framework required.' }, + { icon: IconBrain, title: 'DJANGO_DEEP_DOCS', desc: 'For Django/DRF projects, the engine parses models, views, serializers, and URLs via AST to produce structured, comprehensive docs with field constraints and relationships.' }, + { icon: IconLink, title: 'PUBLIC_SHARING', desc: 'Generate a unique public link for any project. Share your documentation with teammates, clients, or the world — no login required to view.' }, + { icon: IconRocket, title: 'MARKDOWN_EXPORT', desc: 'Download your documentation as clean, formatted Markdown. Renders perfectly in GitHub, GitLab, VS Code, and any Markdown viewer.' }, + { icon: IconArchive, title: 'DASHBOARD', desc: 'All your documentation projects in one place. Create, view, edit, and manage docs from a central dashboard with full history.' }, + { icon: IconTable, title: 'COMMENTS & NOTIFICATIONS', desc: 'Add comments to documentation for team feedback. Get notified when docs are updated or when someone replies to your comments.' }, ] const sampleInput = `from django.db import models @@ -52,7 +52,7 @@ const sampleFields = [ { name: 'created_at', type: 'DateTimeField', const: 'auto_now_add', desc: 'Initial creation timestamp' }, ] -const techBadges = ['Django', 'DRF', 'Python 3.x', 'REST APIs', 'Models', 'Serializers', 'Views', 'URLs'] +const techBadges = ['Django', 'DRF', 'Python 3.x', 'Universal Mode', 'Any Language', 'No Install', 'Groq AI', 'Markdown'] const siteUrl = 'https://pydocai.vercel.app' @@ -62,7 +62,7 @@ const jsonLd = { name: 'PyDocAI', applicationCategory: 'DeveloperApplication', operatingSystem: 'Web', - description: 'AI-powered documentation generator for Python and Django projects. Upload code or connect a Git repo to generate beautiful, comprehensive documentation automatically.', + description: 'AI-powered documentation generator for Python, Django, and any programming language. Upload code or connect a Git repo to generate comprehensive documentation automatically.', url: siteUrl, author: { '@type': 'Organization', name: 'PyDocAI' }, offers: { '@type': 'Offer', price: '0', priceCurrency: 'USD' }, @@ -76,14 +76,14 @@ export default function Home() { return (
- PyDocAI — AI-Powered Python Documentation Generator - + PyDocAI — AI-Powered Documentation Generator for Any Language + - - + + - - + + @@ -104,7 +104,7 @@ export default function Home() { generated.

- Upload your Django project and let AI produce beautiful, comprehensive docs — models, views, endpoints, and more. + Upload your Django project or paste code from any language — AI generates beautiful, comprehensive docs in seconds.

{isAuthenticated ? (