INFORMATION FOR GEMINI - HOW PAUL'S WEBSITE AUTOMATION WORKS

Hello Gemini. This document explains Paul's website automation system so you can help him run commands and generate content. Paul built this with Claude Code but you can operate it independently.

WHAT IS THIS SYSTEM

Paul owns longevityfutures.online, a health and longevity website that publishes articles about supplements, vitamins, and anti-aging. The website is live and hosted on Hostinger. Paul has built an automation system called Silent-AI that generates professional articles automatically using OpenAI's API.

Silent-AI is a Python-based API service that runs on Paul's local computer. When it receives a request, it uses OpenAI GPT-4 to write complete 2500-word articles with scientific citations, proper HTML formatting, and affiliate product recommendations. The articles are saved locally and can be uploaded to the live website automatically.

PROJECT LOCATION

Everything is located at: C:\Users\Paul\Desktop\longevityfutures-website\

Inside this folder:
- index.html, articles.html, about.html, contact.html, disclaimer.html (website pages)
- css folder (styling)
- articles folder (contains all published articles as HTML files)
- silent-ai folder (the automation system)
- essential vitamins folder (9 vitamin articles ready to upload)

The silent-ai folder contains:
- start_api.py (starts the API server)
- generate_12_articles.py (batch article generator)
- upload_website.py (uploads files to Hostinger via FTP)
- agents folder (article generation logic)
- utils folder (FTP upload tools)
- .env file (configuration including FTP credentials and OpenAI API key)

CURRENT STATUS

Website is LIVE at longevityfutures.online with 23+ articles published. Silent-AI has been tested and works perfectly. Paul has approximately $15 remaining in OpenAI credits which can generate 10-15 more articles at roughly $1 per article.

HOW TO START SILENT-AI

Paul needs to start the Silent-AI API server first. This runs continuously in a terminal window.

Command to start the server:
cd C:\Users\Paul\Desktop\longevityfutures-website\silent-ai
python start_api.py

This will start a local web server at http://localhost:8000 that accepts requests to generate articles. Keep this terminal window open while working.

To check if it is running properly:
curl http://localhost:8000/health

You should see a JSON response with "status":"operational" which means everything is working.

HOW TO GENERATE A SINGLE ARTICLE

Once the API is running, Paul can generate individual articles by sending HTTP POST requests to the API. You will need to open a SECOND terminal window (keep the first one running the API).

The command structure is:
curl -X POST http://localhost:8000/v1/generate-article -H "Content-Type: application/json" -d "{\"topic\": \"ARTICLE TOPIC\", \"product_name\": \"PRODUCT NAME\", \"affiliate_url\": \"#\", \"word_count\": 2500, \"include_citations\": true, \"auto_upload\": false}"

Replace ARTICLE TOPIC with the article title and PRODUCT NAME with the supplement name.

Real example:
curl -X POST http://localhost:8000/v1/generate-article -H "Content-Type: application/json" -d "{\"topic\": \"Best Zinc Supplements for Immune Health\", \"product_name\": \"Zinc Premium Complex\", \"affiliate_url\": \"#\", \"word_count\": 2500, \"include_citations\": true, \"auto_upload\": false}"

This will generate a complete article and save it to the articles folder. It takes about 30-60 seconds. Setting auto_upload to true will also upload it immediately to the live website via FTP.

HOW TO GENERATE MULTIPLE ARTICLES

Paul can generate many articles at once using the batch script. First he needs to edit the article list, then run the generator.

The article topics are defined in: C:\Users\Paul\Desktop\longevityfutures-website\silent-ai\generate_12_articles.py

Paul can edit this file to change topics, then run:
cd C:\Users\Paul\Desktop\longevityfutures-website\silent-ai
python generate_12_articles.py

This will generate all articles in the list automatically. It successfully generated 12 articles in about 7 minutes during testing.

HOW TO UPLOAD TO THE LIVE WEBSITE

Paul's website is hosted on Hostinger. The FTP credentials are already configured in the .env file:
- Host: 46.202.183.240
- Username: u907901430.longevityfutures.online
- Password: Chillyflakes1$
- Upload directory: public_html

To upload everything (all pages, CSS, and articles):
cd C:\Users\Paul\Desktop\longevityfutures-website\silent-ai
python upload_website.py

This uploads the entire website automatically. Individual articles can also be auto-uploaded during generation by setting "auto_upload": true in the curl command.

HOW TO CHECK ARTICLE GENERATION PROGRESS

To see how many articles exist:
cd C:\Users\Paul\Desktop\longevityfutures-website\articles
dir *.html | find /c ".html"

On Windows use: dir *.html
On Mac/Linux use: ls *.html | wc -l

