livecodes/self-hosting

Deploy LiveCodes to static servers, GitHub Pages, or Docker.

1.5k|262|Updated Jan 10, 2021
One-click install
npx skills add https://github.com/live-codes/livecodes --skill livecodes-self-hosting
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: livecodes/self-hosting
Source: https://github.com/live-codes/livecodes/tree/main/.agents/skills/livecodes/self-hosting
Command: npx skills add https://github.com/live-codes/livecodes --skill livecodes-self-hosting

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Deploy LiveCodes to self-hosted environments to enable private hosting, offline demos, or custom integrations without relying on external platforms.

Core Features & Use Cases

  • Self-host deployment to static servers, GitHub Pages, or Docker.
  • Configuration of appUrl and BASE_URL for subdirectory hosting.
  • Support for share/broadcast services in self-hosted setups.

Quick Start

Run the built-in commands to start a local self-hosted LiveCodes instance.

Frequently Asked Questions about livecodes/self-hosting

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I self-host LiveCodes on a static server or GitHub Pages?

To self-host LiveCodes, deploy the static files to your server or GitHub Pages and configure the appUrl and BASE_URL settings to match your hosting environment. This enables private hosting without relying on external platforms.

Can I configure LiveCodes for subdirectory hosting?

Yes, you can host LiveCodes in a subdirectory by correctly configuring the appUrl and BASE_URL environment variables. This ensures the application routes and asset loading function properly within a nested path on your domain.

Does self-hosting LiveCodes support share and broadcast services?

Self-hosting LiveCodes supports share and broadcast services by allowing you to configure these features within your own infrastructure. This enables collaborative code sharing and live broadcasting on your private deployment.

What is the best way to deploy LiveCodes using Docker?

The best way to deploy LiveCodes using Docker is to utilize the provided Docker configuration for containerized hosting. This allows you to run a local or production self-hosted instance, enabling offline demos and custom integrations.

Why do I need to self-host LiveCodes instead of using external platforms?

You need to self-host LiveCodes to enable private hosting, run offline demos, or build custom integrations without relying on external platforms. It provides full control over your deployment environment and data.

Do I need sdk-embedding to integrate self-hosted LiveCodes?

Yes, integrating self-hosted LiveCodes with your applications requires sdk-embedding. The self-hosting setup specifically satisfies integration requirements for sdk-embedding, allowing you to embed the code playground seamlessly.