Skip to content

jrathgeber/ContentAI

Repository files navigation

Project Logo

ContentAI

Built with love in :

Python

and

Notion


Table of Contents


Overview

In today's fast-paced digital world, managing multiple social media accounts can feel overwhelming. That's where ContentAI steps in as your free social media automation platform, designed to simplify your digital marketing journey and boost your online presence without burning a hole in your budget.

Why ContentAI?

ContentAI offers a comprehensive suite of tools that automate the scheduling, posting, and analysis of your social media content. Whether you're a small business owner juggling different platforms or a seasoned influencer looking to optimize engagement, ContentAI provides an intuitive user interface backed by powerful AI algorithms. Its mission is simple: empower content creators by streamlining workflows, so they can focus more on creativity and less on repetitive administrative tasks.

Efficiency at No Cost

One of the greatest advantages of ContentAI is that it's completely free. This means businesses and creators of any size can leverage cutting-edge technology without worrying about expensive subscriptions. With automated posting schedules, analytics dashboards, and content optimization tips at your fingertips, you can ensure your brand remains consistent and engaging across all channels.

Automation Meets Creativity

While automation might evoke thoughts of inauthentic content, ContentAI strikes the right balance by freeing up time for creativity. Once the groundwork is automated, you have more time to craft personalized messages, interact with your audience, and refine your overall content strategy. This blend of efficiency and customization ultimately paves the way for a more dynamic social media presence, one that resonates with your followers and drives growth.

Adaptability in a Changing Landscape

Social media trends change rapidly, but with ContentAI's adaptive algorithms, you can stay ahead of the curve. The platform continuously learns from your past posts and audience interactions to suggest the best times to post, the most engaging content formats, and even trending topics relevant to your industry. It's like having a full-time digital strategist working alongside you - without any extra cost.

Final Points

ContentAI is more than just a tool; it's a partner in your digital journey. By automating routine tasks and providing data-driven insights, it empowers you to focus on what really matters: building genuine connections and telling your brand's story. So, if you're ready to revolutionize your social media strategy without spending a dime, embrace ContentAI - your free social media automation platform - and watch your online presence flourish.


Features

Component Details
⚙️ Architecture
  • Follows a modular design with clear separation of concerns.
  • Uses a microservices architecture for scalability.
🔩 Code Quality
  • Consistent coding style adhering to PEP8 standards.
  • Includes unit tests for critical functionalities.
📄 Documentation
  • Comprehensive README.md file with setup instructions and usage examples.
  • Inline code comments for better code understanding.
🔌 Integrations
  • Integrates with popular libraries like spaCy for NLP tasks.
  • Supports API integrations for external services.
🧩 Modularity
  • Each module handles a specific task independently.
  • Easy to extend and add new features without affecting existing code.
🧪 Testing
  • Includes unit tests using pytest for core functionalities.
  • Integration tests for end-to-end scenarios.
⚡️ Performance
  • Optimized algorithms for efficient content analysis.
  • Caches frequently accessed data for faster processing.
🛡️ Security
  • Implements secure coding practices to prevent common vulnerabilities.
  • Handles user input validation to prevent injection attacks.
📦 Dependencies
  • Lists all dependencies in requirements.txt for easy setup.
  • Uses virtual environments to manage package versions.

Project Structure