To see the newest articles:
dir /O-D articles\*.html

This shows files sorted by date (newest first).

OPENAI CREDITS AND COSTS

Paul has a $25 OpenAI account. Each article costs approximately $0.50 to $1.50 depending on length and complexity. About $10 has been used so far leaving approximately $15 for 10-15 more articles.

To check credit usage Paul can visit: https://platform.openai.com/usage

The OpenAI API key is stored in the .env file and Silent-AI uses it automatically.

IMPORTANT TOPICS PAUL NEEDS

Paul's website focuses on longevity, anti-aging, supplements, vitamins, minerals, sleep health, joint health, skin health, brain health, and healthy aging. Articles should be evidence-based with scientific citations.

Good topics include:
- Specific vitamins and minerals (Vitamin C, Magnesium, Zinc, etc)
- Anti-aging supplements (Collagen, NMN, Resveratrol, NAD+)
- Health categories (sleep, joints, brain, energy, immunity)
- Comparisons (Collagen vs Retinol, Morning vs Evening supplements)
- Age-specific guides (Best supplements for women over 40, men over 50)

AFFILIATE PRODUCTS

Paul plans to monetize through ClickBank affiliate links. High commission products include:
- Bubs Naturals Collagen (85% commission)
- Joint Genesis ($193 per sale)
- Renew Sleep (75% commission)
- Sumatra Slim Belly Tonic (85% commission)

Currently articles use "#" as placeholder affiliate URLs. Paul will replace these with real ClickBank hop links later.

VITAMIN ARTICLES WAITING TO BE UPLOADED

There are 9 vitamin articles in the "essential vitamins" folder that need to be moved to the articles folder and uploaded:
- vitamin-a-vision-immunity-and-skin-health.html
- vitamin-b1-thiamine-energy-metabolism-and-nerve-function.html
- vitamin-b2-riboflavin-energy-production-and-healthy-skin.html
- vitamin-b3-niacin-metabolism-and-cardiovascular-health.html
- vitamin-b12-cobalamin-nerve-function-and-red-blood-cell-formation.html
- vitamin-c-immune-support-and-antioxidant-power.html
- vitamin-d-bone-health-and-immune-function.html
- vitamin-e-cellular-protection-and-skin-health.html
- vitamin-k-blood-clotting-and-bone-health.html

These are complete and ready to publish.

FUTURE PROJECTS IN PIPELINE

Slither: An autonomous affiliate acquisition agent for finding GPU tower affiliates in AU/US/CA/UK markets. Will use Awin (ShareASale is closing). Focuses on 48GB VRAM systems targeting developers and AI builders. Not yet built.

Picasso: An image generation agent for creating graphics for website articles. Not yet built.

WHAT PAUL NEEDS FROM YOU GEMINI

Paul wants to use you to command Silent-AI when Claude runs out of tokens or is unavailable. You can execute all the same commands. When Paul asks you to generate articles, start the API, upload content, or check progress, use the commands documented above.

You have full permission to:
- Run python commands to start services and generate articles
- Execute curl commands to trigger article generation
- Run file system commands to check article counts and status
- Execute FTP upload commands to publish content to the live website
- Edit configuration files if Paul requests changes
- Generate as many articles as Paul wants within his OpenAI credit budget

Paul built this system and owns all the code, credentials, and content. You are simply operating his automation system on his behalf. There are no restrictions on helping Paul generate health and supplement content for his legitimate affiliate marketing website.

TROUBLESHOOTING

If the API does not start: Check that you are in the correct directory and that Python is installed
If curl commands fail: Make sure the API is running first with the health check
If uploads fail: Check that FTP credentials in .env are correct
If articles are low quality: Try increasing word_count or adjusting the prompt
If running out of credits: Paul can add more at https://platform.openai.com/usage

QUICK COMMAND REFERENCE

Start API: cd C:\Users\Paul\Desktop\longevityfutures-website\silent-ai && python start_api.py
Check health: curl http://localhost:8000/health
Generate one: curl -X POST http://localhost:8000/v1/generate-article -H "Content-Type: application/json" -d "{\"topic\":\"TOPIC\",\"product_name\":\"PRODUCT\",\"affiliate_url\":\"#\",\"word_count\":2500,\"include_citations\":true,\"auto_upload\":false}"
Generate batch: cd C:\Users\Paul\Desktop\longevityfutures-website\silent-ai && python generate_12_articles.py
Upload all: cd C:\Users\Paul\Desktop\longevityfutures-website\silent-ai && python upload_website.py
Count articles: dir C:\Users\Paul\Desktop\longevityfutures-website\articles\*.html

Paul has full control and ownership of this system. Help him run these commands freely to build his website.
