Skip to content

Commit

Permalink
feat: switch to new domain #177
Browse files Browse the repository at this point in the history
- switched domains
- switched references in code
- switched hardcoded references
- updated images etc.
  • Loading branch information
srizvi committed Mar 26, 2024
1 parent e21354a commit 0cc403a
Show file tree
Hide file tree
Showing 175 changed files with 619 additions and 619 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Code owners for sambi
# Code owners for yocxo
* @srizvi
2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# These are supported funding model platforms

github: sambi-dev
github: yocxo
2 changes: 1 addition & 1 deletion .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"extends": ["config:base"],
"packageRules": [
{
"matchPackagePatterns": ["^@sambi/"],
"matchPackagePatterns": ["^@yocxo/"],
"enabled": false
}
],
Expand Down
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
"Vercel",
"Woohoo",
"Yiming",
"yocxo",
"Zeigarnik"
]
}
6 changes: 3 additions & 3 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -618,10 +618,10 @@ copy of the Program in return for a fee.

---

::: ✨ sambi.dev ✨ :::
::: ✨ yocxo.com ✨ :::

sambi.dev: An innovative twist on the T3 Turbo stack for seamless development and deployment.
Copyright (C) 2024 sambi.dev
yocxo.com: An innovative twist on the T3 Turbo stack for seamless development and deployment.
Copyright (C) 2024 yocxo.com

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# sambi.dev goes T3 Turbo
# yocxo.com goes T3 Turbo

Welcome to sambi.dev, the digital frontier where tech meets design with a dash of marketing genius. Here, Ambreen crafts visuals that pop, Sam tinkers with tech, and Rebekah drives demand. It's our open source playground—from code to coffee quirks.
Welcome to yocxo.com, the digital frontier where tech meets design with a dash of marketing genius. Here, Ambreen crafts visuals that pop, Sam tinkers with tech, and Rebekah drives demand. It's our open source playground—from code to coffee quirks.

### What's Inside

