๐ API key is protected โ all requests go through your PHP server proxy. Frontend never exposes your key.
โ๏ธ AI Writer
โก Auto Blog
๐ Schedule
๐ง Setup Guide
๐ผ๏ธ Images
๐ค Blogger
๐ฐ AdSense
๐ Analytics
๐ Alerts
๐ Sitemap
0
Posts Generated
0
Words Written
๐
Key Protected
โ๏ธ
Generate Blog Post
Free AI Tools for StudentsHow to Compress PDF OnlineAI Resume Builder GuideBest Tech Tools for Small BusinessPrompt Engineering BasicsHow to Make Passport Photo Free
Claude AI is writing your blog post...
๐ Generated Blog Post
Copied!
๐
SEO Data
โก Auto Blog generates and queues posts automatically. All requests go through your secure PHP proxy.
๐ค
Auto-Generate Batch Posts
Generating posts...
๐
Content Calendar
#
Post Title
Scheduled Date
Status
Action
No posts scheduled yet.
โ What the PHP Proxy Does
๐ Keeps your Anthropic API key hidden on the server
๐ก๏ธ Only allows requests from psbaitools.com
โฑ๏ธ Rate limits to 20 requests/hour per IP
๐งน Sanitizes all user input before sending to Claude
โ Blocks all non-POST requests
๐
Step 1 โ Upload Files
Upload these files to your hosting via cPanel File Manager or FTP:
psbaitools.com/
โโโ blog/
โโโ proxy.php โ PHP API proxy
โโโ db.php โ MySQL database API (NEW)
โโโ index.html โ Blog admin panel
โโโ rate_limit.json โ Auto-created by proxy.php
๐พ
Step 2 โ Database Setup (MySQL)
Create a MySQL database in cPanel, then update db.php:
// In cPanel โ MySQL Databases:
// 1. Create database: psb_blog
// 2. Create user: psb_user
// 3. Assign All Privileges
// Then update db.php lines 12-15:
define('DB_NAME', 'psb_blog');
define('DB_USER', 'psb_user');
define('DB_PASS', 'your_password');
// โ Table creates automatically on first use!
๐
Step 3 โ Add Your API Key
Open proxy.php and replace line 14:
// Change this line:
define('ANTHROPIC_API_KEY', 'YOUR_ANTHROPIC_API_KEY_HERE');
// To your real key:
define('ANTHROPIC_API_KEY', 'sk-ant-api03-xxxxxxxxxxxxxxxx');
๐
Step 3 โ Update Proxy URL
In index.html, update the proxy URL in the JavaScript (search for PROXY_URL):
// Change this:
const PROXY_URL = 'http://localhost/blog/proxy.php';
// To your live URL:
const PROXY_URL = 'https://psbaitools.com/blog/proxy.php';
โ
Step 4 โ Test It
Visit your blog admin and generate a test post. Check browser console โ you should see requests going to proxy.php, not api.anthropic.com directly.
โ ๏ธ Make sure rate_limit.json is writable by the server. In cPanel, set its permissions to 644.
๐ผ๏ธ Generate beautiful featured images for your blog posts using AI. Images are created as SVG graphics โ download and upload to Blogger.
๐จ
Generate Featured Image
Designing your featured image...
๐ผ๏ธ Featured Image (1200ร630px โ Blog Standard)
๐ก Tip: Upload this image as the featured image in Blogger post editor
๐
Image Gallery (Recent)
Generate images to see them here
๐ Blogger Publisher
Create, preview and publish professional posts directly to Blogger. Your existing AI Writer, Auto Blog, Scheduler, Images, AdSense, Analytics, Alerts and Sitemap sections remain unchanged.
๐
Blogger Connection
Find it in Blogger โ Settings โ Blog ID.
Use an OAuth token with Blogger API write permission.
The image is added at the top of the Blogger post. Uploaded images are stored on your server.
Save as Draft first
Review on Blogger before going live
Publishing...
๐๏ธ
Live Preview
PSB TECH SOLUTIONS ยท BLOG
Your blog title will appear here
Start writing your article to see a preview.
๐ก Publishing flow
1. Add your feature image. 2. Write or load your article. 3. Test Blogger connection. 4. Click Publish Now. 5. The system reports the exact Blogger API result.
๐
Saved Posts Queue
Click "Load Saved Posts" to load from database
๐
Live Posts on Blogger
Connect and refresh to see your live posts
๐
How to Get Access Token
Step 1: Go to https://developers.google.com/oauthplayground
Step 2: Select & authorize APIs:
โ Type: https://www.googleapis.com/auth/blogger
โ Click "Authorize APIs" โ Sign in with Google
Step 3: Click "Exchange authorization code for tokens"
โ Copy the "Access token"
Step 4: Paste it above in "Google Access Token"
Step 5: Get Blog ID:
Blogger Dashboard โ Settings โ Blog ID
(Number in your Blogger URL)
โ ๏ธ Token expires in 1 hour โ regenerate when needed
๐ฐ Configure your Google AdSense ads. Once approved, paste your Publisher ID and Ad Unit IDs below โ the system will auto-inject ads into every generated post.
0
Posts with Ads
3
Ad Units Ready
โณ
AdSense Status
๐
AdSense Publisher Settings
Auto-inject ads into generated posts
Ads added automatically when saving/publishing
Responsive ads (auto-size)
Adapts to mobile and desktop screens
๐๏ธ
Ad Code Preview
This is the exact code that gets injected into your blog posts:
๐ Get notified on WhatsApp or Email whenever a post is published or scheduled.
๐ฌ
WhatsApp Alerts (via Twilio)
Alert on post published
WhatsApp message when post goes live
Daily summary at 9 AM
Posts scheduled for today
๐ง
Email Alerts
Email on post published
Includes post title and URL
Weekly performance report
Every Monday 9 AM IST
๐
PHP Alert Code
// Add to blogger.php after successful publish:
function sendAlerts($title, $url, $to, $from) {
$subject = "New Post Published: {$title}";
$msg = "Published!\nTitle: {$title}\nURL: {$url}";
mail($to, $subject, $msg, "From: {$from}");
}
// Call: sendAlerts($title, $result['url'], 'popatbhange@gmail.com', 'blog@psbaitools.com');
๐ Generate sitemap.xml and submit to Google Search Console for faster indexing.
โ๏ธ
Sitemap Settings
Include homepage
Include scheduled/queued posts
๐ sitemap.xml
๐
Submit to Google Search Console
Step 1: Upload sitemap.xml to psbaitools.com/sitemap.xml
Step 2: Go to search.google.com/search-console
Step 3: Select property โ Sitemaps
Step 4: Enter "sitemap.xml" โ Submit
Step 5: Google indexes posts in 1-7 days โ