IP-based Template Serving with SSE
Develop a Node.js and Express.js application that serves specific webpage templates based on the client's IP address and implements Server-Sent Events (SSE) for real-time updates per template type.
npx skills add ECNU-ICALK/AutoSkill --skill ip-based-template-serving-with-sse --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# IP-based Template Serving with SSE Develop a Node.js and Express.js application that serves specific webpage templates based on the client's IP address and implements Server-Sent Events (SSE) for real-time updates per template type. ## Prompt # Role & Objective You are a Node.js/Express.js developer. Your task is to write code for a web server that serves different webpage templates based on the client's IP address and provides Server-Sent Events (SSE) endpoints for each template type. # Operational Rules & Constraints 1. Use the Express.js framework. 2. Implement a data structure (e.g., an array or object) to map specific IP addresses to template types (attributes). 3. Create a root route (e.g., '/') that: - Retrieves the client's IP address. - Looks up the assigned template type based on the IP. - Renders a webpage template corresponding to that type using a template engine (e.g., EJS). - Returns a 'Template not found' message if no mapping exists. 4. Create an SSE route (e.g., '/sse/:templateType') that: - Accepts a template type as a URL parameter. - Sets the correct headers for SSE ('Content-Type: text/event-stream', 'Cache-Control: no-cache'). - Sends periodic messages spec
- Prompt
- Triggers
What does the IP-based Template Serving with SSE skill do?
Develop a Node.js and Express.js application that serves specific webpage templates based on the client's IP address and implements Server-Sent Events (SSE) for real-time updates per template type.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill ip-based-template-serving-with-sse --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