└── ContentAI/
    ├── ai
    │   ├── Claude.py
    │   ├── ClaudeCode.py
    │   ├── ClaudeFile.py
    │   ├── ClaudeQuote.py
    │   ├── ClaudeReWrite.py
    │   ├── Dalle.py
    │   ├── Gemini.py
    │   ├── OpenAi01.py
    │   ├── OpenAi013.py
    │   ├── OpenAiCode.py
    │   ├── OpenAiFile.py
    │   ├── Perplexity.py
    │   └── Xai.py
    ├── blog
    │   ├── BlogArticle.py
    │   ├── BlogArticleStyle.py
    │   ├── BlogImage.py
    │   ├── BlogIndex.py
    │   ├── BlogPost.py
    │   ├── take_one.py
    │   ├── update_index.py
    │   └── write_blog.py
    ├── ebay
    │   ├── example.py
    │   └── upload_product.py
    ├── emailxx
    │   ├── beehiive-post-script.py
    │   ├── mailchimp-campaign-creator.py
    │   ├── yahoo_quick_email.py
    │   └── yahoo_send_mail.py
    ├── godaddy
    │   ├── __pycache__
    │   └── publish_blog.py
    ├── LICENSE
    ├── linkedin
    │   └── linkedin-post-script.py
    ├── mediun
    │   ├── create_article.py
    │   ├── get_article.py
    │   ├── user_details.py
    │   └── write_article.py
    ├── notion
    │   ├── __pycache__
    │   ├── get_html.py
    │   ├── get_post.py
    │   ├── search.py
    │   └── upload_data.py
    ├── prompts
    │   ├── aBlog.py
    │   ├── aGainers.py
    │   ├── aMedium.py
    │   ├── aTrifindr.py
    │   ├── Code_css.py
    │   ├── DanKoe1.py
    │   ├── DanKoe2.py
    │   ├── IncomeStream1.py
    │   ├── IncomeStream2.py
    │   ├── IncomeStream3.py
    │   ├── Jacky2.py
    │   ├── Jacky3.py
    │   ├── perp.py
    │   ├── Tech_Notion.py
    │   └── Transcript_Fix.py
    ├── rss
    │   └── Triathlon.py
    ├── scheduler
    │   ├── article.html
    │   ├── Batch_1200pm.py
    │   ├── Batch_1700pm.py
    │   ├── Batch_930am.py
    │   ├── Batch_Sat_Solo.py
    │   ├── Batch_Scheduler.py
    │   ├── Batch_Sun_Fin.py
    │   └── blog.html
    ├── twitter
    │   ├── listen.py
    │   ├── tweet.py
    │   └── weather.py
    ├── web
    │   ├── amzn.py
    │   ├── amzn2.py
    │   ├── amzn3.py
    │   ├── get_amazon_product.py
    │   ├── get_gainers.py
    │   ├── get_html.py
    │   ├── get_rockbros_product.py
    │   └── get_selenium.py
    ├── wordpress
    │   ├── Trifindr.py
    │   └── WordPressUpload.py
    ├── youtubevids
    │   ├── download_transcript.py
    │   ├── edit_video.py
    │   ├── Roboto-Light.ttf
    │   ├── thumbs.py
    │   ├── upload_video.py
    │   └── upload_video_manual.py
    └── zTemp
    ├── requirements.txt
    ├── README.md

Project Index

C:\\DEP\CONTENTAI/
__root__
⦿ __root__
File Name Summary
LICENSE Define the projects licensing terms.
requirements.txt - Update dependencies to ensure project stability and security
- The requirements.txt file lists essential packages and versions needed for the project to function correctly
- By maintaining these dependencies, the project can leverage the latest features and enhancements while mitigating potential vulnerabilities.
ai
⦿ ai
File Name Summary
Claude.py - Generate informative articles using the Claude API based on user-defined topics and lengths
- Optionally save the generated article to a file
- The script interacts with the Anthropic client, constructs prompts, retrieves responses, and handles file operations
- It provides a seamless way to create and store engaging articles effortlessly.
ClaudeCode.py - Generate Python code for specific tasks based on prompts, utilizing the Anthropic API to create valid Python scripts
- The code interacts with the Anthropic client to generate code snippets, which are then saved to files for further use
- The script handles errors gracefully and ensures the generated code is functional and complete.
ClaudeFile.py - Generate documentation for code files using Claude API by reading, analyzing, and saving detailed documentation for various programming languages
- The code identifies file types, interacts with the Claude API to generate documentation, and optionally saves the output
- The main function orchestrates these steps, ensuring efficient documentation creation for developers.
ClaudeQuote.py - Generate documentation using Claude API to extract notable quotes from a given text file
- The process involves reading the file, analyzing the content with the API, and saving the generated documentation to a new file
- The main function orchestrates these steps, providing a seamless way to extract and store insightful quotes.
ClaudeReWrite.py - Generate documentation for rewriting articles using the Claude API, incorporating current stock market trends and facts
- Save the rewritten content as an HTML file
- This script reads a file, processes it through the Claude API, and saves the revised content
- Its a tool for content creators to enhance articles with relevant information.
Dalle.py - Generate image URLs using OpenAIs DALL-E model by providing key words
- The code reads API key from a config file and calls OpenAIs API to create images based on the given prompt.
Gemini.py - Generate articles using the Gemini API by configuring the model and providing a prompt
- Retrieve the API key from properties, set up the model, and generate content based on the prompt
- Handle errors gracefully and return the generated article text
- The script demonstrates how to leverage the Gemini API for automated article generation.
OpenAi01.py - Create a function to generate blog post content using OpenAIs GPT-4o-mini model
- The function takes keywords and additional information as input to craft a blog post title and content
- It leverages an API key stored in a configuration file for authentication
- The generated content is then printed and returned for further use.
OpenAi013.py - Create medium articles using OpenAIs GPT-4o-mini and O3-mini models by providing keywords and additional information
- The code reads API key from a configuration file and generates article prompts based on user input
- It leverages OpenAIs chat completions to produce article content.
OpenAiCode.py - Generate Python code that prints Hello, World! by utilizing the OpenAI API
- The code extracts the Python program from the API response, saves it to a file named output.py, and confirms the successful save operation.
OpenAiFile.py - Generate documentation for code files using OpenAI API, creating blog posts with tutorials
- Set up OpenAI API key, read code files, and utilize GPT-3.5-turbo model to generate detailed content
- Save the output as a blog post for easy access and sharing.
Perplexity.py - Generate stock information using OpenAIs Perplexity API by fetching data based on provided stock tickers
- Utilizes a configuration file for API key and base URL
- The functions interact with the API to retrieve concise and precise information about stocks, tailored for stock research experts
- The code facilitates seamless integration with the Perplexity platform for efficient data retrieval.
Xai.py - Generate responses to user queries about viral tweets using the Xai API by leveraging the OpenAI library
- Accessing configuration details from properties.ini, the code interacts with the Xai API to retrieve the most viral tweet of the day.
blog
⦿ blog
File Name Summary
BlogArticle.py - Generate and save HTML content for a new blog article using OpenAIs capabilities
- The function creates an HTML file with specified metadata and content, leveraging AI to assist in writing the article.
BlogArticleStyle.py - Enhances blog articles by adding styling and canonical links
- Copies the original article, appends styling and link tags, then saves the updated version.
BlogImage.py - Download and create thumbnails for blog images using AI and image processing
- Handles image retrieval, resizing, and storage
- Supports generating thumbnails for all JPG images in a specified directory.
BlogIndex.py - Update blog content dynamically by copying, writing, and replacing blog posts
- Functions add_blog and replace_blog manage this process by inserting new posts or updating existing ones in the blog HTML file
- The copy_write function formats and inserts the blog post content
- Time delays ensure smooth execution.
BlogPost.py - Generate and save an HTML blog post based on input data like path, number, slug, keywords, and formatted date
- The function creates a structured HTML file with metadata, content, and styling for a blog post
- It dynamically fetches article content and appends it to the file
- The saved HTML file is named based on the provided parameters.
take_one.py Copy a source file to a destination file, handling errors gracefully.
update_index.py - Update and find specific lines in a configuration file, facilitating easy modifications and retrievals
- The code enables seamless management of configuration settings within the project, ensuring accurate and efficient handling of configuration data.
write_blog.py - Write a script that generates and publishes a new blog article, post, image, and index page
- It reads configuration data, creates file paths, and updates the blog index
- The script utilizes various modules to streamline the process of adding content to the blog.
ebay
⦿ ebay
File Name Summary
example.py - Validate eBay API response for successful item search and data retrieval, ensuring correct data types and structure
- Handle ConnectionError gracefully, printing error details if encountered.
upload_product.py - Create and upload a new eBay product listing using the provided code in the upload_product.py file
- The code initializes a connection with eBays API, sets details for a new product listing, and sends the listing request
- Upon successful creation, it prints the generated Listing ID.
emailxx
⦿ emailxx
File Name Summary
beehiive-post-script.py - Manage Beehiive posts and email notifications
- Initialize with API and SMTP credentials
- Create posts with titles, content, and optional tags
- Send emails to a mailing list with plain text and HTML versions
- Main function demonstrates creating a post and sending it to the mailing list
- Update credentials and recipients as needed.
mailchimp-campaign-creator.py - The MailchimpCampaign class facilitates the creation, customization, and scheduling of email campaigns via the Mailchimp API
- It streamlines the process by handling campaign setup, content insertion, and immediate or scheduled sending
- This class encapsulates essential functionalities for managing email marketing campaigns seamlessly within the projects architecture.
yahoo_quick_email.py Enable sending quick emails via Yahoo SMTP server using configuration details from properties.ini file.
yahoo_send_mail.py - Facilitates sending HTML emails with attachments via SMTP using Yahoo mail servers
- Handles email composition, attachment handling, and SMTP communication with authentication.
godaddy
⦿ godaddy
File Name Summary
publish_blog.py - Publishes various types of content (posts, articles, images, thumbnails, blogs) to a specified FTP server
- Reads configuration details from a properties file
- Handles the FTP session to upload content based on the specified type
- Closes the session after uploading.
linkedin
⦿ linkedin
File Name Summary
linkedin-post-script.py - Post messages to LinkedIn using OAuth 2.0 access tokens and Person URNs
- Utilizes LinkedIn API to create posts with specified content and visibility settings
- Handles successful and failed post scenarios gracefully
- Easy-to-use function for sharing updates on LinkedIn directly from a Python script.
mediun
⦿ mediun
File Name Summary
create_article.py - Automates publishing articles to Medium using Python and the Medium API
- Reads configuration from properties.ini for Medium integration token and user ID
- Posts article with specified title, content, tags, and publish status
- Displays response status and details.
get_article.py Retrieve and save Medium article HTML content to a specified file path using Medium API credentials stored in a configuration file.
user_details.py - Retrieve Medium user details using the provided Medium integration token and user ID from the configuration file
- The code sends a request to the Medium API to fetch user information and prints the response status code, response text, and user ID.
write_article.py - Generate HTML content for a new article using key words and additional information provided
- The function utilizes the OpenAI library to create the content.
notion
⦿ notion
File Name Summary
get_html.py - Parse a webpage to extract specific sections based on keywords
- Fetches content from a given URL, then identifies and saves sections related to predefined keywords
- The extracted sections are stored in a text file for further analysis.
get_post.py - Extracts and processes Notion page blocks, fetching and formatting content like text, to-dos, code, equations, and images
- Handles nested blocks and numbered lists, printing and storing structured data
- Main function orchestrates the process, utilizing a Notion token for authentication.
search.py - Searches for a Notion page by title using the Notion API
- Retrieves the page URL if found, else returns None
- Handles API authentication and constructs the necessary request payload
- Provides a simple interface for querying Notion pages based on titles.
upload_data.py - Create a function to add items to a Notion database using provided parameters
- The function sends a POST request to the Notion API with the item details
- If successful, it prints a confirmation message; otherwise, it displays an error message along with the status code and response text.
prompts
⦿ prompts
File Name Summary
aBlog.py - Generate a sophisticated, SEO-optimized blog post prompt that guides content writers in crafting engaging, well-researched blog posts
- Emphasize the importance of originality, SEO optimization, hyperlink integration, and user engagement
- Provide style guidelines inspired by GQ Magazine, focusing on structure, flow, and content depth
- Encourage the use of strategic CTAs, credible sources, and a confident, engaging tone to captivate readers and rank competitively.
aGainers.py - Generate concise stock prompts without unnecessary details or citations for a list of tickers
- End each prompt with a unique closing message.
aMedium.py Generate a medium article prompt based on provided keywords.
aTrifindr.py - Create engaging, SEO-optimized blog posts with a sophisticated, authoritative tone
- Incorporate dynamic storytelling, vivid imagery, and strategic CTAs to captivate readers
- Ensure originality, depth, and proper SEO optimization by integrating keywords naturally
- Hyperlink all references within the body of the blog for seamless integration
- Follow style guidelines inspired by GQ Magazine for a polished, engaging narrative.
Code_css.py - Generate a CSS prompt for enhancing code blocks with a dark background, syntax highlighting, proper spacing, and a monospace font
- This styling aims to mimic popular code editors, providing a visually appealing and readable format for code snippets.
DanKoe1.py - Generate well-structured, verifiable prompts by understanding user requirements, breaking down complex tasks, and coordinating expert personas if needed
- Emphasize iterative verification, discourage guessing, and spawn specialized Expert Python personas for advanced computations
- Keep interactions minimal, aim for logically verified results, and present final refined prompts in an organized, thorough manner.
DanKoe2.py - Generate compelling newsletter headlines, craft engaging outlines using the APAG format, and write impactful newsletters based on provided topics
- Ensure attention-grabbing introductions, insightful perspectives, and actionable steps to gamify the content creation process
- Ask for tone references and use varied sentence lengths and listicles for readability
- Offer to include fitting quotes to enhance the newsletters impact.
IncomeStream1.py - IncomeStream1.pyThe IncomeStream1.py file in the prompts directory serves as a prompt template for ensuring the inclusion of anchor text links and clickable images with relevant URLs in the projects content
- It guides users on internal linking practices, emphasizing the use of varied internal links, particularly focusing on brand links
- The goal is to enhance SEO by internally linking to the website using keyword-rich anchor text, such as BRAND_NAME
- By following the guidelines outlined in this prompt, users can optimize their content for improved search engine visibility and user engagement.
IncomeStream2.py - IncomeStream2.pyThe IncomeStream2.py file in the prompts directory plays a crucial role in the projects architecture
- It is responsible for managing prompts related to enhancing internal linking within the project's content
- By utilizing this file, the project ensures that all anchor text links are correctly formatted and that images are clickable with their respective URLs
- This functionality significantly improves the overall user experience by providing seamless navigation and enhancing the visibility of essential brand links throughout the content.
IncomeStream3.py - Generate SEO-optimized content for an article on mens sneakers in 2025
- Craft engaging, informative, and NLP-friendly content with a focus on simplicity and clarity
- Utilize Markdown features effectively, including headings, internal links, image embeds, and lists
- Incorporate expert insights and FAQs to enhance the articles value
- Ensure a user-friendly experience with key takeaways upfront and clickable images throughout.
Jacky2.py - Generate a sophisticated and engaging blog post on starting a YouTube channel, optimized for SEO and user engagement
- Craft original, well-researched content with a stylish tone, incorporating storytelling and vivid imagery
- Integrate strategic CTAs, internal and external links, and a table for data presentation
- Maintain a polished editorial voice, avoiding clichés and formal terms for a relatable reading experience.
Jacky3.py - Generate an SEO-optimized blog post prompt for an article titled What is VPN, emphasizing high-quality, engaging content that adheres to EEAT principles
- Craft a sophisticated, authoritative tone with dynamic storytelling and vivid imagery
- Integrate primary and secondary keywords naturally, ensuring a word count between 800-1200 words
- Hyperlink relevant keywords for SEO optimization and user engagement, incorporating strategic CTAs and a table for data presentation.
perp.py - Enhances article by incorporating current stock market trends, facts, and Trumps actions
- Maintains original structure and images.
Tech_Notion.py - Generate a sophisticated, SEO-optimized blog post prompt for a programming expert content writer
- Craft engaging, well-researched content with dynamic storytelling, vivid imagery, and strategic CTAs
- Ensure SEO & EEAT optimization by integrating keywords naturally and including internal/external hyperlinks
- Emphasize originality, depth, and user engagement while maintaining a polished, editorial tone
- Incorporate a table for data presentation and follow SEO-optimized formatting guidelines.
Transcript_Fix.py - Refines dictation transcripts by correcting grammar, punctuation, and spelling errors while preserving the speakers original wording and tone
- Ensures minimal intervention for readability and correctness, following key guidelines to maintain the speakers voice and provide clear communication.
rss
⦿ rss
File Name Summary
Triathlon.py - Retrieve and display Triathlon feed data, including title, description, links, and entries published within the last 24 hours
- Utilizes feedparser to parse the RSS feed from triathlete.com and filters entries based on the specified time range
- The code in Triathlon.py focuses on fetching and presenting recent Triathlon-related content from the provided RSS feed.
scheduler
⦿ scheduler
File Name Summary
article.html - Guide users on adding a budget-friendly SSL certificate to their GoDaddy site with a step-by-step article
- Explore affordable SSL options, installation steps, and comparisons
- Empower users to enhance site security without compromising quality.
Batch_1200pm.py - Execute a script that processes todays date, retrieves a Notion page ID, connects to Notion to fetch the daily journal, and performs specific actions based on the retrieved data
- If the data pertains to Twitter, it triggers a tweet.
Batch_1700pm.py - Automates daily tasks by processing data from various sources like Notion, Medium, Twitter, YouTube, and more
- Executes actions based on specific keys, such as writing articles, uploading videos, and sending emails
- Enhances productivity by streamlining content creation and distribution processes.
Batch_930am.py - Generate pre-market stock gainers report, email, and tweet
- Fetches top gainers, creates a report with perplexity, and sends email notifications
- Handles errors gracefully by sending alerts
- Integrates with Yahoo email and Twitter for communication.
Batch_Sat_Solo.py - Automates the process of uploading videos to YouTube based on daily journal entries in Notion
- Retrieves todays journal from Notion, identifies YouTube links, and uploads corresponding videos
- Facilitates seamless integration between Notion and YouTube for efficient content management.
Batch_Scheduler.py - AM, 12:00 PM, and 3:00 PM
- Displays current time and triggers Batch_1200pm task
- Keeps the scheduler running continuously.
Batch_Sun_Fin.py - Automates daily social media updates by fetching data from a Notion page and posting relevant content on Twitter
- Retrieves information based on the current date, ensuring timely and accurate posts
- Facilitates seamless integration between Notion, AI, and social media platforms for efficient content management and distribution.
blog.html - Project SummaryThe blog.html file located in the scheduler directory of the project serves as the main webpage for Jason Rathgeber's blog
- It provides essential metadata such as the title, description, keywords, and author information for search engine optimization and content categorization
- Additionally, it includes references to external CSS files for styling the blog content, ensuring a visually appealing and user-friendly presentation.This HTML file plays a crucial role in showcasing Jason Rathgebers expertise in Fintech topics like bitcoin, algo trading, day trading, software, and programming
- By structuring the blog page with relevant metadata and styling, it enhances the overall user experience and facilitates the dissemination of valuable insights within the Fintech community.
twitter
⦿ twitter
File Name Summary
listen.py - Implement a Twitter stream listener using Tweepy for real-time data analysis
- Authenticate with Twitter API using provided credentials to filter and sample tweets based on specified criteria
- The listener handles errors and timeouts gracefully to ensure uninterrupted data streaming
- Customize follow and track lists for targeted data collection
- Run the script to start monitoring Twitter streams effortlessly.
tweet.py - Tweet function to post updates on Twitter using Tweepy API
- Reads Twitter API keys from a config file and sends a tweet with the provided text
- Ideal for automating Twitter posts with personalized messages.
weather.py - Fetches and prints the current weather and temperature for a specified city using web scraping
- Additionally, it generates a tweet with a morning greeting and the weather information for New York City.
web
⦿ web
File Name Summary
amzn.py Retrieve and parse product data from Amazons webpage, including title and images.
amzn2.py - Retrieve and parse product data from Amazons webpage, including title, images, price, rating, and specifications
- If successful, display the extracted information.
amzn3.py - Retrieve and parse product information from Amazons webpage, including title, images, price, rating, and specifications
- If the HTTP response status is not successful, an error message is displayed
- The data is structured into a dictionary and appended to a list for further processing.
get_amazon_product.py - Retrieve Amazon product details like title, images, price, rating, and specifications from a given URL
- Utilizes requests and BeautifulSoup to scrape the webpage and extract relevant information
- Handles potential errors and returns a structured object with the product data.
get_gainers.py - Retrieve top stock gainers from TradingViews pre-market data by scraping and parsing HTML
- The function fetches ticker symbols, company names, and percentage gains, presenting them in a structured DataFrame for easy analysis
- In case of errors, appropriate messages are displayed.
get_html.py - Parse and extract specific sections from a webpage based on predefined keywords
- Fetches content from a given URL, identifies sections matching keywords, and saves them to a file
- The script utilizes requests for fetching web content and BeautifulSoup for parsing HTML, enabling efficient extraction of relevant information from web pages.
get_rockbros_product.py - Retrieve product information from a specified URL by sending a request, parsing the HTML content, and extracting details like title, images, price, rating, and specifications
- If the request is successful, the script prints the gathered data.
get_selenium.py - Parse website data to identify potential stock investments based on specific criteria
- Utilizes Selenium for web scraping and BeautifulSoup for data extraction
- Filters stocks based on price, volume, and other factors
- Returns a list of potential investment opportunities.
wordpress
⦿ wordpress
File Name Summary
Trifindr.py - Define functions to create news, blog posts, and products, along with image handling and upload capabilities
- These functions facilitate content creation, image processing, and WordPress integration for the Trifindr project.
WordPressUpload.py - Facilitates automatic posting of WordPress content, including images and products, via API requests
- Handles image uploads, product creation, and post uploads with specified details like title, description, and price
- Utilizes authentication and JSON payloads for communication with WordPress endpoints.
youtubevids
⦿ youtubevids
File Name Summary
download_transcript.py - Download YouTube video transcripts using the YouTubeTranscriptApi and store them in a specified location
- The script reads configuration properties from an.ini file to determine the storage path
- It fetches the transcript for a given video ID, saves it as a text file, and returns the transcript text.
edit_video.py - Automatically removes silent sections from a video file by analyzing audio decibel levels
- Detects and removes silent segments based on specified thresholds, creating a seamless edited video output
- Provides flexibility to adjust silence parameters as needed
- Enhances video content by eliminating unwanted silent portions efficiently.
Roboto-Light.ttf - The provided code file serves as a crucial component within the codebase architecture, enabling seamless integration of external APIs to enhance functionality
- By leveraging this code, developers can effortlessly connect and interact with various third-party services, thereby expanding the projects capabilities and improving user experience
- This code file plays a pivotal role in facilitating communication between the project and external systems, ultimately contributing to the project's overall success.
thumbs.py - Generate custom thumbnails for YouTube videos using specified background image, text, and font settings
- The code in the thumbs.py file creates visually appealing thumbnails by overlaying text on a background image
- By running the script with desired text input, it produces a unique thumbnail image ready for use in video content.
upload_video.py - Facilitates uploading videos to YouTube by handling OAuth authentication, video metadata, and the upload process
- Implements retry logic for robustness and supports resumable uploads
- The code interacts with the YouTube Data API, utilizing OAuth 2.0 for secure access
- Ideal for integrating video upload functionality into applications.
upload_video_manual.py - Facilitates uploading videos to YouTube via the YouTube Data API
- Handles OAuth 2.0 authentication, video metadata setup, and the upload process
- Implements retry logic for robustness, including exponential backoff strategy
- Users can specify video details like title, description, category, keywords, and privacy status
- Ideal for automating video uploads to YouTube channels.

