Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: codinit.dev related issues
url: https://github.com/gerome-elassaad/codinit-app/issues/new/choose
url: https://github.com/codinit-dev/codinit-dev/issues/new/choose
about: Report issues related to codinit.dev
12 changes: 6 additions & 6 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Docker Publish
on:
push:
branches: [main, stable]
tags: ['v*', '*.*.*']
tags: ["v*", "*.*.*"]
workflow_dispatch:

concurrency:
Expand All @@ -16,7 +16,7 @@ permissions:

env:
REGISTRY: ghcr.io
IMAGE_NAME: gerome-elassaad/codinit-app
IMAGE_NAME: codinit-dev/codinit-dev

jobs:
docker-build-publish:
Expand All @@ -25,10 +25,10 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Log in to GitHub Container Registry
uses: docker/login-action@v3
with:
Expand Down Expand Up @@ -56,8 +56,8 @@ jobs:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

- name: Check manifest
run: |
IMAGE_NAME_LOWER=$(echo "${{ env.IMAGE_NAME }}" | tr '[:upper:]' '[:lower:]')
docker buildx imagetools inspect ${{ env.REGISTRY }}/${IMAGE_NAME_LOWER}:${{ steps.meta.outputs.version }}
docker buildx imagetools inspect ${{ env.REGISTRY }}/${IMAGE_NAME_LOWER}:${{ steps.meta.outputs.version }}
5 changes: 2 additions & 3 deletions app/components/@settings/tabs/update/UpdateTab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,7 @@ const UpdateTab = () => {
</p>
)}
<p className="mt-1">
Updates are checked from: <span className="font-mono">gerome-elassaad/codinit-app</span> (GitHub
releases)
Updates are checked from: <span className="font-mono">codinit-dev/codinit-dev</span> (GitHub releases)
</p>
</div>
{hasUpdate && releaseUrl && (
Expand Down Expand Up @@ -291,7 +290,7 @@ const UpdateTab = () => {
<div className="mt-4">
<p className="text-sm text-codinit-elements-textSecondary mb-4">
A new version ({latestVersion}) is available from{' '}
<span className="font-mono">gerome-elassaad/codinit-app</span> on GitHub.
<span className="font-mono">codinit-dev/codinit-dev</span> on GitHub.
</p>

{releaseUrl && (
Expand Down
2 changes: 1 addition & 1 deletion app/components/header/ChatHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export function ChatHeader() {
<ClientOnly>{() => <ChatDescription />}</ClientOnly>
</div>
<button
onClick={() => window.open('https://github.com/Gerome-Elassaad/codinit-app/issues/new/choose', '_blank')}
onClick={() => window.open('https://github.com/codinit-dev/codinit-dev/issues/new/choose', '_blank')}
className="flex items-center justify-center font-medium shrink-0 min-w-0 max-w-full rounded-md focus-visible:outline-2 relative gap-1 h-9 focus-visible:outline-codinit-ds-brandHighlight bg-transparent hover:bg-codinit-ds-inverseSurface/7 text-codinit-ds-textPrimary hover:text-codinit-ds-brandHighlight text-sm px-2 transition-colors"
type="button"
title="Report a bug"
Expand Down
4 changes: 2 additions & 2 deletions app/components/header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export function Header() {
</div>
<div className="flex items-center gap-2">
<button
onClick={() => window.open('https://github.com/Gerome-Elassaad/codinit-app', '_blank')}
onClick={() => window.open('https://github.com/codinit-dev/codinit-dev', '_blank')}
className="flex items-center justify-center font-medium shrink-0 rounded-md focus-visible:outline-2 disabled:op-50 relative disabled:cursor-not-allowed gap-1.5 h-9 px-2.5 bg-transparent hover:bg-white/5 dark:hover:bg-white/10 text-sm border border-white/10 dark:border-white/20 transition-colors"
type="button"
title="Star on GitHub"
Expand All @@ -41,7 +41,7 @@ export function Header() {
<span className="text-sm text-gray-700 dark:text-gray-200">Star</span>
</button>
<button
onClick={() => window.open('https://github.com/Gerome-Elassaad/codinit-app/issues/new/choose', '_blank')}
onClick={() => window.open('https://github.com/codinit-dev/codinit-dev/issues/new/choose', '_blank')}
className="flex items-center justify-center font-medium shrink-0 rounded-md focus-visible:outline-2 disabled:op-50 relative disabled:cursor-not-allowed h-9 w-9 bg-transparent hover:bg-white/5 dark:hover:bg-white/10 border border-white/10 dark:border-white/20 transition-colors"
type="button"
title="Report a bug"
Expand Down
2 changes: 1 addition & 1 deletion app/components/header/HeaderActionButtons.client.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ export function HeaderActionButtons({}: HeaderActionButtonsProps) {
<div className="w-[1px] bg-codinit-elements-borderColor" />
<IconButton
title="View on GitHub"
onClick={() => window.open('https://github.com/codinit-app/codinit', '_blank')}
onClick={() => window.open('https://github.com/codinit-dev/codinit', '_blank')}
>
<img
className="w-5 h-5"
Expand Down
4 changes: 2 additions & 2 deletions app/lib/api/updates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,10 @@ export const checkForUpdates = async (): Promise<UpdateCheckResult> => {
const currentVersion = apiData.currentVersion;

// Fetch the latest release from GitHub
const response = await fetch(`https://api.github.com/repos/gerome-elassaad/codinit-app/releases/latest`, {
const response = await fetch(`https://api.github.com/repos/codinit-dev/codinit-dev/releases/latest`, {
headers: {
Accept: 'application/vnd.github.v3+json',
'User-Agent': 'CodinIT-App',
'User-Agent': 'codinit-dev',
},
});

Expand Down
2 changes: 1 addition & 1 deletion app/routes/api.system.app-info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const getAppResponse = () => {
const gitInfo = getGitInfo();

return {
name: __PKG_NAME || 'codinit-app',
name: __PKG_NAME || 'codinit-dev',
version: __APP_VERSION || '0.9.6',
description: __PKG_DESCRIPTION || 'A LLM interface',
license: __PKG_LICENSE || 'MIT',
Expand Down
2 changes: 1 addition & 1 deletion app/routes/api.system.git-info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ export const loader: LoaderFunction = async ({ request, context }: LoaderFunctio
author: typeof __GIT_AUTHOR !== 'undefined' ? __GIT_AUTHOR : 'development',
email: typeof __GIT_EMAIL !== 'undefined' ? __GIT_EMAIL : 'development@local',
remoteUrl: typeof __GIT_REMOTE_URL !== 'undefined' ? __GIT_REMOTE_URL : 'local',
repoName: typeof __GIT_REPO_NAME !== 'undefined' ? __GIT_REPO_NAME : 'codinit-app',
repoName: typeof __GIT_REPO_NAME !== 'undefined' ? __GIT_REPO_NAME : 'codinit-dev',
},
timestamp: new Date().toISOString(),
};
Expand Down
4 changes: 2 additions & 2 deletions app/routes/api.update.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { json, type ActionFunction } from '@remix-run/cloudflare';

// Current version - update this when releasing new versions
const CURRENT_VERSION = '1.1.18';
const GITHUB_REPO = 'gerome-elassaad/codinit-app';
const GITHUB_REPO = 'codinit-dev/codinit-dev';

interface GitHubRelease {
tag_name: string;
Expand All @@ -26,7 +26,7 @@ export const action: ActionFunction = async ({ request }) => {
const response = await fetch(`https://api.github.com/repos/${GITHUB_REPO}/releases/latest`, {
headers: {
Accept: 'application/vnd.github.v3+json',
'User-Agent': 'CodinIT-App',
'User-Agent': 'codinit-dev',
},
});

Expand Down
20 changes: 10 additions & 10 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ services:
dockerfile: Dockerfile
target: codinit-ai-production
ports:
- '5173:5173'
env_file: '.env.local'
- "5173:5173"
env_file: ".env.local"
environment:
- NODE_ENV=production
- COMPOSE_PROFILES=production
Expand All @@ -28,7 +28,7 @@ services:
- DEFAULT_NUM_CTX=${DEFAULT_NUM_CTX:-32768}
- RUNNING_IN_DOCKER=true
extra_hosts:
- 'host.docker.internal:host-gateway'
- "host.docker.internal:host-gateway"
command: pnpm run dockerstart
profiles:
- production
Expand All @@ -37,7 +37,7 @@ services:
image: codinit-ai:development
build:
target: codinit-ai-development
env_file: '.env.local'
env_file: ".env.local"
environment:
- NODE_ENV=development
- VITE_HMR_PROTOCOL=ws
Expand All @@ -61,22 +61,22 @@ services:
- DEFAULT_NUM_CTX=${DEFAULT_NUM_CTX:-32768}
- RUNNING_IN_DOCKER=true
extra_hosts:
- 'host.docker.internal:host-gateway'
- "host.docker.internal:host-gateway"
volumes:
- type: bind
source: .
target: /app
consistency: cached
- /app/node_modules
ports:
- '5173:5173'
- "5173:5173"
command: pnpm run dev --host 0.0.0.0
profiles: ['development', 'default']
profiles: ["development", "default"]

app-prebuild:
image: ghcr.io/gerome-elassaad/codinit-app:latest
image: ghcr.io/codinit-dev/codinit-dev:latest
ports:
- '5173:5173'
- "5173:5173"
environment:
- NODE_ENV=production
- COMPOSE_PROFILES=production
Expand All @@ -86,7 +86,7 @@ services:
- DEFAULT_NUM_CTX=${DEFAULT_NUM_CTX:-32768}
- RUNNING_IN_DOCKER=true
extra_hosts:
- 'host.docker.internal:host-gateway'
- "host.docker.internal:host-gateway"
command: pnpm run dockerstart
profiles:
- prebuilt
4 changes: 2 additions & 2 deletions electron-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ npmRebuild: false

publish:
provider: github
owner: Gerome-Elassaad
repo: codinit-app
owner: codinit-dev
repo: codinit-dev
private: false
releaseType: release

Expand Down
4 changes: 2 additions & 2 deletions electron-update.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
owner: gerome-elassaad
repo: codinit-app
owner: codinit-dev
repo: codinit-dev
provider: github
private: false
2 changes: 1 addition & 1 deletion scripts/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ TMP_DIR=$(mktemp -d)
cd "$TMP_DIR"

# Download latest release
LATEST_RELEASE_URL=$(curl -s https://api.github.com/repos/gerome-elassaad/codinit-app/releases/latest | grep "browser_download_url.*zip" | cut -d : -f 2,3 | tr -d \")
LATEST_RELEASE_URL=$(curl -s https://api.github.com/repos/codinit-dev/codinit-dev/releases/latest | grep "browser_download_url.*zip" | cut -d : -f 2,3 | tr -d \")
if [ -z "$LATEST_RELEASE_URL" ]; then
echo "Error: Could not find latest release download URL"
exit 1
Expand Down