-
-
Notifications
You must be signed in to change notification settings - Fork 0
Reset to default branch when current branch is deleted (#13) - Implemented automatic reset to the default branch when the current active branch is deleted. [v0 Session](https://v0.app/chat/2tqoPgihDyU) #28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Huynhthuongg
wants to merge
26
commits into
codex/review-and-update-project-setup
Choose a base branch
from
v0/nvht25052002-2777-446bcb5b
base: codex/review-and-update-project-setup
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
cafa4f1
Stabilize RKix project setup
Huynhthuongg 4fc615e
Merge pull request #1 from Huynhthuongg/codex/review-and-update-proje…
Huynhthuongg 99e4ed3
Create webpack.yml
Huynhthuongg 4b325d7
Update issue templates
Huynhthuongg e3c265e
Create FUNDING.yml
Huynhthuongg 5d1cf27
Create jekyll-gh-pages.yml
Huynhthuongg 9359a38
Create static.yml
Huynhthuongg fb16eb4
Create CNAME
Huynhthuongg 4189b24
Create SSL
Huynhthuongg 868c5c8
Delete SSL
Huynhthuongg a3da156
init
vercel[bot] 559f98d
Update project files (#5)
Huynhthuongg 24d3428
init
vercel[bot] 4ed376f
Redirect to default branch when current branch is deleted (#6)
vercel[bot] b5ae85d
init
vercel[bot] e678bdf
Update project files (#7)
vercel[bot] ca9c0df
init
vercel[bot] 9ee8406
Initialize base project structure and configuration (#9)
vercel[bot] 21c7e3c
init
vercel[bot] 88e484d
Initialize project structure and base UI components (#10)
vercel[bot] 54ff1f2
init
vercel[bot] bae8b52
Initialize base project structure and UI components (#11)
vercel[bot] 1e5cac7
feat: enhance DashboardOverview layout and styling adjustments
v0agent c199c2b
Initialize project and refine Dashboard Overview layout (#12)
Huynhthuongg 626fdeb
init
vercel[bot] 0dcb08f
Reset to default branch when current branch is deleted (#13)
Huynhthuongg File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,9 +1,14 @@ | ||
| # GEMINI_API_KEY: Required for Gemini AI API calls. | ||
| # AI Studio automatically injects this at runtime from user secrets. | ||
| # Users configure this via the Secrets panel in the AI Studio UI. | ||
| # GEMINI_API_KEY: Required for live Gemini AI API calls. | ||
| # AI Studio can inject this at runtime from user secrets. | ||
| GEMINI_API_KEY="MY_GEMINI_API_KEY" | ||
|
|
||
| # GEMINI_MODEL: Optional model override for the RKix command endpoint. | ||
| # Defaults to gemini-2.5-flash when omitted. | ||
| GEMINI_MODEL="gemini-2.5-flash" | ||
|
|
||
| # PORT: Optional local/server port. | ||
| PORT="3000" | ||
|
|
||
| # APP_URL: The URL where this applet is hosted. | ||
| # AI Studio automatically injects this at runtime with the Cloud Run service URL. | ||
| # Used for self-referential links, OAuth callbacks, and API endpoints. | ||
| # AI Studio can inject this at runtime with the Cloud Run service URL. | ||
| APP_URL="MY_APP_URL" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| # These are supported funding model platforms | ||
|
|
||
| github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] | ||
| patreon: # Replace with a single Patreon username | ||
| open_collective: # Replace with a single Open Collective username | ||
| ko_fi: # Replace with a single Ko-fi username | ||
| tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel | ||
| community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry | ||
| liberapay: # Replace with a single Liberapay username | ||
| issuehunt: # Replace with a single IssueHunt username | ||
| lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry | ||
| polar: # Replace with a single Polar username | ||
| buy_me_a_coffee: # Replace with a single Buy Me a Coffee username | ||
| thanks_dev: # Replace with a single thanks.dev username | ||
| custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| --- | ||
| name: Bug report | ||
| about: Create a report to help us improve | ||
| title: '' | ||
| labels: '' | ||
| assignees: '' | ||
|
|
||
| --- | ||
|
|
||
| **Describe the bug** | ||
| A clear and concise description of what the bug is. | ||
|
|
||
| **To Reproduce** | ||
| Steps to reproduce the behavior: | ||
| 1. Go to '...' | ||
| 2. Click on '....' | ||
| 3. Scroll down to '....' | ||
| 4. See error | ||
|
|
||
| **Expected behavior** | ||
| A clear and concise description of what you expected to happen. | ||
|
|
||
| **Screenshots** | ||
| If applicable, add screenshots to help explain your problem. | ||
|
|
||
| **Desktop (please complete the following information):** | ||
| - OS: [e.g. iOS] | ||
| - Browser [e.g. chrome, safari] | ||
| - Version [e.g. 22] | ||
|
|
||
| **Smartphone (please complete the following information):** | ||
| - Device: [e.g. iPhone6] | ||
| - OS: [e.g. iOS8.1] | ||
| - Browser [e.g. stock browser, safari] | ||
| - Version [e.g. 22] | ||
|
|
||
| **Additional context** | ||
| Add any other context about the problem here. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| --- | ||
| name: Custom issue template | ||
| about: Describe this issue template's purpose here. | ||
| title: '' | ||
| labels: '' | ||
| assignees: '' | ||
|
|
||
| --- | ||
|
|
||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| --- | ||
| name: Feature request | ||
| about: Suggest an idea for this project | ||
| title: '' | ||
| labels: '' | ||
| assignees: '' | ||
|
|
||
| --- | ||
|
|
||
| **Is your feature request related to a problem? Please describe.** | ||
| A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
|
|
||
| **Describe the solution you'd like** | ||
| A clear and concise description of what you want to happen. | ||
|
|
||
| **Describe alternatives you've considered** | ||
| A clear and concise description of any alternative solutions or features you've considered. | ||
|
|
||
| **Additional context** | ||
| Add any other context or screenshots about the feature request here. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,51 @@ | ||
| # Sample workflow for building and deploying a Jekyll site to GitHub Pages | ||
| name: Deploy Jekyll with GitHub Pages dependencies preinstalled | ||
|
|
||
| on: | ||
| # Runs on pushes targeting the default branch | ||
| push: | ||
| branches: ["main"] | ||
|
|
||
| # Allows you to run this workflow manually from the Actions tab | ||
| workflow_dispatch: | ||
|
|
||
| # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | ||
| permissions: | ||
| contents: read | ||
| pages: write | ||
| id-token: write | ||
|
|
||
| # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. | ||
| # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. | ||
| concurrency: | ||
| group: "pages" | ||
| cancel-in-progress: false | ||
|
|
||
| jobs: | ||
| # Build job | ||
| build: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v4 | ||
| - name: Setup Pages | ||
| uses: actions/configure-pages@v5 | ||
| - name: Build with Jekyll | ||
| uses: actions/jekyll-build-pages@v1 | ||
| with: | ||
| source: ./ | ||
| destination: ./_site | ||
| - name: Upload artifact | ||
| uses: actions/upload-pages-artifact@v3 | ||
|
|
||
| # Deployment job | ||
| deploy: | ||
| environment: | ||
| name: github-pages | ||
| url: ${{ steps.deployment.outputs.page_url }} | ||
| runs-on: ubuntu-latest | ||
| needs: build | ||
| steps: | ||
| - name: Deploy to GitHub Pages | ||
| id: deployment | ||
| uses: actions/deploy-pages@v5 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,43 @@ | ||
| # Simple workflow for deploying static content to GitHub Pages | ||
| name: Deploy static content to Pages | ||
|
|
||
| on: | ||
| # Runs on pushes targeting the default branch | ||
| push: | ||
| branches: ["main"] | ||
|
|
||
| # Allows you to run this workflow manually from the Actions tab | ||
| workflow_dispatch: | ||
|
|
||
| # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | ||
| permissions: | ||
| contents: read | ||
| pages: write | ||
| id-token: write | ||
|
|
||
| # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. | ||
| # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. | ||
| concurrency: | ||
| group: "pages" | ||
| cancel-in-progress: false | ||
|
|
||
| jobs: | ||
| # Single deploy job since we're just deploying | ||
| deploy: | ||
| environment: | ||
| name: github-pages | ||
| url: ${{ steps.deployment.outputs.page_url }} | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v4 | ||
| - name: Setup Pages | ||
| uses: actions/configure-pages@v5 | ||
| - name: Upload artifact | ||
| uses: actions/upload-pages-artifact@v3 | ||
| with: | ||
| # Upload entire repository | ||
| path: '.' | ||
| - name: Deploy to GitHub Pages | ||
| id: deployment | ||
| uses: actions/deploy-pages@v5 | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| name: NodeJS with Webpack | ||
|
|
||
| on: | ||
| push: | ||
| branches: [ "main" ] | ||
| pull_request: | ||
| branches: [ "main" ] | ||
|
|
||
| jobs: | ||
| build: | ||
| runs-on: ubuntu-latest | ||
|
|
||
| strategy: | ||
| matrix: | ||
| node-version: [18.x, 20.x, 22.x] | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v4 | ||
|
|
||
| - name: Use Node.js ${{ matrix.node-version }} | ||
| uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: ${{ matrix.node-version }} | ||
|
|
||
| - name: Build | ||
| run: | | ||
| npm install | ||
| npx webpack | ||
|
Huynhthuongg marked this conversation as resolved.
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| terkix.com |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,94 @@ | ||
| # RKix Terminal OS | ||
|
|
||
| RKix Terminal OS is an AI-native development workspace built with React, Vite, Express, and the Google Gemini API. It provides a terminal-first interface for managing virtual projects, files, agent workflows, deployments, plugins, contacts, and telemetry dashboards. | ||
|
|
||
| ## What this repo contains | ||
|
|
||
| - **React 19 SPA** for the RKix terminal, workspace explorer, dashboard, plugin hub, contacts manager, and telemetry views. | ||
| - **Express + Vite server** for local development and production static hosting. | ||
| - **Gemini command API** at `/api/gemini/command` for multi-agent workflow generation with an offline simulator fallback in the UI. | ||
| - **Safe local persistence** for projects, terminal history, active workspace, and command metrics. | ||
|
|
||
| ## Requirements | ||
|
|
||
| - Node.js 22 or newer is recommended. | ||
| - npm 10 or newer. | ||
| - A Gemini API key when you want live AI responses. Without a configured key, the client falls back to the built-in simulator. | ||
|
|
||
| ## Environment setup | ||
|
|
||
| Copy the example environment file and fill in your values: | ||
|
|
||
| ```bash | ||
| cp .env.example .env | ||
| ``` | ||
|
|
||
| Supported variables: | ||
|
|
||
| | Variable | Required | Default | Description | | ||
| | --- | --- | --- | --- | | ||
| | `GEMINI_API_KEY` | Yes for live AI | _none_ | API key used by `@google/genai`. | | ||
| | `GEMINI_MODEL` | No | `gemini-2.5-flash` | Model used by the server command endpoint. | | ||
| | `PORT` | No | `3000` | Port for the Express/Vite server. | | ||
| | `APP_URL` | No | _none_ | Public URL used by hosted environments. | | ||
|
|
||
| ## Development | ||
|
|
||
| Install dependencies: | ||
|
|
||
| ```bash | ||
| npm install | ||
| ``` | ||
|
|
||
| Run the app locally: | ||
|
|
||
| ```bash | ||
| npm run dev | ||
| ``` | ||
|
|
||
| Open `http://localhost:3000`. | ||
|
|
||
| ## Quality checks | ||
|
|
||
| Run TypeScript validation: | ||
|
|
||
| ```bash | ||
| npm run typecheck | ||
| ``` | ||
|
|
||
| Run the full production build: | ||
|
|
||
| ```bash | ||
| npm run build | ||
| ``` | ||
|
|
||
| Start the production build: | ||
|
|
||
| ```bash | ||
| npm start | ||
| ``` | ||
|
|
||
| Check server health when the app is running: | ||
|
|
||
| ```bash | ||
| curl http://localhost:3000/api/health | ||
| ``` | ||
|
|
||
| ## Project structure | ||
|
|
||
| ```text | ||
| . | ||
| ├── server.ts # Express server and Gemini command endpoint | ||
| ├── src/App.tsx # Main RKix UI shell and workspace logic | ||
| ├── src/components/ # Dashboard, project, plugin, contact, and chart modules | ||
| ├── src/data/presets.ts # Default virtual projects and sample workspace files | ||
| ├── src/types.ts # Shared domain types | ||
| └── src/utils/storage.ts # Defensive localStorage helpers | ||
| ``` | ||
|
|
||
| ## Notes for contributors | ||
|
|
||
| - Keep generated workspace file paths under `workspace/project/...` so the RKix virtual file explorer can mount them correctly. | ||
| - Keep dependencies that are only needed for builds or tooling in `devDependencies`. | ||
| - Do not commit `.env` files or real API keys. | ||
| - Run `npm run typecheck` and `npm run build` before opening a pull request. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,10 @@ | ||
| { | ||
| "name": "RKix Terminal OS", | ||
| "description": "AI-native terminal-based software development environment with autonomous planner, builder, designer, debugger, and deployer agents.", | ||
| "requestFramePermissions": [], | ||
| "majorCapabilities": ["MAJOR_CAPABILITY_SERVER_SIDE_GEMINI_API"] | ||
| "description": "AI-native terminal-based software development environment with autonomous planner, builder, designer, debugger, deployer, plugin, contact, and telemetry agents.", | ||
| "requestFramePermissions": [ | ||
| "microphone" | ||
| ], | ||
| "majorCapabilities": [ | ||
| "MAJOR_CAPABILITY_SERVER_SIDE_GEMINI_API" | ||
| ] | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.