Skip to content

TerKix rebrand, Gemini model/config support, server robustness, storage helpers & assets#2

Open
Huynhthuongg wants to merge 4 commits into
mainfrom
codex/review-and-update-project-setup
Open

TerKix rebrand, Gemini model/config support, server robustness, storage helpers & assets#2
Huynhthuongg wants to merge 4 commits into
mainfrom
codex/review-and-update-project-setup

Conversation

@Huynhthuongg

@Huynhthuongg Huynhthuongg commented Jun 7, 2026

Copy link
Copy Markdown
Member

Motivation

  • Rebrand the project from RKix to TerKix and provide branding assets, README, and updated metadata for a polished developer experience.
  • Make the Gemini command endpoint configurable (model and port) and add a health route for safer runtime use in hosted environments.
  • Harden server/client AI integration and client persistence to better handle malformed AI responses and legacy localStorage keys.

Description

  • Added project docs and branding: new README.md, updated .env.example (adds GEMINI_MODEL and PORT), index.html metadata, metadata.json adjustments, and a new public/terkix-logo.svg asset.
  • Server improvements in server.ts: load dotenv earlier, expose GET /api/health, support GEMINI_MODEL and PORT env vars, add typed request interfaces, normalize input files, robustly parse fenced or plain JSON from Gemini with parseGeminiJson, use the configured model when calling GenAI, and improve error handling/log messages.
  • Client-side and UX changes: global rebrand strings, email domains, UI/UX polish and additions in src/App.tsx, move from direct localStorage use to new storage helpers; added src/utils/storage.ts with readJsonStorage, readStringStorage, readNumberStorage, and writeStorage including legacy-key migration.
  • Packaging and build changes: update package.json name/version/description, reorganized a few deps between dependencies and devDependencies, added typecheck script and preview, and updated vite.config.ts comment encoding fix.

Testing

  • Ran the TypeScript typecheck via npm run typecheck (runs tsc --noEmit), which completed successfully.
  • Performed a production build with npm run build to verify bundling and server bundle generation, which completed without errors.
  • Started the dev server (npm run dev) and exercised the new /api/health endpoint and basic terminal flows to smoke-test runtime behavior, which responded as expected.

Codex Task


Summary by cubic

Rebranded RKix to TerKix and hardened the server/AI pipeline with configurable Gemini model and port, a health check, safer JSON handling, and new client storage helpers and visuals.

  • New Features

    • Branding/metadata: new logo, README, favicon, and description; updated app name and copy; added microphone permission in metadata.json.
    • Server (express + vite): early dotenv; GET /api/health; PORT and GEMINI_MODEL envs (defaults 3000 and gemini-2.5-flash); typed request payloads and workspace normalization; fenced/plain JSON parsing; 50 MB JSON body limit; model wired to @google/genai; clearer errors/logs.
    • Client/UI: storage helpers with validation and auto-migration from rkix_* to terkix_*; TerKix copy/icons; optimized terminal rendering and new grid/command-deck styles.
    • Packaging: project rename; moved build tools to devDependencies; added typecheck and preview; minor vite.config.ts comment fix.
  • Migration

    • Env: set GEMINI_API_KEY; optional GEMINI_MODEL and PORT (see .env.example).
    • Storage: rkix_* localStorage keys auto-migrate to terkix_*.
    • Scripts: use npm run typecheck, npm run build, npm run dev, npm run preview.

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

Review in cubic

@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 →

@coderabbitai

coderabbitai Bot commented Jun 7, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@Huynhthuongg, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 15 minutes and 18 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: b5e31463-f51a-4d6a-b095-32d4c3ab3aac

📥 Commits

Reviewing files that changed from the base of the PR and between 4fc615e and 58d5a3c.

⛔ Files ignored due to path filters (2)
  • package-lock.json is excluded by !**/package-lock.json
  • public/terkix-logo.svg is excluded by !**/*.svg
📒 Files selected for processing (15)
  • .env.example
  • README.md
  • index.html
  • metadata.json
  • package.json
  • server.ts
  • src/App.tsx
  • src/components/ContactsManager.tsx
  • src/components/DashboardOverview.tsx
  • src/components/PluginManager.tsx
  • src/components/TelemetryD3Chart.tsx
  • src/data/presets.ts
  • src/index.css
  • src/utils/storage.ts
  • vite.config.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/review-and-update-project-setup
✨ Simplify code
  • Create PR with simplified code
  • Commit simplified code in branch codex/review-and-update-project-setup
  • 🛠️ 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 7, 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.

@cubic-dev-ai cubic-dev-ai 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.

3 issues found across 16 files

You’re at about 95% of the monthly reviewed-line limit. You may want to disable incremental reviews to conserve quota. Reviews will continue until that limit is exceeded. If you need help avoiding interruptions, please contact contact@cubic.dev.

Reply with feedback, questions, or to request a fix.

Re-trigger cubic

Comment thread src/utils/storage.ts
Comment thread server.ts Outdated
Comment thread server.ts Outdated

@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: 5070d1c1a0

ℹ️ 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
Comment thread server.ts Outdated
Huynhthuongg and others added 2 commits June 7, 2026 18:53
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>
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant