[PR #2] [MERGED] feat: add demo mode, project templates, and remote deployment support #8

Closed
opened 2026-03-02 05:12:30 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/gotempsh/temps/pull/2
Author: @dviejokfs
Created: 1/29/2026
Status: Merged
Merged: 2/6/2026
Merged by: @dviejokfs

Base: mainHead: feat/demo-mode


📝 Commits (10+)

  • 5ca1256 feat(templates): add project templates configuration and demo mode enhancements
  • 9f7fddc chore(dependencies): update Next.js and React versions in package configuration
  • 6db1f80 feat(templates): introduce template management and TLS enhancements
  • 3521896 feat(demo): enhance demo mode functionality and UI components
  • 39dde96 feat(workflow): add job configuration with custom dependencies and required flag
  • e07ab56 feat(deployments): introduce remote deployment support and enhance project source types
  • ea9f4f2 feat(deployments): add support for Docker image and static file deployments
  • 2e124f6 feat(setup): enhance IP address confirmation and password handling in non-interactive mode
  • 63fed1c feat(deployments): streamline deployment process and enhance user experience
  • 1085d56 feat(skills): add new skills for custom domain setup, Node.js SDK integration, React analytics, session recording, and deployment management

📊 Changes

123 files changed (+21591 additions, -1365 deletions)

View changed files

📝 Cargo.lock (+125 -68)
📝 Cargo.toml (+1 -0)
📝 README.md (+33 -37)
📝 apps/temps-cli/CLAUDE.md (+6 -0)
📝 apps/temps-cli/bun.lock (+112 -7)
📝 apps/temps-cli/package.json (+7 -2)
apps/temps-cli/src/commands/deploy/deploy-image.ts (+291 -0)
apps/temps-cli/src/commands/deploy/deploy-local-image.ts (+618 -0)
apps/temps-cli/src/commands/deploy/deploy-static.ts (+433 -0)
📝 apps/temps-cli/src/commands/deploy/deploy.ts (+1 -13)
📝 apps/temps-cli/src/commands/deploy/index.ts (+63 -4)
📝 apps/temps-cli/src/config/store.ts (+1 -1)
apps/temps-cli/src/lib/deployment-watcher.tsx (+520 -0)
📝 crates/temps-analytics-events/src/handlers/events_handler.rs (+14 -2)
📝 crates/temps-analytics-events/src/services/events_service.rs (+12 -0)
📝 crates/temps-auth/src/context.rs (+25 -0)
📝 crates/temps-auth/src/lib.rs (+1 -1)
📝 crates/temps-auth/src/middleware.rs (+163 -19)
📝 crates/temps-auth/src/temps_middleware.rs (+246 -0)
📝 crates/temps-auth/src/user_service.rs (+13 -1)

...and 80 more files

📄 Description

This MR introduces demo mode functionality, project templates system, and comprehensive remote deployment capabilities including Docker image and static file deployments.

Key Features

Demo Mode

  • New demo layout and UI components for showcasing the platform
  • Enhanced authentication middleware to support demo sessions

Project Templates

  • Template management system with configurable templates (templates.yaml)
  • Template selection UI with TemplateCard, TemplateList, and TemplateConfigurator components
  • Templates API endpoints for listing and configuring projects from templates

Remote Deployments

  • Support for deploying external Docker images (pull_external_image job)
  • Static file/bundle deployments (deploy_static_bundle job)
  • New CLI commands: deploy-image, deploy-static
  • Remote deployment service and handlers
  • Enhanced workflow planner with job dependencies and required flag

CLI Enhancements

  • New commands: api_key, build, deploy, domain
  • Deployment watcher component for real-time deployment status
  • Improved setup command with better IP address confirmation and password handling

Skills

  • Added skills for: custom domain setup, Node.js SDK integration, React analytics, session recording, deployment management, and MCP setup

Other Improvements

  • Enhanced referrer handling in event metrics recording
  • TLS/ACME improvements in domain handling
  • New entity types: external_images, static_bundles, source_type
  • Database migrations for remote builds support

Database Migrations

  • m20260121_000001_add_remote_builds_support - Adds tables for external images and static bundles
  • m20260122_000001_increase_checksum_length - Increases checksum field length

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/gotempsh/temps/pull/2 **Author:** [@dviejokfs](https://github.com/dviejokfs) **Created:** 1/29/2026 **Status:** ✅ Merged **Merged:** 2/6/2026 **Merged by:** [@dviejokfs](https://github.com/dviejokfs) **Base:** `main` ← **Head:** `feat/demo-mode` --- ### 📝 Commits (10+) - [`5ca1256`](https://github.com/gotempsh/temps/commit/5ca1256aad081869886b70c9c9457b97a8070c0b) feat(templates): add project templates configuration and demo mode enhancements - [`9f7fddc`](https://github.com/gotempsh/temps/commit/9f7fddc147b0b867fdb448188f0b494151010dcf) chore(dependencies): update Next.js and React versions in package configuration - [`6db1f80`](https://github.com/gotempsh/temps/commit/6db1f80a7ff5c3734799a1f02d7b9ef316427728) feat(templates): introduce template management and TLS enhancements - [`3521896`](https://github.com/gotempsh/temps/commit/3521896715a7b6cc39dde56da251a3f76b97c761) feat(demo): enhance demo mode functionality and UI components - [`39dde96`](https://github.com/gotempsh/temps/commit/39dde968d7798ea7605dff0386f35a15ba44444c) feat(workflow): add job configuration with custom dependencies and required flag - [`e07ab56`](https://github.com/gotempsh/temps/commit/e07ab569119ffcaacd5118dc2095baf59a5ca554) feat(deployments): introduce remote deployment support and enhance project source types - [`ea9f4f2`](https://github.com/gotempsh/temps/commit/ea9f4f288de433b4115b4795ad9dcf89ef106234) feat(deployments): add support for Docker image and static file deployments - [`2e124f6`](https://github.com/gotempsh/temps/commit/2e124f623ec1ab80a9713ba68a86b7ba528be3f4) feat(setup): enhance IP address confirmation and password handling in non-interactive mode - [`63fed1c`](https://github.com/gotempsh/temps/commit/63fed1c8f05eabe9f8c31f1e13408f95f055ca29) feat(deployments): streamline deployment process and enhance user experience - [`1085d56`](https://github.com/gotempsh/temps/commit/1085d5679dfc8eb622d60033da3f337f026efb9b) feat(skills): add new skills for custom domain setup, Node.js SDK integration, React analytics, session recording, and deployment management ### 📊 Changes **123 files changed** (+21591 additions, -1365 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.lock` (+125 -68) 📝 `Cargo.toml` (+1 -0) 📝 `README.md` (+33 -37) 📝 `apps/temps-cli/CLAUDE.md` (+6 -0) 📝 `apps/temps-cli/bun.lock` (+112 -7) 📝 `apps/temps-cli/package.json` (+7 -2) ➕ `apps/temps-cli/src/commands/deploy/deploy-image.ts` (+291 -0) ➕ `apps/temps-cli/src/commands/deploy/deploy-local-image.ts` (+618 -0) ➕ `apps/temps-cli/src/commands/deploy/deploy-static.ts` (+433 -0) 📝 `apps/temps-cli/src/commands/deploy/deploy.ts` (+1 -13) 📝 `apps/temps-cli/src/commands/deploy/index.ts` (+63 -4) 📝 `apps/temps-cli/src/config/store.ts` (+1 -1) ➕ `apps/temps-cli/src/lib/deployment-watcher.tsx` (+520 -0) 📝 `crates/temps-analytics-events/src/handlers/events_handler.rs` (+14 -2) 📝 `crates/temps-analytics-events/src/services/events_service.rs` (+12 -0) 📝 `crates/temps-auth/src/context.rs` (+25 -0) 📝 `crates/temps-auth/src/lib.rs` (+1 -1) 📝 `crates/temps-auth/src/middleware.rs` (+163 -19) 📝 `crates/temps-auth/src/temps_middleware.rs` (+246 -0) 📝 `crates/temps-auth/src/user_service.rs` (+13 -1) _...and 80 more files_ </details> ### 📄 Description This MR introduces demo mode functionality, project templates system, and comprehensive remote deployment capabilities including Docker image and static file deployments. ### Key Features **Demo Mode** - New demo layout and UI components for showcasing the platform - Enhanced authentication middleware to support demo sessions **Project Templates** - Template management system with configurable templates (`templates.yaml`) - Template selection UI with `TemplateCard`, `TemplateList`, and `TemplateConfigurator` components - Templates API endpoints for listing and configuring projects from templates **Remote Deployments** - Support for deploying external Docker images (`pull_external_image` job) - Static file/bundle deployments (`deploy_static_bundle` job) - New CLI commands: `deploy-image`, `deploy-static` - Remote deployment service and handlers - Enhanced workflow planner with job dependencies and `required` flag **CLI Enhancements** - New commands: `api_key`, `build`, `deploy`, `domain` - Deployment watcher component for real-time deployment status - Improved setup command with better IP address confirmation and password handling **Skills** - Added skills for: custom domain setup, Node.js SDK integration, React analytics, session recording, deployment management, and MCP setup **Other Improvements** - Enhanced referrer handling in event metrics recording - TLS/ACME improvements in domain handling - New entity types: `external_images`, `static_bundles`, `source_type` - Database migrations for remote builds support ### Database Migrations - `m20260121_000001_add_remote_builds_support` - Adds tables for external images and static bundles - `m20260122_000001_increase_checksum_length` - Increases checksum field length --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 05:12:30 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/temps#8
No description provided.