mirror of
https://github.com/AJaySi/ALwrity.git
synced 2026-04-25 17:05:56 +03:00
[PR #222] [MERGED] Migrate facebook writer to fastapi backend #599
Labels
No labels
AI Content Agents
AI Content Strategy
AI Content planning
AI Marketing Tools
AI SEO
AI personalization
AI writer
ALwrity Copi-lot
Alwrity web search
Anthropic
DeepSeek
Gemini AI
Integration
LLM
OnBoarding
OnBoarding
RAG knowledgebase Memory
bug
documentation
enhancement
good first issue
help wanted
invalid
openai
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ALwrity#599
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/AJaySi/ALwrity/pull/222
Author: @AJaySi
Created: 8/27/2025
Status: ✅ Merged
Merged: 8/31/2025
Merged by: @AJaySi
Base:
main← Head:cursor/migrate-facebook-writer-to-fastapi-backend-9ced📝 Commits (1)
40d33deAdd Facebook Writer API with models, routers, and migration summary📊 Changes
53 files changed (+2972 additions, -0 deletions)
View changed files
➕
FACEBOOK_WRITER_MIGRATION_SUMMARY.md(+209 -0)➕
backend/api/__pycache__/__init__.cpython-313.pyc(+0 -0)➕
backend/api/__pycache__/onboarding.cpython-313.pyc(+0 -0)➕
backend/api/facebook_writer/README.md(+227 -0)➕
backend/api/facebook_writer/models/__init__.py(+79 -0)➕
backend/api/facebook_writer/models/__pycache__/__init__.cpython-313.pyc(+0 -0)➕
backend/api/facebook_writer/models/__pycache__/ad_copy_models.cpython-313.pyc(+0 -0)➕
backend/api/facebook_writer/models/__pycache__/carousel_models.cpython-313.pyc(+0 -0)➕
backend/api/facebook_writer/models/__pycache__/engagement_models.cpython-313.pyc(+0 -0)➕
backend/api/facebook_writer/models/__pycache__/event_models.cpython-313.pyc(+0 -0)➕
backend/api/facebook_writer/models/__pycache__/group_post_models.cpython-313.pyc(+0 -0)➕
backend/api/facebook_writer/models/__pycache__/hashtag_models.cpython-313.pyc(+0 -0)➕
backend/api/facebook_writer/models/__pycache__/page_about_models.cpython-313.pyc(+0 -0)➕
backend/api/facebook_writer/models/__pycache__/post_models.cpython-313.pyc(+0 -0)➕
backend/api/facebook_writer/models/__pycache__/reel_models.cpython-313.pyc(+0 -0)➕
backend/api/facebook_writer/models/__pycache__/story_models.cpython-313.pyc(+0 -0)➕
backend/api/facebook_writer/models/ad_copy_models.py(+114 -0)➕
backend/api/facebook_writer/models/carousel_models.py(+51 -0)➕
backend/api/facebook_writer/models/engagement_models.py(+70 -0)➕
backend/api/facebook_writer/models/event_models.py(+61 -0)...and 33 more files
📄 Description
Migrate the Facebook writer from the
ToBeMigratedfolder to a new FastAPI backend to provide a scalable REST API for future React UI integration.This PR converts the existing Streamlit-based Facebook writer into a modular FastAPI backend. It introduces Pydantic models for request/response validation, a service layer for business logic and AI integration (using the
gemini_provider), and FastAPI routers for 10 distinct Facebook content generation tools. This is the initial phase of a larger migration, focusing on isolating the backend components.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.