Hey, this is me laying out everything about Trico AI Assistant, the WordPress plugin that lets you create awesome websites with just one prompt. I put this doc together so you can install, configure, and use it without any hassle. Writing it in a casual vibe like we're chatting, but keeping it complete and easy to follow. I'll toss in a light joke here and there that's relatable anywhere, like how this tool is open-source under Apache 2.0 so anyone can use it freely, no strings attached – unlike some subscriptions that sneak in extra fees, haha. Just making it fun to read so you don't bail halfway.
Trico AI Assistant is an AI-powered plugin for WordPress that generates modern, eye-catching websites from a single prompt using Groq AI, pulls images from Pollinations.ai, and deploys directly to Cloudflare Pages. Super handy for quick site builds.
| Feature | Description |
|---|---|
| 🤖 AI Generation | Create full websites with Groq AI (Llama models) |
| 🖼️ AI Images | Unlimited free image generation via Pollinations.ai |
| 🎨 Modern Design | Glassmorphism, Neubrutalism, Bento Grid styles |
| 📦 Static Export | Export to pure HTML/CSS/JS |
| 🚀 CF Pages Deploy | One-click deploy to Cloudflare Pages |
| 📊 Synalytics | Cloudflare Web Analytics dashboard |
| 🔄 API Rotation | Supports up to 15 API keys for teams |
| 💾 B2 Storage | Backblaze B2 integration for media |
| 🌐 Whitelabel | Full custom domain support |
These features make it easy for anyone to get started, especially small businesses looking to go online without breaking the bank.
- WordPress: 6.0 or higher
- PHP: 7.4 or higher
- MySQL/MariaDB: 5.7+ or TiDB
- Memory: 256MB (512MB recommended)
| Service | Purpose | How to Get |
|---|---|---|
| Groq API | AI text/code generation | console.groq.com |
| Cloudflare | Deployment & analytics | dash.cloudflare.com |
| Backblaze B2 | Media storage (optional) | backblaze.com/b2 |
When creating your Cloudflare API token, include these permissions:
Account → Cloudflare Pages → Edit
Account → Account Analytics → Read
Zone → Zone → Read (for custom domains)
Make sure to grant just these – don't go full access or I might remote into your account... just kidding, keep it secure!
-
Create HF Space with Docker SDK
-
Add Dockerfile:
FROM wordpress:latest
# ... (see Dockerfile in repository)
RUN git clone --depth 1 https://github.com/sadidft/trico-plugin-wordpress.git /tmp/trico && \
cp -r /tmp/trico/trico-theme /usr/src/wordpress/wp-content/themes/ && \
cp -r /tmp/trico/trico-ai-assistant /usr/src/wordpress/wp-content/plugins/ && \
cp -r /tmp/trico/mu-plugins/* /usr/src/wordpress/wp-content/mu-plugins/-
Set HF Secrets (see Configuration section)
-
Factory Rebuild
- Download or clone this repository
- Upload
trico-themetowp-content/themes/ - Upload
trico-ai-assistanttowp-content/plugins/ - Upload
mu-plugins/synavy-cookie-fix.phptowp-content/mu-plugins/ - Activate theme and plugin
# Clone repository
git clone https://github.com/sadidft/trico-plugin-wordpress.git
cd trico-plugin-wordpress
# Build and run
docker build -f Dockerfile-demo -t trico-wordpress .
docker run -d -p 8080:80 \
-e GROQ_KEY_1=your_groq_key \
-e CF_API_TOKEN=your_cf_token \
-e CF_ACCOUNT_ID=your_account_id \
-e TRICO_DOMAIN=your-domain.com \
trico-wordpressInstallation's straightforward, no need for a tech degree – unlike setting up some old-school servers that feel like rocket science.
| Variable | Description | Example |
|---|---|---|
GROQ_KEY_1 |
First Groq API key | gsk_abc123... |
CF_API_TOKEN |
Cloudflare API token | v1.0-abc123... |
CF_ACCOUNT_ID |
Cloudflare account ID | abc123def456... |
TRICO_DOMAIN |
Default domain for deployments | synpages.synavy.com |
GROQ_KEY_2=gsk_...
GROQ_KEY_3=gsk_...
GROQ_KEY_4=gsk_...
GROQ_KEY_5=gsk_...
... up to GROQ_KEY_15
| Variable | Description |
|---|---|
B2_KEY_ID |
B2 application key ID |
B2_APP_KEY |
B2 application key |
B2_BUCKET_ID |
B2 bucket ID |
B2_BUCKET_NAME |
B2 bucket name |
| Variable | Description |
|---|---|
WORDPRESS_DB_HOST |
Database host |
WORDPRESS_DB_USER |
Database username |
WORDPRESS_DB_PASSWORD |
Database password |
WORDPRESS_DB_NAME |
Database name |
WP_DOMAIN |
WordPress domain |
Get these set up right, and you're good to go – no surprises like hidden fees in your phone bill.
After activation, go to: Admin → Trico AI → Dashboard
You'll see:
- Total projects count
- API keys status
- Recent projects
- Quick actions
-
Go to Trico AI → Generate
-
Enter your prompt. Be descriptive:
Buatkan landing page untuk toko roti modern bernama "Roti Masseh". Gunakan warna warm (coklat, cream). Style glassmorphism. Include: hero section dengan gambar roti, features (fresh, delivery, affordable), testimonial, dan CTA WhatsApp. -
Select options:
- CSS Framework: Tailwind (recommended), Bootstrap, or Vanilla
- Language: Indonesian or English
-
Click Generate & Save
-
Wait 30-60 seconds for AI generation
After generation:
- Click Edit in WordPress to open Block Editor
- Modify content, images, colors as needed
- Native WordPress editing - drag, drop, change text
- Go to Trico AI → Projects
- Find your project
- Click 🚀 Deploy
- Wait for deployment (1-2 minutes)
- Your site is live at
projectname.pages.dev
- Go to project's Deploy Settings
- Enter your subdomain or custom domain
- Add CNAME record to your DNS:
CNAME yoursite → projectname.pages.dev
This makes your site look pro, like upgrading from a basic phone to a smartphone.
| Model | Purpose | Speed |
|---|---|---|
llama-3.3-70b-versatile |
Full page generation | Slower, better quality |
llama-3.1-70b-versatile |
Section updates | Medium |
llama-3.1-8b-instant |
SEO, quick edits | Fast |
Trico rotates through available API keys automatically:
- Request 1 → Key 1
- Request 2 → Key 2
- Request 3 → Key 3
- ...cycles back to Key 1
If a key hits rate limit:
- Automatically skips to next key
- Retries the request
- Marks key as limited (auto-reset after timeout)
Trico creates these tables (TiDB-compatible, no foreign keys):
{prefix}trico_projects -- Project data
{prefix}trico_history -- Generation history (max 4 per project)
{prefix}trico_b2_files -- B2 file trackingSolution: Add GROQ_KEY_1 to your environment/secrets
Solution: Check database credentials and TiDB compatibility
Solution:
- Verify
CF_API_TOKENhas correct permissions - Check
CF_ACCOUNT_IDis correct - Ensure project name is valid (lowercase, alphanumeric, hyphens)
Solution:
- Pollinations.ai URLs are direct - check if site allows external images
- For B2: verify B2 credentials are correct
Solution:
- Deactivate plugin
- Delete any
trico_*tables manually if exist - Reactivate plugin
Add to wp-config.php for debugging:
define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);Check /wp-content/debug.log for Trico errors.
Bugs happen, but fixing them is easier than untangling earbuds.
Q: Is this free to use? A: The plugin is free (Apache 2.0). You need your own API keys - Groq has free tier, Cloudflare Pages is free, Pollinations.ai is free unlimited.
Q: How many websites can I generate? A: Unlimited. Only limited by your Groq API quota.
Q: Can I use my own domain? A: Yes! Set up CNAME record pointing to your Cloudflare Pages project.
Q: Does it work with standard WordPress hosting? A: Yes, but deployment features require Cloudflare API access.
Q: Can I edit generated websites? A: Yes! Generated content is native WordPress blocks - fully editable.
Q: What happens if all API keys are rate limited? A: System queues requests and retries when keys become available.
- GitHub Issues: github.com/sadidft/trico-plugin-wordpress/issues
- Documentation: This file
- License: Apache 2.0
Built with ❤️ by Synavy Team
Powered by:
- Groq - AI inference
- Pollinations.ai - AI image generation
- Cloudflare Pages - Static hosting
- WordPress - CMS platform