Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
153 commits
Select commit Hold shift + click to select a range
db50935
Documentation updates and scheduler dashboard improvements
AJaySi Jan 18, 2026
531d027
Remove large generated media files from Git tracking
AJaySi Jan 21, 2026
328ac7d
Added Backlinking feature
AJaySi Jan 21, 2026
397e926
Refactor Image Studio, Video Studio, Backlinking, Scheduler Dashboard…
AJaySi Jan 24, 2026
bd6e0cb
Backlinking AI Enhancement Complete.
AJaySi Jan 24, 2026
6d51cab
feat: Complete Competitor Analyzer Refactoring + Week 1-2 Immediate Wins
AJaySi Jan 25, 2026
ef31895
Apply essential SSOT PostgreSQL architecture - dual database with bac…
AJaySi Jan 31, 2026
4a8f3ed
Complete PostgreSQL-only architecture with SQLite removal
AJaySi Jan 31, 2026
7bba595
Fix DATABASE_URL references to use dual PostgreSQL architecture
AJaySi Jan 31, 2026
9ed791f
Fix PostgreSQL JSON index error in content_assets table
AJaySi Jan 31, 2026
8e70a3f
Fix duplicate index error with checkfirst=True in database initializa…
AJaySi Jan 31, 2026
f99d943
Remove duplicate index from ResearchProject model
AJaySi Jan 31, 2026
9337cde
Remove all duplicate indexes from ResearchProject model
AJaySi Jan 31, 2026
b943c3e
feat: Implement enterprise-grade PostgreSQL architecture with multi-t…
AJaySi Feb 3, 2026
5700cd4
Improve SEO metadata for shop previews
AJaySi Feb 4, 2026
2079cf6
Add product asset rendering for shop previews
AJaySi Feb 4, 2026
bddbea2
Add onboarding page image generation
AJaySi Feb 4, 2026
b19f277
Resolve merge conflicts and integrate website automation features
AJaySi Feb 4, 2026
95f8b31
Merge PR #318 - Product asset image rendering for shop previews
AJaySi Feb 4, 2026
dbb0cc1
Add website maker implementation documentation
AJaySi Feb 4, 2026
492fc9b
Complete PostgreSQL SSOT implementation and robust scheduler system
AJaySi Feb 4, 2026
ea250ef
Add website maker implementation guide
AJaySi Feb 4, 2026
38b0cd7
Merge PR #319 - Add shop asset renderers and website maker documentation
AJaySi Feb 4, 2026
6a8a9ce
Merge PR #320 - Add comprehensive website maker implementation guide
AJaySi Feb 4, 2026
8f255af
Recover PostgreSQL features and utils/logging system from previous co…
AJaySi Feb 5, 2026
767b6e6
Fix database check script for dual PostgreSQL architecture
AJaySi Feb 5, 2026
a0e5cd8
Fix database setup engine() function call error
AJaySi Feb 5, 2026
e457d36
Complete PostgreSQL dual database and logging system fixes
AJaySi Feb 5, 2026
e57cc13
Implement frontend optimization gaps - ZERO BREAKING CHANGES
AJaySi Feb 5, 2026
3b30c67
Add performance monitoring to original App.tsx - ZERO BREAKING CHANGES
AJaySi Feb 6, 2026
eaffc84
Implement unified logging foundation with migration support
AJaySi Feb 6, 2026
335e4eb
Migrate high-priority files to unified logging system
AJaySi Feb 6, 2026
6b71e61
Complete medium and low priority unified logging migration
AJaySi Feb 6, 2026
96048d7
Complete core services unified logging migration
AJaySi Feb 6, 2026
c433445
Careful Targeted Migration - Top 10 Priority Files
AJaySi Feb 6, 2026
5d44923
Migration Progress Summary - Current Status and Next Steps
AJaySi Feb 6, 2026
7dbe46f
Careful Migration Batch 2 - Next 10 High-Priority Files
AJaySi Feb 6, 2026
486c7ee
🎯 UNIFIED LOGGING CONSOLIDATION COMPLETE
AJaySi Feb 6, 2026
42ae95e
🚀 PHASE 2: TARGETED MIGRATION BATCH 1 COMPLETE
AJaySi Feb 6, 2026
8f4085c
🚀 PHASE 2: BATCH 2 MIGRATION COMPLETE - 17.2% PROGRESS
AJaySi Feb 6, 2026
994e2c3
🚀 PHASE 2: BATCH 3 MIGRATION COMPLETE - 24.1% PROGRESS
AJaySi Feb 6, 2026
9e78c20
🚀 PHASE 2: BATCH 4 MIGRATION COMPLETE - 31.0% PROGRESS
AJaySi Feb 6, 2026
1302d07
🚀 PHASE 2: BATCH 5 MIGRATION COMPLETE - 39.1% PROGRESS
AJaySi Feb 6, 2026
9fda8a0
🚀 PHASE 2: BATCH 6 MIGRATION COMPLETE - 66.1% PROGRESS
AJaySi Feb 6, 2026
203f811
🚀 PHASE 2: BATCH 7 MIGRATION COMPLETE - 77.4% PROGRESS
AJaySi Feb 6, 2026
5c64cd6
🚀 PHASE 2: BATCH 8 MIGRATION COMPLETE - 88.7% PROGRESS
AJaySi Feb 6, 2026
e207d23
🚀 PHASE 2: BATCH 9 MIGRATION COMPLETE - 100% COMPLETE!
AJaySi Feb 6, 2026
c6125cd
Fix Core Files Migration - Complete Unified Logging Implementation
AJaySi Feb 7, 2026
9f5685b
Add integration registry adapters
AJaySi Feb 9, 2026
27ab459
Document integrations registry
AJaySi Feb 9, 2026
d8074e5
Add postgres oauth token dual-write support
AJaySi Feb 9, 2026
6dc7d2b
Migrate OAuth tokens to PostgreSQL
AJaySi Feb 9, 2026
1e7dd68
Move provider token reads to PostgreSQL
AJaySi Feb 9, 2026
3642101
Document OAuth auth-url endpoints and add inline notes
AJaySi Feb 9, 2026
e66fbeb
Document postgres oauth migration and add comments
AJaySi Feb 9, 2026
c701fd4
Remove sqlite storage from integrations
AJaySi Feb 9, 2026
48d24ec
Local changes before merging OAuth integration PRs
AJaySi Feb 9, 2026
992e86d
Merge integration provider architecture
AJaySi Feb 9, 2026
5ff5ff9
Merge OAuth token storage to PostgreSQL - resolved conflicts
AJaySi Feb 9, 2026
e59fe53
Make integration registry lazy-loaded
AJaySi Feb 9, 2026
deb14c3
Fix integration registry with clean version from PR
AJaySi Feb 9, 2026
d90d00e
Review onboarding step 5 for OAuth integration - resolved conflicts
AJaySi Feb 9, 2026
f9f3982
Add OAuth endpoints and redirect validation - resolved conflicts
AJaySi Feb 9, 2026
54aed51
Implement enhanced OAuth integration framework with PostgreSQL-only s…
AJaySi Feb 9, 2026
ce41f39
Merge PR #322 - OAuth token models and migration script
AJaySi Feb 9, 2026
edc4043
Merge PR #324 - Switch OAuth provider reads to PostgreSQL and enable …
AJaySi Feb 9, 2026
fea6a64
Merge PR #326 - Remove SQLite storage and harden monitoring
AJaySi Feb 9, 2026
e6f400b
Complete OAuth integration framework with full interface implementation
AJaySi Feb 9, 2026
abc74b4
Fix MUI Box component export error
AJaySi Feb 9, 2026
6b1187f
Fix MUI import paths for VideoStudio modules
AJaySi Feb 9, 2026
c45f591
Fix bing_oauth.py syntax errors and encoding issues
AJaySi Feb 9, 2026
1cacb98
Fix wix_oauth.py syntax errors and encoding issues
AJaySi Feb 9, 2026
0d13b84
Fix wordpress_oauth.py encoding issues
AJaySi Feb 9, 2026
9c21369
Fix oauth_token_monitoring_service.py encoding and BOM issues
AJaySi Feb 9, 2026
2e3a8a2
Fix oauth_token_monitoring_executor.py encoding consistency
AJaySi Feb 9, 2026
dcb99e5
Fix OAuth integration encoding issues
AJaySi Feb 9, 2026
4c63cca
Remove BOM characters from OAuth integration files
AJaySi Feb 9, 2026
6366cb0
Fix MUI optimizer with proper import/export structure
AJaySi Feb 9, 2026
ae83382
Fix frontend build errors and TypeScript issues
AJaySi Feb 9, 2026
38eed44
🔧 Fix ESLint warnings across entire frontend codebase
AJaySi Feb 9, 2026
e47d991
🚨 CRITICAL: Fix build-breaking ESLint errors
AJaySi Feb 9, 2026
ac9cf3f
Fix persistence keys and docs
AJaySi Feb 9, 2026
6adf53e
Fix persistence keys and docs
AJaySi Feb 9, 2026
21b8489
🚨 URGENT: Fix duplicate safeRenderText function causing build failure
AJaySi Feb 9, 2026
8116bb6
🔧 Fix remaining ESLint warnings
AJaySi Feb 10, 2026
4a3ccbf
🔧 Comprehensive ESLint fixes across entire frontend codebase
AJaySi Feb 10, 2026
3d1416b
Merge branch 'main' into codex/fix-persistence-keys-mismatch-in-debug…
AJaySi Feb 10, 2026
625f8b9
🔧 Fix frontend build errors for Vercel deployment
AJaySi Feb 10, 2026
30655a9
Implement calendar event retrieval fixes and strengthen polling tests
AJaySi Feb 10, 2026
b4ec200
🔧 Fix ESLint warnings in ImageStudio components
AJaySi Feb 10, 2026
dc51759
Fix scheduler dashboard API/backend contract and critical runtime bugs
AJaySi Feb 10, 2026
4c0faa7
Implement P0 scheduler hardening: tenant scoping, event filters, star…
AJaySi Feb 10, 2026
9c55a51
🔧 Fix ESLint warnings in BlogWriter SEO components
AJaySi Feb 10, 2026
57c09ca
Add P0.B scheduler regression guardrail tests
AJaySi Feb 10, 2026
8eb00d9
P1.A: add advisory-lock leader election and leadership health visibility
AJaySi Feb 10, 2026
859291b
🔧 Fix ESLint warnings in StrategyIntelligence components
AJaySi Feb 10, 2026
d61a0fa
P1.B: harden execution lifecycle with task leases and timeout cleanup
AJaySi Feb 10, 2026
6688b72
🔧 Strategic cleanup of shared components ESLint warnings
AJaySi Feb 10, 2026
4e9a811
P2.A: normalize scheduler log user identity with compatibility reads
AJaySi Feb 10, 2026
5efab90
P2.B: make scheduler GET endpoints read-only with explicit reconcile …
AJaySi Feb 10, 2026
3b06cfd
P2.B: enforce read-only scheduler GET semantics and add explicit reco…
AJaySi Feb 10, 2026
c4c4385
Docs: add scheduler integration handoff completion status and gate te…
AJaySi Feb 10, 2026
cffee51
Fail asset tracking on invalid enums and add caller telemetry handling
AJaySi Feb 10, 2026
2124f38
Reduce path sensitivity in file storage logs
AJaySi Feb 10, 2026
2f97637
Fix video studio content asset service import
AJaySi Feb 10, 2026
adf6db2
Sync AssetSource enum with producer modules
AJaySi Feb 10, 2026
ca5a560
Harden asset tracker enum validation and normalize source modules
AJaySi Feb 10, 2026
d9b2807
Implement Image Studio P0/P1 improvements and async transform jobs
AJaySi Feb 11, 2026
32637d2
🔧 Fix ESLint warnings across multiple component groups
AJaySi Feb 11, 2026
1b26f30
Merge branch 'pr-333'
AJaySi Feb 11, 2026
94170ac
Merge branch 'pr-334'
AJaySi Feb 11, 2026
63cf410
🗄️ Add scheduler database migrations for user_id_str and platform ins…
AJaySi Feb 11, 2026
03a374c
🔧 Add backward compatibility for scheduler API pagination changes
AJaySi Feb 11, 2026
f870dca
🔧 Add field name mapping for scheduler API compatibility
AJaySi Feb 11, 2026
032045a
Merge branch 'pr-335-actual' into scheduler-backend-fixes
AJaySi Feb 11, 2026
6a721b6
🔧 Fix scheduler API contracts and runtime issues (PR #335)
AJaySi Feb 11, 2026
9aa2761
Merge branch 'scheduler-frontend-compatibility'
AJaySi Feb 11, 2026
d6fcaa3
Merge branch 'scheduler-backend-fixes'
AJaySi Feb 11, 2026
0411c7b
Merge branch 'merge-pr-336'
AJaySi Feb 11, 2026
3213b1b
Merge branch 'merge-pr-337'
AJaySi Feb 11, 2026
dc32b3b
fix(oauth): harden callbacks and remove token exposure in client flows
AJaySi Feb 11, 2026
badfe79
Align integration provider contract and add contract tests
AJaySi Feb 11, 2026
c9b906e
Fix unified oauth token metadata and expiry handling
AJaySi Feb 11, 2026
6929ea1
Harden GSC OAuth callback state validation
AJaySi Feb 11, 2026
b27e845
Redact Bing OAuth tokens from UI and callback payloads
AJaySi Feb 11, 2026
fdbb4ff
Merge branch 'merge-pr-338'
AJaySi Feb 11, 2026
b15f58c
Sync AssetSource enum with producer modules
AJaySi Feb 10, 2026
c32136d
Harden asset tracker enum validation and normalize source modules
AJaySi Feb 10, 2026
dd309fd
Merge pull request #340 from AJaySi/codex/update-save_asset_to_librar…
AJaySi Feb 11, 2026
e8a8754
Merge pull request #344 from AJaySi/codex/repair-model-level-defects-…
AJaySi Feb 11, 2026
20ee70d
Merge branch 'pr-342-backend-security'
AJaySi Feb 11, 2026
e7842dd
Merge pull request #341 from AJaySi/codex/review-image-studio-feature…
AJaySi Feb 11, 2026
5441b49
Resolve merge conflict in asset_tracker.py
AJaySi Feb 11, 2026
5dd5ccd
Merge branch 'merge-pr-343'
AJaySi Feb 11, 2026
d85b31c
Add get_trusted_origins_for_redirect function for OAuth security
AJaySi Feb 11, 2026
147f45e
Add OAuth origin validation utilities and update Bing OAuth hook
AJaySi Feb 11, 2026
fa035b0
db: implement SSOT gap fixes for models, RLS idempotency, and context…
AJaySi Feb 11, 2026
3574a81
Merge pull request #346 from AJaySi/codex/harden-gscservice-handle_oa…
AJaySi Feb 11, 2026
debd110
Complete PR #345: Add missing OAuth security changes from original PR
AJaySi Feb 11, 2026
b14ee71
Harden subscription endpoint auth and add production readiness review
AJaySi Feb 11, 2026
784283d
Merge pull request #348 from AJaySi/codex/review-postgresql-implement…
AJaySi Feb 11, 2026
48de955
Merge pull request #347 from AJaySi/codex/update-bing-oauth-to-exclud…
AJaySi Feb 11, 2026
165daf2
Merge branch 'pr-349-security-hardening'
AJaySi Feb 11, 2026
5575104
Merge PR #349: Harden subscription endpoint authorization and add pro…
AJaySi Feb 11, 2026
5d338d1
Expand subscription security SSOT with comprehensive review details
AJaySi Feb 11, 2026
da35642
Add subscription security SSOT documentation
AJaySi Feb 11, 2026
2501140
Merge PR #350: Harden subscription API auth, validation, and throttling
AJaySi Feb 11, 2026
e12feab
Implement unified OAuth framework architecture
AJaySi Feb 11, 2026
b09ca78
feat: Complete billing service refactoring and OAuth framework unific…
AJaySi Feb 11, 2026
7b60527
chore: Clean up deprecated OAuth documentation files
AJaySi Feb 11, 2026
51accb9
security: Fix critical high-severity vulnerabilities
AJaySi Feb 11, 2026
6269d42
docs: Add comprehensive security vulnerabilities resolution report
AJaySi Feb 11, 2026
7a015f6
Harden Wix blog publishing pipeline for content, SEO, and media
AJaySi Feb 13, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
67 changes: 46 additions & 21 deletions .github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,20 @@

**Create, optimize, and publish high‑quality content across platforms — in minutes, not months.**

[🌐 Live Demo](https://www.alwrity.com) • [📚 Docs Site](https://ajaysi.github.io/ALwrity/) • [📖 Wiki](https://github.com/AJaySi/AI-Writer/wiki) • [💬 Discussions](https://github.com/AJaySi/AI-Writer/discussions) • [🐛 Issues](https://github.com/AJaySi/AI-Writer/issues)
[🌐 Live Demo](https://www.alwrity.com) • [📚 Docs Site](https://ajaysi.github.io/ALwrity/) • [📖 Wiki](https://github.com/AJaySi/ALwrity/wiki) • [💬 Discussions](https://github.com/AJaySi/AI-Writer/discussions) • [🐛 Issues](https://github.com/AJaySi/AI-Writer/issues)

</div>

<p align="center">
<a href="https://ajaysi.github.io/ALwrity/"><img src="https://raw.githubusercontent.com/AJaySi/AI-Writer/main/docs-site/docs/assests/hero-1.jpg" alt="ALwrity dashboard overview" width="30%"/></a>
<a href="https://ajaysi.github.io/ALwrity/features/blog-writer/overview/"><img src="https://raw.githubusercontent.com/AJaySi/AI-Writer/main/docs-site/docs/assests/hero-2.png" alt="Story Writer workflow" width="30%"/></a>
<a href="https://ajaysi.github.io/ALwrity/features/seo-dashboard/overview/"><img src="https://raw.githubusercontent.com/AJaySi/AI-Writer/main/docs-site/docs/assests/hero-3.png" alt="SEO dashboard insights" width="30%"/></a>
<img src="https://raw.githubusercontent.com/AJaySi/AI-Writer/main/docs-site/docs/assests/hero-1.jpg" alt="ALwrity dashboard overview" width="30%"/>
<img src="https://raw.githubusercontent.com/AJaySi/AI-Writer/main/docs-site/docs/assests/hero-2.png" alt="Blog Writer workflow" width="30%"/>
<img src="https://raw.githubusercontent.com/AJaySi/AI-Writer/main/docs-site/docs/assests/hero-3.png" alt="SEO dashboard insights" width="30%"/>
</p>

<p align="center">
<img src="https://raw.githubusercontent.com/AJaySi/AI-Writer/main/docs-site/docs/assests/podcast-maker.png" alt="Podcast Maker - AI Audio Content" width="30%"/>
<img src="https://raw.githubusercontent.com/AJaySi/AI-Writer/main/docs-site/docs/assests/video-studio.png" alt="Video Studio - AI Video Creation" width="30%"/>
<img src="https://raw.githubusercontent.com/AJaySi/AI-Writer/main/docs-site/docs/assests/instagram-editor.png" alt="Instagram Editor - Social Media Content" width="30%"/>
</p>

---
Expand All @@ -27,6 +33,7 @@
- **Grounded & reliable**: Google grounding, Exa/Tavily research, citation management.
- **Secure & scalable**: JWT auth, OAuth2, rate limiting, monitoring, subscription/usage tracking.
- **Built for solopreneurs**: Enterprise-grade capabilities with a fast, friendly UI.
- **Comprehensive documentation**: Detailed guides, user journeys, and contextual help throughout the platform.

---

Expand All @@ -40,13 +47,17 @@
---

### What’s functional now
- **AI Blog Writer (Phases)**: Research → Outline → Content → SEO → Publish, with guarded navigation and local persistence (`frontend/src/hooks/usePhaseNavigation.ts`).
- **SEO Dashboard**: Analysis, metadata, and Google Search Console insights (see docs under `docs-site/docs/features/seo-dashboard`).
- **Story Writer**: Setup (premise) → Outline → Writing → Export with phase navigation and reset (`frontend/src/hooks/useStoryWriterPhaseNavigation.ts`).
- **LinkedIn (Factual, Google‑Grounded)**: Real Google grounding + citations + quality metrics for posts/articles/carousels/scripts (see `frontend/docs/linkedin_factual_google_grounded_url_content.md`).
- **Persona System**: Core personas and platform adaptations via APIs (`backend/api/persona.py`).
- **Facebook Persona Service**: Gemini structured JSON for Facebook‑specific persona optimization (`backend/services/persona/facebook/facebook_persona_service.py`).
- **Personalization & Brand Voice**: Validation and configuration of writing style, tone, structure (`backend/services/component_logic/personalization_logic.py`).
- **AI Blog Writer (Phases)**: Research → Outline → Content → SEO → Publish, with guarded navigation and local persistence.
- **SEO Dashboard**: Analysis, metadata, and Google Search Console insights with comprehensive optimization tools.
- **Story Writer**: Setup (premise) → Outline → Writing → Export with phase navigation and multimedia integration.
- **LinkedIn Writer**: Factual, Google‑grounded content with citations and quality metrics for posts/articles/carousels/scripts.
- **Instagram Editor**: Multi-format content creation with CopilotKit integration for Feed, Stories, and Reels.
- **Podcast Maker**: AI-powered audio content creation with research, scripting, and voice synthesis.
- **Video Studio**: Comprehensive video creation with WaveSpeed AI integration and multiple modules.
- **YouTube Studio**: AI-powered YouTube content planning, scene building, and optimization.
- **Content Calendar**: AI-powered content planning and scheduling across all platforms.
- **ALwrity Researcher**: Intent-driven research with multi-source integration and structured outputs.
- **Persona System**: Core personas with platform-specific adaptations and brand voice management.

See details in the Wiki: [Docs Home](https://github.com/AJaySi/AI-Writer/wiki)

Expand Down Expand Up @@ -117,14 +128,31 @@ For module details, see `backend/services/llm_providers/README.md`.
---

### Documentation
- Docs Site (MkDocs): https://ajaysi.github.io/ALwrity/
- Blog Writer (phases and UI): `docs-site/docs/features/blog-writer/overview.md`
- SEO Dashboard overview: `docs-site/docs/features/seo-dashboard/overview.md`
- SEO Dashboard GSC integration: `docs-site/docs/features/seo-dashboard/gsc-integration.md`
- LinkedIn factual, Google-grounded content: `frontend/docs/linkedin_factual_google_grounded_url_content.md`
- Persona Development (docs-site): `docs-site/docs/features/content-strategy/personas.md`
- **[📖 GitHub Wiki](https://github.com/AJaySi/ALwrity/wiki)**: Complete documentation, guides, and tutorials
- **[📚 Docs Site](https://ajaysi.github.io/ALwrity/)**: Interactive documentation with search

#### 📖 **Wiki Documentation**
- **[Getting Started](https://github.com/AJaySi/ALwrity/wiki/Getting-started-with-ALwrity-AI-writer)**
- **[Configuration Options](https://github.com/AJaySi/ALwrity/wiki/Alwrity-AI-Writer-Configuration-options)**
- **[Interface Overview](https://github.com/AJaySi/ALwrity/wiki/ALwrity-Interface-first-page-explanation)**
- **[AI Web Research](https://github.com/AJaySi/ALwrity/wiki/Alwrity-AI-Web-Research-Details-for-content-writing)**
- **[Blog from Audio](https://github.com/AJaySi/ALwrity/wiki/How-to-use-AI-to-blog-from-Audio)**
- **[LLM Models](https://github.com/AJaySi/ALwrity/wiki/Changing-LLM-Models-in-Alwrity-AI-Writer)**

#### 📖 **Internal Documentation**
For developers and contributors:
- **[Frontend Documentation Integration](docs/frontend-documentation-integration.md)**: Guide for implementing contextual help links
- **[Implementation Guides](docs/)**: Technical specifications and implementation details
- **[API Documentation](docs/Onboarding/README.md)**: Backend API and service documentation

---

For additional pages, browse the `docs-site/docs/` folder.
### 🎯 **Recent Updates**
- **📚 Enhanced Documentation**: Comprehensive GitHub Wiki with detailed feature guides and tutorials
- **🔗 Contextual Help**: Integrated documentation links throughout the frontend UI
- **📱 Multi-Platform Support**: Expanded content creation for YouTube, Instagram, LinkedIn, and more
- **🎙️ Audio & Video**: Podcast Maker and Video Studio with AI-powered creation tools
- **🤖 Advanced AI**: WaveSpeed AI integration for cutting-edge content generation

---

Expand All @@ -134,9 +162,6 @@ ALwrity generates a core writing persona from onboarding data, then adapts it pe
- Core Persona & API: `backend/api/persona.py`
- Facebook Persona Service (Gemini structured JSON): `backend/services/persona/facebook/facebook_persona_service.py`
- Personalization/Brand Voice logic: `backend/services/component_logic/personalization_logic.py`
- Docs (GitHub paths):
- Personas (docs-site): https://github.com/AJaySi/AI-Writer/blob/main/docs-site/docs/features/content-strategy/personas.md
- LinkedIn Grounded Content plan: https://github.com/AJaySi/AI-Writer/blob/main/frontend/docs/linkedin_factual_google_grounded_url_content.md

At a glance:
- Data → Persona: Onboarding + website analysis → core persona
Expand Down
18 changes: 18 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ youtube_videos/
backend/podcast_images/
backend/podcast_videos/

backend\alwrity.db


backend/researchtools_text/projects/
youtube_avatars/
youtube_avatars/*
Expand Down Expand Up @@ -241,3 +244,18 @@ docs/__pycache__/
backend/.onboarding_progress*.json
backend/researchtools_text/projects/Draft__AI_advanc_c2f90698.json
backend/researchtools_text/projects/Draft__AI_adv_388d4491.json
# Generated Media Content (MAJOR SIZE CONTRIBUTORS)
youtube_videos/
podcast_images/
podcast_audio/
podcast_videos/
story_audio/
story_images/
story_videos/
transform_videos/
researchtools_text/

# Backend Generated Images
backend/image_studio_images/
backend/linkedin_images/
backend/linkedin_images/**
80 changes: 80 additions & 0 deletions IMAGE_STUDIO_REVIEW.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
# ALwrity Image Studio Review (End-User Perspective)

## Scope Reviewed
This review is based on a code walkthrough of the Image Studio frontend modules, routing, hooks, and backend Image Studio routers/services.

## What feels strong (as an end user)

1. **Broad studio coverage in one place**
- The dashboard and module catalog expose a full visual workflow: creation, editing, upscaling, control, social optimization, processing, face swap, and asset library.
2. **Good UX framing and discoverability**
- The dashboard module cards include practical descriptions, highlights, and examples. This helps a non-technical marketer quickly choose the right tool.
3. **Strong backend modularity and service separation**
- The backend facade splits image workflows into generation, editing, advanced, and utilities routers. This is a good foundation for scale and maintainability.
4. **Coverage beyond generation**
- Image Studio includes practical post-processing capabilities (compression + format conversion), which are essential for publishing workflows.
5. **Cost-awareness signals exist**
- Cost estimate APIs and “preflight operation” patterns indicate cost transparency is a design consideration.

## Robustness assessment

### Positive robustness signals
- **Consistent top-level orchestration** via `ImageStudioManager`, which centralizes workflows for create/edit/upscale/control/social/transform/utilities.
- **Health and status endpoints** exist for operational introspection.
- **Input validation patterns** are visible in service layers (e.g., supported formats, platform validation), reducing invalid-request failures.

### Robustness concerns / risks
1. **Transform Studio appears implemented but not route-mounted in app routing**
- The module list points to `/image-transform` and `TransformStudio` exists, but the route is not defined in `App.tsx`.
- End-user impact: users can see/expect this capability but may hit dead navigation or inaccessible feature entry.
2. **Mismatch between marketing copy and actual completion state in processing suite**
- Image Processing Studio advertises resizer/watermarking in copy but those tabs are disabled and marked “Coming Soon.”
- End-user impact: expectation gap and trust erosion.
3. **Create flow can return `success: true` even with failed variations**
- The generation loop captures per-variation exceptions and still returns success at the top-level with failure counts.
- End-user impact: ambiguous success state; users may think job completed fully when partial/total failure occurred.
4. **Operational observability is incomplete**
- `/metrics` is currently a placeholder, limiting production-level reliability visibility.
5. **Potentially stale pricing language in UI descriptors**
- Module cards contain highly specific pricing text while provider/model costs in service code are hard-coded estimates.
- End-user impact: confusion if invoiced pricing diverges from UI estimates.

## Feature gaps observed (end-user lens)

1. **No clearly surfaced asynchronous job UX for long-running transform workflows**
- Current hook/flow appears request-response centric; if generation times spike, users may need resilient background jobs, retries, and resumable status views.
2. **No integrated “workflow chaining” UX**
- A user likely wants: create → edit → upscale → social exports in a single guided flow with one asset lineage timeline.
3. **Limited confidence UX around failure states**
- Error messages exist, but there is room for richer recovery guidance (“try smaller resolution”, “switch model”, “reduce prompt complexity”).
4. **Expectation-setting around “planning” modules**
- Batch Processor is shown in dashboard catalog, but status is planning. That should be even more clearly gated for users.

## Recommended enhancements (prioritized)

### P0 (immediate trust & usability)
1. **Fix Transform Studio route parity**
- Add route or hide module until route is available.
2. **Harden top-level success semantics in Create Studio**
- Return `success: false` when all variations fail; return partial status explicitly when mixed.
3. **Align UI claims with implementation state**
- Mark resizer/watermark features as roadmap-only in all surfaces where they are advertised.

### P1 (reliability & user confidence)
4. **Introduce first-class async jobs for transform operations**
- Add job IDs, polling/websocket updates, resumable results, and queued/cancel states.
5. **Improve error recovery UX**
- Map backend error classes to actionable UI advice.
6. **Replace static pricing snippets with backend-driven dynamic cost cards**
- Display estimate confidence and update timestamps.

### P2 (delight & retention)
7. **Add guided “Campaign Asset Pipeline”**
- Single wizard chaining Create/Edit/Upscale/Social export with saved presets per brand/persona.
8. **Add quality scorecards per output**
- Platform compliance score, file-weight score, readability-safe-zone score.
9. **Add version compare + rollback in Asset Library**
- Better creative iteration experience.

## End-user verdict
Image Studio is **feature-rich and architecturally promising**, especially with its modular backend and multi-tool surface. However, there are **critical product-polish gaps** (route parity, claim-vs-availability mismatches, ambiguous success semantics) that can weaken user trust. Fixing those quickly would materially improve perceived robustness and adoption.
42 changes: 42 additions & 0 deletions ToBeMigrated/legacy_backlinker/App.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
#root {
max-width: 1280px;
margin: 0 auto;
padding: 2rem;
text-align: center;
}

.logo {
height: 6em;
padding: 1.5em;
will-change: filter;
transition: filter 300ms;
}
.logo:hover {
filter: drop-shadow(0 0 2em #646cffaa);
}
.logo.react:hover {
filter: drop-shadow(0 0 2em #61dafbaa);
}

@keyframes logo-spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}

@media (prefers-reduced-motion: no-preference) {
a:nth-of-type(2) .logo {
animation: logo-spin infinite 20s linear;
}
}

.card {
padding: 2em;
}

.read-the-docs {
color: #888;
}
31 changes: 31 additions & 0 deletions ToBeMigrated/legacy_backlinker/App.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
import { Toaster } from "@/components/ui/toaster";
import { Toaster as Sonner } from "@/components/ui/sonner";
import { TooltipProvider } from "@/components/ui/tooltip";
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
import { BrowserRouter, Routes, Route } from "react-router-dom";
import Index from "./pages/Index";
import NotFound from "./pages/NotFound";
import Dashboard from "./pages/Dashboard";
import NewCampaign from "./pages/NewCampaign";

const queryClient = new QueryClient();

const App = () => (
<QueryClientProvider client={queryClient}>
<TooltipProvider>
<Toaster />
<Sonner />
<BrowserRouter>
<Routes>
<Route path="/" element={<Index />} />
<Route path="/dashboard" element={<Dashboard />} />
<Route path="/new-campaign" element={<NewCampaign />} />
{/* ADD ALL CUSTOM ROUTES ABOVE THE CATCH-ALL "*" ROUTE */}
<Route path="*" element={<NotFound />} />
</Routes>
</BrowserRouter>
</TooltipProvider>
</QueryClientProvider>
);

export default App;
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading