CoolFace
Apppublic

prashanth-criodo/SPARC

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes
App README

<<<<<<< HEAD

S.P.A.R.C - Smart Personalised Automation for Remarkable Campaigns

SPARC is an AI-powered marketing campaign content generator that helps create, manage, and distribute personalized content across multiple platforms.

๐ŸŒŸ Features

  • โ€”AI-Powered Content Generation: Leverages Azure OpenAI to create engaging content
  • โ€”Persona Management: Create and manage detailed target audience personas
  • โ€”Multi-Platform Distribution:
  • โ€”Twitter integration for social media posting
  • โ€”Email campaign management
  • โ€”Campaign Analytics: Track performance metrics across platforms
  • โ€”Impressions
  • โ€”Click-through rates
  • โ€”Conversions
  • โ€”ROI tracking
  • โ€”Content History: Maintain a record of all generated content with reusability options

๐Ÿš€ Getting Started

Prerequisites

  • โ€”Python 3.8+
  • โ€”Azure OpenAI API access
  • โ€”Twitter Developer Account (for Twitter integration)
  • โ€”SMTP server access (for email campaigns)

Installation

  1. 1.Clone the repository:
bash
git clone https://github.com/yourusername/sparc.git
cd sparc
  1. 1.Create and activate a virtual environment:
bash
python -m venv venv
source venv/bin/activate  # For Unix/macOS
venv\Scripts\activate     # For Windows
  1. 1.Install dependencies:
bash
pip install -r requirements.txt
  1. 1.Create a .env file in the root directory with your credentials:
env
AZURE_OPENAI_API_KEY=your_azure_openai_api_key
AZURE_OPENAI_ENDPOINT=your_azure_endpoint
TWITTER_API_KEY=your_twitter_api_key
TWITTER_API_SECRET=your_twitter_api_secret
TWITTER_ACCESS_TOKEN=your_twitter_access_token
TWITTER_ACCESS_TOKEN_SECRET=your_twitter_access_token_secret
EMAIL_SMTP_USER=your_email
EMAIL_SMTP_PASSWORD=your_email_password

Running the Application

bash
streamlit run app.py

๐Ÿ“‹ Usage

  1. 1.Create Personas
  2. 2.Navigate to "Create Persona"
  3. 3.Fill in persona details
  4. 4.Save persona for future use
  1. 1.Generate Content
  2. 2.Select target personas
  3. 3.Define campaign goals
  4. 4.Choose content type and tone
  5. 5.Add relevant hashtags
  6. 6.Generate AI-powered content
  1. 1.Distribute Content
  2. 2.Preview and post to Twitter
  3. 3.Send email campaigns
  4. 4.Track performance in analytics
  1. 1.Analytics
  2. 2.View performance metrics
  3. 3.Track engagement across platforms
  4. 4.Monitor ROI and conversions

๐Ÿ”ง Configuration

The application uses a config.yaml file for various settings:

yaml
azure_openai:
  deployment_name: gpt-4
  api_version: 2024-02-15-preview

email:
  smtp_server: smtp.gmail.com
  smtp_port: 587

๐Ÿ“Š Analytics Features

  • โ€”Real-time performance tracking
  • โ€”Platform-specific metrics
  • โ€”Time-period filtering
  • โ€”Visual trend analysis
  • โ€”Detailed campaign reporting

๐Ÿค Contributing

  1. 1.Fork the repository
  2. 2.Create your feature branch (git checkout -b feature/AmazingFeature)
  3. 3.Commit your changes (git commit -m 'Add some AmazingFeature')
  4. 4.Push to the branch (git push origin feature/AmazingFeature)
  5. 5.Open a Pull Request

๐Ÿ“ License

This project is licensed under the MIT License - see the LICENSE file for details.

๐Ÿ™ Acknowledgments

  • โ€”Azure OpenAI for AI capabilities
  • โ€”Streamlit for the web interface
  • โ€”Twitter API for social media integration

๐Ÿ“ž Support

For support, email support@sparc.ai or open an issue in the repository.

๐Ÿ”ฎ Future Enhancements

  • โ€”LinkedIn integration
  • โ€”Advanced analytics with ML-powered insights
  • โ€”Custom template management
  • โ€”Automated scheduling
  • โ€”A/B testing capabilities ======= --- title: SPARC emoji: ๐Ÿƒ colorFrom: red colorTo: pink sdk: streamlit sdkversion: 1.41.1 appfile: app.py pinned: false ---

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference

>>>>>> 5f823d9413d6a211d8aa58dbbcbc2d0e7c10cf2d