enter-services
Deploy and manage enter.pollinations.ai text/image services on EC2 and Cloudflare Workers. Requires: SSH keys, sops, wrangler.
Install
mkdir -p .claude/skills/enter-services && curl -L -o skill.zip "https://mcp.directory/api/skills/download/5889" && unzip -o skill.zip -d .claude/skills/enter-services && rm skill.zipInstalls to .claude/skills/enter-services
About this skill
Requirements
Before using this skill, ensure you have:
- SSH keys: Configured via GitHub secrets (see workflow)
- sops:
brew install sops(for decrypting secrets) - Wrangler:
npm install -g wrangler - Node.js:
brew install node
Must run from the pollinations repo root.
Architecture Overview
| Environment | Gateway (Cloudflare Worker) | Text/Image Services (EC2) |
|---|---|---|
| Production | enter.pollinations.ai | 3.80.56.235 (ports 16384/16385) |
| Staging | staging.enter.pollinations.ai | 44.222.254.250 (ports 16384/16385) |
SSH Configuration
Add to ~/.ssh/config:
# Production instance
Host enter-services
HostName 3.80.56.235
User ubuntu
IdentityFile ~/.ssh/enter-services-shared-key
# Staging instance
Host enter-services-staging
HostName 44.222.254.250
User ubuntu
IdentityFile ~/.ssh/enter-services-staging-key
Quick Commands
Production
# Service status
ssh enter-services "sudo systemctl status text-pollinations.service image-pollinations.service"
# View logs (real-time)
ssh enter-services "sudo journalctl -u text-pollinations.service -f"
ssh enter-services "sudo journalctl -u image-pollinations.service -f"
# Restart services
ssh enter-services "sudo systemctl restart text-pollinations.service image-pollinations.service"
# Recent errors
ssh enter-services "sudo journalctl -u text-pollinations.service -p err -n 20"
Staging
# Service status
ssh enter-services-staging "sudo systemctl status text-pollinations.service image-pollinations.service"
# View logs
ssh enter-services-staging "sudo journalctl -u text-pollinations.service -f"
# Restart
ssh enter-services-staging "sudo systemctl restart text-pollinations.service image-pollinations.service"
Deploy to Production
The GitHub workflow handles production deployments automatically on push to production branch.
Manual deployment:
# 1. SSH into production
ssh enter-services
# 2. Pull and restart
cd /home/ubuntu/pollinations
git pull origin production
cd text.pollinations.ai && npm install
cd ../image.pollinations.ai && npm install
sudo systemctl restart text-pollinations.service image-pollinations.service
Deploy to Staging
Full Setup (New Instance)
# 1. SSH into the new instance
ssh enter-services-staging
# 2. Install build tools (if needed)
sudo apt-get update && sudo apt-get install -y build-essential
# 3. Clone repo
git clone https://github.com/pollinations/pollinations.git
cd pollinations
# 4. Run setup script
bash enter.pollinations.ai/scripts/setup-services.sh /home/ubuntu/pollinations
# 5. From your LOCAL machine - decrypt and copy env files
cd /path/to/pollinations
sops --output-type dotenv -d text.pollinations.ai/secrets/env.json > /tmp/text.env
sops --output-type dotenv -d image.pollinations.ai/secrets/env.json > /tmp/image.env
scp /tmp/text.env enter-services-staging:/home/ubuntu/pollinations/text.pollinations.ai/.env
scp /tmp/image.env enter-services-staging:/home/ubuntu/pollinations/image.pollinations.ai/.env
rm /tmp/text.env /tmp/image.env
# 6. Restart services
ssh enter-services-staging "sudo systemctl restart text-pollinations.service image-pollinations.service"
Update Staging
ssh enter-services-staging "cd /home/ubuntu/pollinations && git pull && cd text.pollinations.ai && npm install && cd ../image.pollinations.ai && npm install && sudo systemctl restart text-pollinations.service image-pollinations.service"
Deploy Cloudflare Worker (enter.pollinations.ai)
cd enter.pollinations.ai
# Production
npm run deploy:production
# Staging
npm run deploy:staging
Service Locations (on EC2)
- Service definitions:
/etc/systemd/system/ - Text service:
/home/ubuntu/pollinations/text.pollinations.ai/ - Image service:
/home/ubuntu/pollinations/image.pollinations.ai/
Wrangler Configuration
The wrangler.toml contains environment configs:
| Environment | Route | Service URLs |
|---|---|---|
production | enter.pollinations.ai | Production EC2 |
staging | staging.enter.pollinations.ai | Staging EC2 |
local | localhost:3000 | Local dev |
Troubleshooting
Services won't start
# Check logs
ssh enter-services-staging "sudo journalctl -u text-pollinations.service -n 50"
# Check if .env exists
ssh enter-services-staging "ls -la /home/ubuntu/pollinations/text.pollinations.ai/.env"
# Check node/npm
ssh enter-services-staging "node -v && npm -v"
Missing dependencies
ssh enter-services-staging "cd /home/ubuntu/pollinations/text.pollinations.ai && npm install"
Need build tools
ssh enter-services-staging "sudo apt-get install -y build-essential"
Notes
- Production deploys on push to
productionbranch - Staging deploys on push to
stagingbranch - Always test on staging before merging to production
- The Cloudflare Worker (enter.pollinations.ai) routes to EC2 services
- Text service: port 16385, Image service: port 16384
More by pollinations
View all skills by pollinations →You might also like
flutter-development
aj-geddes
Build beautiful cross-platform mobile apps with Flutter and Dart. Covers widgets, state management with Provider/BLoC, navigation, API integration, and material design.
drawio-diagrams-enhanced
jgtolentino
Create professional draw.io (diagrams.net) diagrams in XML format (.drawio files) with integrated PMP/PMBOK methodologies, extensive visual asset libraries, and industry-standard professional templates. Use this skill when users ask to create flowcharts, swimlane diagrams, cross-functional flowcharts, org charts, network diagrams, UML diagrams, BPMN, project management diagrams (WBS, Gantt, PERT, RACI), risk matrices, stakeholder maps, or any other visual diagram in draw.io format. This skill includes access to custom shape libraries for icons, clipart, and professional symbols.
ui-ux-pro-max
nextlevelbuilder
"UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient."
godot
bfollington
This skill should be used when working on Godot Engine projects. It provides specialized knowledge of Godot's file formats (.gd, .tscn, .tres), architecture patterns (component-based, signal-driven, resource-based), common pitfalls, validation tools, code templates, and CLI workflows. The `godot` command is available for running the game, validating scripts, importing resources, and exporting builds. Use this skill for tasks involving Godot game development, debugging scene/resource files, implementing game systems, or creating new Godot components.
nano-banana-pro
garg-aayush
Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API. Use when the user asks to generate, create, edit, modify, change, alter, or update images. Also use when user references an existing image file and asks to modify it in any way (e.g., "modify this image", "change the background", "replace X with Y"). Supports both text-to-image generation and image-to-image editing with configurable resolution (1K default, 2K, or 4K for high resolution). DO NOT read the image file first - use this skill directly with the --input-image parameter.
fastapi-templates
wshobson
Create production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications or setting up backend API projects.
Related MCP Servers
Browse all serversDeploy, monitor, and manage cloud based DBMS and cloud database management tasks on Tencent CloudBase with AI-powered to
Deploy, monitor, and manage full-stack apps on Tencent CloudBase—tools for cloud environments, databases, functions, hos
Deploy and manage MCP-compatible AI apps on Google Cloud Run — automate Cloud Run deployments, list services, and manage
Deploy and manage apps easily on Railway's train platform—handle services, environments, and more via conversational wor
Integrate with Podman for seamless container creation, management, and orchestration in automated DevOps and microservic
Manage apps and databases easily with Coolify's deployment platform—integrate 110+ services, 8 database types, and robus
Stay ahead of the MCP ecosystem
Get weekly updates on new skills and servers.