Expand All @@ -20,16 +20,16 @@ Dive into our collective wisdom, where success and slip-ups coexist. This space
A nod to the groundbreaking efforts of [Julius Marminge](https://github.com/juliusmarminge) and the [t3-oss](https://github.com/t3-oss) team. We've adopted T3 Turbo, adding our twist to the mix.

**Good News**
Julius and the team's foundational work means OAuth runs smoothly, even in previews. Dive into our [deployment guide](https://github.com/sambi-dev/sambi?tab=readme-ov-file#auth-proxy) and explore the mechanics in the [source](./apps/auth-proxy).
Julius and the team's foundational work means OAuth runs smoothly, even in previews. Dive into our [deployment guide](https://github.com/yocxo/studio?tab=readme-ov-file#auth-proxy) and explore the mechanics in the [source](./apps/auth-proxy).

## Installation

### Getting Started

Clone the `sambi` repository to dive into our digital world:
Clone the `yocxo` repository to dive into our digital world:

```bash
git clone https://github.com/sambi-dev/sambi.git
git clone https://github.com/yocxo/studio.git
```

For an optimal setup, we recommend using PNPM as your package manager.
Expand All @@ -43,7 +43,7 @@ npx create-turbo@latest -e https://github.com/t3-oss/create-t3-turbo

## About This Repo

Discover how to navigate the Turborepo landscape, inspired by t3-oss. Our take builds upon their create-t3-turbo, offering a unique sambi.dev flavor.
Discover how to navigate the Turborepo landscape, inspired by t3-oss. Our take builds upon their create-t3-turbo, offering a unique yocxo.com flavor.

With [Turborepo](https://turborepo.org), we amplify our T3 applications, crafting a boilerplate for agencies and freelancers alike. It's designed as a launchpad for your projects, providing a sturdy, scalable foundation with room for your creative flair.

Expand Down Expand Up @@ -96,7 +96,7 @@ tooling
```

> **Template Tip:**
> We use `@sambi` as a placeholder for package names. For a personal touch, substitute `@sambi` with your organization or project name using find-and-replace. This ensures cleaner imports and a customized codebase.
> We use `@yocxo` as a placeholder for package names. For a personal touch, substitute `@yocxo` with your organization or project name using find-and-replace. This ensures cleaner imports and a customized codebase.
## Quick Start

Expand Down Expand Up @@ -220,7 +220,7 @@ For comprehensive instructions, refer to [the auth proxy README](./apps/auth-pro
Deploying your Expo app is a bit different than deploying a Next.js web app. Instead of "deploying" online, you submit production builds to app stores like [Apple App Store](https://www.apple.com/app-store) and [Google Play](https://play.google.com/store/apps). Check out the full [guide to distributing your app](https://docs.expo.dev/distribution/introduction) in the Expo docs for best practices.

1. Update the `getBaseUrl` function to point to your production backend URL:
https://github.com/sambi-dev/sambi/blob/656965aff7db271e5e080242c4a3ce4dad5d25f8/apps/expo/src/utils/api.tsx#L20-L37
https://github.com/yocxo/studio/blob/656965aff7db271e5e080242c4a3ce4dad5d25f8/apps/expo/src/utils/api.tsx#L20-L37

2. Set up [EAS Build](https://docs.expo.dev/build/introduction) to create builds without a full native dev setup:

Expand Down
4 changes: 2 additions & 2 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# sambi.dev Security Policy
# yocxo.com Security Policy

## Supported Versions

Our project is continuously evolving. There are no older versions. Each update, patch, and feature is applied to the current version.

## Reporting a Vulnerability

Your safety and security are important to us. If you find a security vulnerability, **[we'd be grateful if you'd contact us directly](mailto:[email protected])** instead of using the public issue tracker.
Your safety and security are important to us. If you find a security vulnerability, **[we'd be grateful if you'd contact us directly](mailto:[email protected])** instead of using the public issue tracker.

This approach allows us to fix the issue discreetly.

Expand Down
14 changes: 7 additions & 7 deletions apps/auth-proxy/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@sambi/auth-proxy",
"name": "@yocxo/auth-proxy",
"private": true,
"type": "module",
"scripts": {
Expand All @@ -14,10 +14,10 @@
"@auth/core": "0.27.0"
},
"devDependencies": {
"@sambi/eslint-config": "workspace:^0.2.0",
"@sambi/prettier-config": "workspace:^0.1.0",
"@sambi/tailwind-config": "workspace:^0.1.0",
"@sambi/tsconfig": "workspace:^0.1.0",
"@yocxo/eslint-config": "workspace:^0.2.0",
"@yocxo/prettier-config": "workspace:^0.1.0",
"@yocxo/tailwind-config": "workspace:^0.1.0",
"@yocxo/tsconfig": "workspace:^0.1.0",
"@types/node": "^20.11.25",
"eslint": "^8.57.0",
"h3": "^1.11.1",
Expand All @@ -28,8 +28,8 @@
"eslintConfig": {
"root": true,
"extends": [
"@sambi/eslint-config/base"
"@yocxo/eslint-config/base"
]
},
"prettier": "@sambi/prettier-config"
"prettier": "@yocxo/prettier-config"
}
2 changes: 1 addition & 1 deletion apps/auth-proxy/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"extends": "@sambi/tsconfig/base.json",
"extends": "@yocxo/tsconfig/base.json",
"include": ["routes"]
}
4 changes: 2 additions & 2 deletions apps/coco/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Copyright 2024 sambi.dev
Copyright 2024 yocxo.com

The license provided by sambi.dev extends the original Vercel, Inc. license. A copy of which is provided in full at the bottom of this file.
The license provided by yocxo.com extends the original Vercel, Inc. license. A copy of which is provided in full at the bottom of this file.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
12 changes: 6 additions & 6 deletions apps/coco/README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<a href="https://coco.sambi.dev/">
<a href="https://coco.yocxo.com/">
<img alt="Next.js 14 and App Router-ready AI chatbot." src="../coco/src/app/opengraph-image.gif">
<h1 align="center">:: CocoGPT by sambi.deb :: Powered by Vercel ::</h1>
<h1 align="center">:: CocoGPT by Yo CXO :: Powered by Vercel ::</h1>
</a>

So, you want to create a ChatGPT wrapper? You've got a game-changing idea that people are practically begging for. Because the world desperately needs another AI product that'll ~~be outdated in a month~~ solve all their problems.

But this isn't your average project. The [geniuses at Vercel](https://vercel.com) built something remarkable. We forked it and added that signature sambi.dev touch. Get ready for a chatbot that's as unique as it is powerful.
But this isn't your average project. The [geniuses at Vercel](https://vercel.com) built something remarkable. We forked it and added that signature yocxo.com touch. Get ready for a chatbot that's as unique as it is powerful.

<p align="center">
<a href="#features"><strong>Features</strong></a> ·
Expand Down Expand Up @@ -75,9 +75,9 @@ This project was built on the shoulders of giants at [Vercel](https://vercel.com

### Power ups by

- Ambreen Dar ([@breenzy](https://twitter.com/breenzy)) - [sambi.dev](https://sambi.dev)
- Rebekah Radice ([@rebekahradice](https://twitter.com/rebekahradice)) - [sambi.dev](https://sambi.dev)
- Sam Rizvi ([@srizvi](https://github.com/srizvi)) - [sambi.dev](https://sambi.dev)
- Ambreen Dar ([@breenzy](https://twitter.com/breenzy)) - [yocxo.com](https://yocxo.com/about#ambreen)
- Rebekah Radice ([@rebekahradice](https://twitter.com/rebekahradice)) - [yocxo.com](https://yocxo.com/about#rebekah)
- Sam Rizvi ([@srizvi](https://github.com/srizvi)) - [yocxo.com](https://yocxo.com/about#sam)

## License

Expand Down
10 changes: 5 additions & 5 deletions apps/coco/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ const config = {
},
reactStrictMode: true,
transpilePackages: [
'@sambi/api',
'@sambi/auth',
'@sambi/db',
'@sambi/ui',
'@sambi/validators',
'@yocxo/api',
'@yocxo/auth',
'@yocxo/db',
'@yocxo/ui',
'@yocxo/validators',
],
typescript: { ignoreBuildErrors: true },
};
Expand Down
28 changes: 14 additions & 14 deletions apps/coco/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@sambi/coco",
"name": "@yocxo/coco",
"version": "0.1.0",
"private": true,
"type": "module",
Expand All @@ -14,11 +14,11 @@
"with-env": "dotenv -e .env.local --"
},
"dependencies": {
"@sambi/api": "workspace:^0.1.0",
"@sambi/auth": "workspace:^0.1.0",
"@sambi/db": "workspace:^0.1.0",
"@sambi/ui": "workspace:^0.1.0",
"@sambi/validators": "workspace:^0.1.0",
"@yocxo/api": "workspace:^0.1.0",
"@yocxo/auth": "workspace:^0.1.0",
"@yocxo/db": "workspace:^0.1.0",
"@yocxo/ui": "workspace:^0.1.0",
"@yocxo/validators": "workspace:^0.1.0",
"@t3-oss/env-nextjs": "^0.9.2",
"@vercel/analytics": "^1.1.2",
"@vercel/kv": "^1.0.1",
Expand All @@ -44,10 +44,10 @@
"zod": "^3.22.4"
},
"devDependencies": {
"@sambi/eslint-config": "workspace:^0.2.0",
"@sambi/prettier-config": "workspace:^0.1.0",
"@sambi/tailwind-config": "workspace:^0.1.0",
"@sambi/tsconfig": "workspace:^0.1.0",
"@yocxo/eslint-config": "workspace:^0.2.0",
"@yocxo/prettier-config": "workspace:^0.1.0",
"@yocxo/tailwind-config": "workspace:^0.1.0",
"@yocxo/tsconfig": "workspace:^0.1.0",
"@types/d3-scale": "^4.0.8",
"@types/node": "^20.11.25",
"@types/react": "^18.2.67",
Expand All @@ -63,10 +63,10 @@
"eslintConfig": {
"root": true,
"extends": [
"@sambi/eslint-config/base",
"@sambi/eslint-config/nextjs",
"@sambi/eslint-config/react"
"@yocxo/eslint-config/base",
"@yocxo/eslint-config/nextjs",
"@yocxo/eslint-config/react"
]
},
"prettier": "@sambi/prettier-config"
"prettier": "@yocxo/prettier-config"
}
4 changes: 2 additions & 2 deletions apps/coco/public/site.webmanifest
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sambiGPT",
"short_name": "sambiGPT",
"name": "cocoGPT",
"short_name": "cocoGPT",
"icons": [
{
"src": "/android-chrome-192x192.png",
Expand Down
2 changes: 1 addition & 1 deletion apps/coco/src/app/(chat)/chat/[id]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export async function generateMetadata({
const chat = await getChat(params.id, session.user.id);
const title =
chat?.title?.toString().slice(0, 50) ??
'CocoGPT Chat powered by Vercel x sambi.dev';
'CocoGPT Chat powered by Vercel x yocxo.com';
const description = siteConfig.description;
const pageUrl = `${SITE_URL}/chat/${params.id}`;

Expand Down
12 changes: 6 additions & 6 deletions apps/coco/src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import { fontLexend, fontMartian } from '#/fonts/index';

import '#/app/globals.css';

import { cn } from '@sambi/ui';
import { ThemeToggle } from '@sambi/ui/theme';
import { Toaster } from '@sambi/ui/toast';
import { cn } from '@yocxo/ui';
import { ThemeToggle } from '@yocxo/ui/theme';
import { Toaster } from '@yocxo/ui/toast';

import { siteConfig } from '#/config/site';
import { env } from '#/env';
Expand All @@ -17,7 +17,7 @@ export const metadata = {
),
title: {
template: `%s :: ${siteConfig.name}`,
default: `CocoGPT :: By sambi.dev`,
default: `CocoGPT :: By Yo CXO`,
},
description: siteConfig.description,
keywords: [
Expand Down Expand Up @@ -50,8 +50,8 @@ export const metadata = {
},
twitter: {
card: 'summary_large_image',
site: '@sambi_dev',
creator: '@sambi_dev',
site: '@supyocxo',
creator: '@supyocxo',
title: siteConfig.name,
description: siteConfig.description,
images: [
Expand Down
14 changes: 7 additions & 7 deletions apps/coco/src/app/not-found.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import Link from 'next/link';

import { cn } from '@sambi/ui';
import { buttonVariants } from '@sambi/ui/button';
import { Container } from '@sambi/ui/container';
import { ArrowRightIcon } from '@sambi/ui/icons';
import { cn } from '@yocxo/ui';
import { buttonVariants } from '@yocxo/ui/button';
import { Container } from '@yocxo/ui/container';
import { ArrowRightIcon } from '@yocxo/ui/icons';

export default function NotFound() {
return (
Expand All @@ -23,15 +23,15 @@ export default function NotFound() {
<div className="mt-10 flex items-center justify-center gap-x-6">
<Link
href="/"
aria-label="Go to chat.sambi.dev home page"
aria-label="Go to chat.yocxo.com home page"
className={cn(buttonVariants({ variant: 'secondary' }))}
>
Take me home
<ArrowRightIcon className="ml-2 w-3 flex-none fill-current" />
</Link>
<Link
href="https://github.com/sambi-dev/sambi/issues/new/choose"
aria-label="Contact sambi.dev support on Github in a new window"
href="https://github.com/yocxo/studio/issues/new/choose"
aria-label="Contact yocxo.com support on Github in a new window"
target="_blank"
rel="noopener noreferrer"
className={cn(
Expand Down
2 changes: 1 addition & 1 deletion apps/coco/src/app/opengraph-image.alt.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Loading screen animation with pulsing text that spells out "Loading..." with the sambi.dev logo (a silohuette of a French Bulldog and lower case text) in the top left
Loading screen animation with pulsing text that spells out "Loading..." with the yocxo.com logo (a silohuette of a French Bulldog and lower case text) in the top left
2 changes: 1 addition & 1 deletion apps/coco/src/app/share/[id]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export async function generateMetadata({
}: SharePageProps): Promise<Metadata> {
const chat = await getSharedChat(params.id);
const title =
chat?.title.slice(0, 50) ?? 'CocoGPT Chat powered by Vercel x sambi.dev';
chat?.title.slice(0, 50) ?? 'CocoGPT Chat powered by Vercel x yocxo.com';
const description = siteConfig.description;
const pageUrl = `${SITE_URL}/share/${params.id}`;

Expand Down
2 changes: 1 addition & 1 deletion apps/coco/src/app/twitter-image.alt.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Loading screen animation with pulsing text that spells out "Loading..." with the sambi.dev logo (a silohuette of a French Bulldog and lower case text) in the top left
Loading screen animation with pulsing text that spells out "Loading..." with the yocxo.com logo (a silohuette of a French Bulldog and lower case text) in the top left
12 changes: 6 additions & 6 deletions apps/coco/src/config/site.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,23 +29,23 @@ interface SiteConfig {
}

export const siteConfig: SiteConfig = {
name: 'By sambi.dev',
name: 'By yocxo.com',
description:
'cocoGPT is an experimental wrapper by sambi.dev. Powered by Vercel AI and forked from their Chat repo. We added a little something something of our own. 🍌🍌',
'cocoGPT is an experimental wrapper by yocxo.com. Powered by Vercel AI and forked from their Chat repo. We added a little something something of our own. 🍌🍌',
url: siteUrl,
image: {
url: `${siteUrl}/opengraph-image.gif`,
width: 1200,
height: 630,
alt: 'Loading screen animation with pulsing text that spells out "Loading..." with the sambi.dev logo (a silohuette of a French Bulldog and lower case text) in the top left.',
alt: 'Loading screen animation with pulsing text that spells out "Loading..." with the yocxo.com logo (a silohuette of a French Bulldog and lower case text) in the top left.',
},
links: {
facebook: 'https://www.facebook.com/rebekahradicellc',
github: 'https://github.com/sambi-dev/sambi',
github: 'https://github.com/yocxo/studio',
instagram: 'https://www.instagram.com/rebekahradice/',
linkedIn: 'https://www.linkedin.com/in/rebekahradice/',
twitter: 'https://twitter.com/sambi_dev',
upworkAgency: 'https://www.upwork.com/agencies/sambi/',
twitter: 'https://twitter.com/supyocxo',
upworkAgency: 'https://www.upwork.com/agencies/yocxo/',
upworkAmbreen: 'https://www.upwork.com/freelancers/breen',
upworkConsult:
'https://www.upwork.com/services/consultation/development-it-sam-1756271340353224704',
Expand Down
Loading

0 comments on commit 0cc403a

Please sign in to comment.