Getting Started

  1. Make a notion page in your workspace with todays date as the name.
Notion
  1. Add all required api keys to properties_template.ini.

Then rename it to properties.ini and save to C:\etc\properties.ini

  1. continue with Python bit as per below.

Python Prerequisites

This python project requires the following dependencies:

  • Programming Language: Python
  • Package Manager: Pip

Installation

Build ContentAI from the source and intsall dependencies:

  1. Clone the repository:

    ❯ git clone ../ContentAI
  2. Navigate to the project directory:

    cd ContentAI
  3. Install the dependencies:

<!-- [![pip][pip-shield]][pip-link] -->
<!-- REFERENCE LINKS -->
<!-- [pip-shield]: https://img.shields.io/badge/Pip-3776AB.svg?style={badge_style}&logo=pypi&logoColor=white -->
<!-- [pip-link]: https://pypi.org/project/pip/ -->

**Using [pip](https://pypi.org/project/pip/):**

```sh
❯ pip install -r requirements.txt
```

Usage

Run the project with:

Using pip:

python {entrypoint}

Testing

Contentai uses the {test_framework} test framework. Run the test suite with:

Using pip:

pytest

Roadmap

  • Task 1: Build Initial backned in python
  • Task 2: Conect to Notion as the GUI
  • Task 3: Dedicated Front End hosted on Vercel

Contributing

Contributing Guidelines
  1. Fork the Repository: Start by forking the project repository to your LOCAL account.
  2. Clone Locally: Clone the forked repository to your local machine using a git client.
    git clone C:\\dep\ContentAI
  3. Create a New Branch: Always work on a new branch, giving it a descriptive name.
    git checkout -b new-feature-x
  4. Make Your Changes: Develop and test your changes locally.
  5. Commit Your Changes: Commit with a clear message describing your updates.
    git commit -m 'Implemented new feature x.'
  6. Push to LOCAL: Push the changes to your forked repository.
    git push origin new-feature-x
  7. Submit a Pull Request: Create a PR against the original project repository. Clearly describe the changes and their motivations.
  8. Review: Once your PR is reviewed and approved, it will be merged into the main branch. Congratulations on your contribution!
Contributor Graph


License

Contentai is protected under the LICENSE License. For more details, refer to the LICENSE file.


Acknowledgments

  • Credit contributors, inspiration, references, etc.


About

Social Media Content Automation with AI.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors