Skip to content

Update server.ts Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com> Signed-off-by: Huỳnh Thương <252359928+Huynhthuongg@users.noreply.github.com>#18

Open
Huynhthuongg wants to merge 5 commits into
v0/nvht25052002-2777-464ef117from
codex/review-and-update-project-setup-bwuljk
Open

Conversation

@Huynhthuongg

@Huynhthuongg Huynhthuongg commented Jun 12, 2026

Copy link
Copy Markdown
Member

Summary by cubic

Rebranded the app to TerKix, made it an installable PWA with offline shell caching, and added persistent terminal/UI preferences and workspace snapshot export. The server now parses PORT, supports a GEMINI_MODEL override, and accepts typed Gemini command payloads.

  • New Features

    • PWA: added public/manifest.webmanifest, public/sw.js, and terkix-logo.svg; production-only SW registration; network-first shell caching.
    • Persistent UX: src/utils/storage.ts saves terminal history, UI preferences, and enables one-click snapshot export.
    • Server: reads PORT, defaults GEMINI_MODEL to gemini-2.5-flash, and adds typed request shapes for workspace files/project context on the Gemini command endpoint using @google/genai with express.
    • Branding & Meta: renamed to TerKix across UI/assets; updated index.html meta; metadata.json name/description and microphone permission.
    • Tooling: package.json adds preview, splits typecheck/lint, moves vite to dev deps, and updates app name/version.
  • Migration

    • Copy .env.example to .env; set GEMINI_API_KEY. Optionally set GEMINI_MODEL and PORT. Update APP_URL.
    • Run npm install; npm run dev for local, npm run build && npm start for prod (npm run preview to test the PWA).
    • After deploy, hard-refresh to update the service worker if needed.

Written for commit 4771564. Summary will update on new commits.

Review in cubic

Huynhthuongg and others added 3 commits June 7, 2026 20:48
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
Signed-off-by: Huỳnh Thương <252359928+Huynhthuongg@users.noreply.github.com>
@alwaysmeticulous

alwaysmeticulous Bot commented Jun 12, 2026

Copy link
Copy Markdown

Meticulous was unable to execute a test run for this PR because the most recent commit is associated with multiple PRs. To execute a test run, please try pushing up a new commit that is only associated with this PR.

Last updated for commit 4771564. This comment will update as new commits are pushed.

@qodo-code-review

Copy link
Copy Markdown

Qodo reviews are paused for this user.

Troubleshooting steps vary by plan Learn more →

On a Teams plan?
Reviews resume once this user has a paid seat and their Git account is linked in Qodo.
Link Git account →

Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center?
These require an Enterprise plan - Contact us
Contact us →

@vercel

vercel Bot commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
terkix Ready Ready Preview, Comment, Open in v0 Jun 13, 2026 6:46am

@coderabbitai

coderabbitai Bot commented Jun 12, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 18b163cb-a27f-4355-a2ba-01243b8fccbb

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/review-and-update-project-setup-bwuljk
✨ Simplify code
  • Create PR with simplified code
  • Commit simplified code in branch codex/review-and-update-project-setup-bwuljk
  • 🛠️ Aethon

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@kilo-code-bot

kilo-code-bot Bot commented Jun 12, 2026

Copy link
Copy Markdown

Kilo Code Review could not run — your account is out of credits.

Add credits or switch to a free model to enable reviews on this change.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7ce6dbc400

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread package.json
vercel Bot and others added 2 commits June 12, 2026 21:09
Generated by v0

[v0 Session](https://v0.app/chat/xVL4WU8pTgL)

<!-- This is an auto-generated description by cubic. -->
---
## Summary by cubic
Initialize the repository with a base project structure and
configuration to enable local development and deployment. Adds standard
configs and scripts so the project builds and runs out of the box.

<sup>Written for commit 9357c26.
Summary will update on new commits.</sup>

<a
href="https://cubic.dev/pr/Huynhthuongg/Terkix/pull/19?utm_source=github"
target="_blank" rel="noopener noreferrer"
data-no-image-dialog="true"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source
media="(prefers-color-scheme: light)"
srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img
alt="Review in cubic"
src="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"></picture></a>

<!-- End of auto-generated description by cubic. -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant