Skip to content

Commit

Permalink
cobalt
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorgoolsby committed Mar 5, 2024
1 parent fa78b1a commit 6b84c3e
Show file tree
Hide file tree
Showing 17 changed files with 43 additions and 43 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "chatbro",
"name": "cobalt",
"private": true,
"version": "1.0.0",
"main": "index.js",
Expand All @@ -14,8 +14,8 @@
"mysql": "rebuild --watch src --output build --transform 'src/*/{!(node_modules),node_modules/common}/**/*.{js,mjs}' --using scripts/transformer.js --fork build/mysql/src/localStart.js -k 3306",
"clean-sql": "node src/mysql/src/localClean.js",
"build": "npm run build-web && rebuild -w src --output build --transform 'src/*/{!(node_modules),node_modules/common}/**/*.{js,mjs}' --using scripts/transformer.js && rm -rf artifact && mkdir artifact && cp -r build/backend artifact/backend && rm -rf build/common/secrets && cp -r build/common artifact/common && cp -r build/web/dist artifact/backend/src/dist && cp prod.package.json artifact/package.json && cp -r .platform artifact/.platform && node scripts/link-common.js && npm run install-artifact && node scripts/zip.js",
"create-eb": "eb create chatbro-prod-backend --sample --profile multiagent --instance-type t4g.micro --min-instance=1 --max-instances=1 --envvars $(node scripts/printEnvString.js)",
"deploy-eb": "npm run build && eb deploy chatbro-prod-backend --profile multiagent",
"create-eb": "eb create cobalt-prod-backend --sample --profile multiagent --instance-type t4g.micro --min-instance=1 --max-instances=1 --envvars $(node scripts/printEnvString.js)",
"deploy-eb": "npm run build && eb deploy cobalt-prod-backend --profile multiagent",
"deploy-cdk": "cdk bootstrap --profile multiagent && cdk deploy --profile multiagent",
"build-web": "cd src/web && yarn build",
"build-web-local": "cd src/web && yarn build-local",
Expand Down
2 changes: 1 addition & 1 deletion prod.package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "chatbro.online",
"name": "cobalt.online",
"private": true,
"version": "0.0.0",
"main": "index.js",
Expand Down
2 changes: 1 addition & 1 deletion src/backend/src/email/components/StandardLayout.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const StandardLayout: AbstractComponent<Props, any> = (props: Props) => {
border-radius="4px"
width="34px"
height="34px"
src="https://chatbro-public-assets.s3.us-east-2.amazonaws.com/a-g-square.png"
src="https://cobalt-public-assets.s3.us-east-2.amazonaws.com/a-g-square.png"
href={Config.webHost}
/>
</MjmlColumn>
Expand Down
2 changes: 1 addition & 1 deletion src/backend/src/rest/MailgunRest.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ async function send(to: Array<string>, subject: string, html: string) {
Buffer.from(`api:${Config.mailgunKey}`, 'utf-8').toString('base64'),
}
const url = `https://api.mailgun.net/v3/${Config.mailgunDomain}/messages`
const from = `chatbro.online <${Config.emailFromAddress}>`
const from = `cobalt.online <${Config.emailFromAddress}>`

let envTag = ''
if (!Config.isProd) {
Expand Down
2 changes: 1 addition & 1 deletion src/backend/src/rest/PostmarkRest.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ async function send(to: Array<string>, subject: string, html: string) {
const headers = {
'X-Postmark-Server-Token': Config.postmarkKey,
}
const from = `chatbro.online <${Config.emailFromAddress}>`
const from = `cobalt.online <${Config.emailFromAddress}>`

let envTag = ''
if (!Config.isProd) {
Expand Down
2 changes: 1 addition & 1 deletion src/backend/src/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ handleAuthentication(app, {
// This will need to be changed by still passing the caller's userId,
// but the openai key is retrieved from the organization level.
// Ownership can still be done from userId.
// chatbro keys are then assigned to users in order to get a
// cobalt keys are then assigned to users in order to get a
// userId from the key.
// This is similar to how in AWS, a bot user is created with
// programmatic access credentials.
Expand Down
4 changes: 2 additions & 2 deletions src/common/src/Config.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ const backendHost = isLocal
? `http://localhost:${port}`
: nonMaybe(WEB_BACKEND_HOST)

const dbDatabase = isLocal ? 'local_chatbro' : nonMaybe(DB_DATABASE)
const dbDatabase = isLocal ? 'local_cobalt' : nonMaybe(DB_DATABASE)
console.log('dbDatabase', dbDatabase)

const oauthGithubClientId = OAUTH_GITHUB_CLIENT_ID
Expand All @@ -114,7 +114,7 @@ delete cdkEnvironment['AWS_PROFILE']
const awsResourceBaseName: string = nonMaybe(AWS_RESOURCE_BASE_NAME)

class Config {
static appName: string = 'chatbro'
static appName: string = 'cobalt'
static cdkEnvironment: { [string]: any } = cdkEnvironment
static version: string = nonMaybe(version)
static stage: string = stage
Expand Down
2 changes: 1 addition & 1 deletion src/web/next-sitemap.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
siteUrl: 'https://chatbro.online',
siteUrl: 'https://cobalt.online',
generateRobotsTxt: true,
generateIndexSitemap: false,
}
2 changes: 1 addition & 1 deletion src/web/src/Config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ export default class Config {
static devAssetsBucket: string =
'https://s3.us-east-2.amazonaws.com/todo-dev-assets'

static siteName: string = 'chatbro'
static siteName: string = 'cobalt'
}
2 changes: 1 addition & 1 deletion src/web/src/components/Contact.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const encrypted =
// $FlowFixMe
// import(/* webpackIgnore: true */ 'https://esm.sh/occulto@2.0.1').then(
// async ({ AES }: any): any => {
// const message = 'mailto:contact@chatbro.online'
// const message = 'mailto:contact@cobalt.online'
// const encrypted = await AES.encryptEasy(message, un)
// console.log("encrypted", encrypted)
// }
Expand Down
2 changes: 1 addition & 1 deletion src/web/src/components/CookieBanner.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ const CookieBanner: any = observer((): any => {
<View className={styles.container}>
<Text className="title">{'Your Privacy'}</Text>
<Text className="description">
By clicking "Allow all cookies", you agree chatbro.online can store
By clicking "Allow all cookies", you agree cobalt.online can store
cookies on your device and disclose information in accordance with our{' '}
<Link href={'/cookie'}>Cookie Policy</Link>.
</Text>
Expand Down
16 changes: 8 additions & 8 deletions src/web/src/dpages/Cookie.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Effective date: 12/6/2023
1. ## [Introduction](#introduction)
At chatbro.online, we believe in being clear and open about how we collect and use data related to you. This policy provides detailed information about how and when we use cookies. By accessing and using our website and services, you indicate that you understand and agree to this policy.
At cobalt.online, we believe in being clear and open about how we collect and use data related to you. This policy provides detailed information about how and when we use cookies. By accessing and using our website and services, you indicate that you understand and agree to this policy.
2. ## [What are Cookies?](#what-are-cookies)
Expand Down Expand Up @@ -113,35 +113,35 @@ Effective date: 12/6/2023
6. ## [Changing Your Cookie Preferences](#changing-your-cookie-preferences)
If you wish to change your cookie preferences on chatbro.online, you can do so by deleting the site's local storage data in your browser. This will prompt the cookie settings banner to reappear, allowing you to modify your settings upon reloading the website. Follow these steps to delete the local storage:
If you wish to change your cookie preferences on cobalt.online, you can do so by deleting the site's local storage data in your browser. This will prompt the cookie settings banner to reappear, allowing you to modify your settings upon reloading the website. Follow these steps to delete the local storage:
1. **Google Chrome**:
- Click on the three dots in the top right corner and select 'Settings'.
- Go to 'Privacy and security' and click on 'Third-party cookies'.
- Find 'See all site data and permissions' and search for 'chatbro.online'.
- Find 'See all site data and permissions' and search for 'cobalt.online'.
- Click on the 'Remove' button next to the site's local storage data.
2. **Mozilla Firefox**:
- Click on the three lines in the top right corner and select 'Settings'.
- Go to 'Privacy & Security' and scroll down to 'Cookies and Site Data'.
- Click on 'Manage Data', find 'chatbro.online', and click 'Remove Selected'.
- Click on 'Manage Data', find 'cobalt.online', and click 'Remove Selected'.
3. **Safari (Mac)**:
- Go to 'Safari' in the menu bar and select 'Settings'.
- Choose the 'Privacy' tab and click on 'Manage Website Data'.
- Find 'chatbro.online' in the list and click 'Remove'.
- Find 'cobalt.online' in the list and click 'Remove'.
4. **Microsoft Edge**:
- Click on the three dots in the top right corner and select 'Settings'.
- Choose 'Cookies and site permissions' and then 'Manage and delete cookies and site data'.
- Click on 'See all cookies and site data'.
- Search for 'chatbro.online' and delete the local storage data.
- Search for 'cobalt.online' and delete the local storage data.
**Please Note**: The steps may vary slightly depending on your browser version and any updates. Check your browser's help section for the most accurate instructions.
After deleting the local storage for chatbro.online, reload the website. The cookie settings banner will reappear, allowing you to adjust your cookie preferences as desired.
After deleting the local storage for cobalt.online, reload the website. The cookie settings banner will reappear, allowing you to adjust your cookie preferences as desired.
7. ## [Third-Party Cookies in Use on chatbro.online](#third-party-cookies-in-use-on-chatbro)
7. ## [Third-Party Cookies in Use on cobalt.online](#third-party-cookies-in-use-on-cobalt)
We utilize third-party services for analytics and functionality enhancements on our website. Below is a simplified table detailing the third-party cookies we use:
Expand Down
12 changes: 6 additions & 6 deletions src/web/src/dpages/Privacy.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,19 +69,19 @@ Effective date: 12/6/2023
1. <a id="introduction" href="#introduction">Introduction</a>
Welcome to **chatbro.online**.
Welcome to **cobalt.online**.
Taylor Goolsby (“**us**”, “**we**”, or “**our**”) operates [chatbro.online](https://chatbro.online) (hereinafter referred together as “**Services**”, individually “**Service**”).
Taylor Goolsby (“**us**”, “**we**”, or “**our**”) operates [cobalt.online](https://cobalt.online) (hereinafter referred together as “**Services**”, individually “**Service**”).
Our Privacy Policy governs your visit to chatbro.online, and explains how we collect, safeguard and disclose information that results from your use of our Services.
Our Privacy Policy governs your visit to cobalt.online, and explains how we collect, safeguard and disclose information that results from your use of our Services.
We use your data to provide and improve our Services. By using our Services, you agree to the collection and use of information in accordance with this policy. Unless otherwise defined in this Privacy Policy, the terms used in this Privacy Policy have the same meanings as in our Terms and Conditions.
Our Terms and Conditions (“**Terms**”) govern all use of our Services and together with the Privacy Policy constitutes your agreement with us (“**Agreement**”).
2. <a id="definitions" href="#definitions">Definitions</a>
**SERVICES** means the chatbro.online website operated by Taylor Goolsby.
**SERVICES** means the cobalt.online website operated by Taylor Goolsby.
**PERSONAL DATA** means data about a living individual who can be identified from those data (or from those and other information either in our possession or likely to come into our possession).
Expand Down Expand Up @@ -339,7 +339,7 @@ Effective date: 12/6/2023
By email: <Contact/>
<!-- By visiting this page on our website: [chatbro.online/contact](https://chatbro.online/contact)-->
<!-- By visiting this page on our website: [cobalt.online/contact](https://cobalt.online/contact)-->
Your data protection rights, described above, are covered by the CCPA, short for the California Consumer Privacy Act. To find out more, visit the official [California Legislative Information](https://leginfo.legislature.ca.gov/faces/billTextClient.xhtml?bill_id=201720180AB375) website. The CCPA took effect on 01/01/2020.
Expand Down Expand Up @@ -728,7 +728,7 @@ Effective date: 12/6/2023
<br/>
By email: <Contact/>.
<br/>
<!-- By visiting this page on our website: [chatbro.online/contact](https://chatbro.online/contact).-->
<!-- By visiting this page on our website: [cobalt.online/contact](https://cobalt.online/contact).-->
`.trim()

const Privacy = (): any => {
Expand Down
14 changes: 7 additions & 7 deletions src/web/src/dpages/Terms.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,11 @@ Effective date: 12/6/2023
1. <a id="introduction" href="#introduction">Introduction</a>
Welcome to **chatbro.online** (“**Company**”, “**we**”, “**our**”, “**us**”)! As you have just clicked our Terms of Service, please pause, grab a cup of coffee and carefully read the following pages. It will take you approximately 20 minutes.
Welcome to **cobalt.online** (“**Company**”, “**we**”, “**our**”, “**us**”)! As you have just clicked our Terms of Service, please pause, grab a cup of coffee and carefully read the following pages. It will take you approximately 20 minutes.
These Terms of Service (“**Terms**”, “**Terms of Service**”) govern your use of our web pages located at [chatbro.online](https://chatbro.online) (“**Service**”) and operated by Taylor Goolsby.
These Terms of Service (“**Terms**”, “**Terms of Service**”) govern your use of our web pages located at [cobalt.online](https://cobalt.online) (“**Service**”) and operated by Taylor Goolsby.
Our Privacy Policy also governs your use of our Services and explains how we collect, safeguard and disclose information that results from your use of our web pages. Please read it here [chatbro.online/privacy](https://chatbro.online/privacy).
Our Privacy Policy also governs your use of our Services and explains how we collect, safeguard and disclose information that results from your use of our web pages. Please read it here [cobalt.online/privacy](https://cobalt.online/privacy).
Your agreement with us includes these Terms and our Privacy Policy (“**Agreements**”). You acknowledge that you have read and understood Agreements, and agree to be bound of them.
Expand Down Expand Up @@ -129,7 +129,7 @@ Effective date: 12/6/2023
8. <a id="fee-changes" href="#fee-changes">Fee Changes</a>
chatbro.online, in its sole discretion and at any time, may modify Subscription fees for the Subscriptions. Any Subscription fee change will become effective at the end of the then-current Billing Cycle.
cobalt.online, in its sole discretion and at any time, may modify Subscription fees for the Subscriptions. Any Subscription fee change will become effective at the end of the then-current Billing Cycle.
We will provide you with a reasonable prior notice of any change in Subscription fees to give you an opportunity to terminate your Subscription before such change becomes effective.
Expand All @@ -147,9 +147,9 @@ Effective date: 12/6/2023
You retain any and all of your rights to any Content you submit, post or display on or through our Services and you are responsible for protecting those rights. We take no responsibility and assume no liability for Content you or any third party posts on or through our Services. However, by posting Content using our Services you grant us the right and license to use, modify, publicly perform, publicly display, reproduce, and distribute such Content on and through our Services. You agree that this license includes the right for us to make your Content available to other users of our Services, who may also use your Content subject to these Terms.
chatbro.online has the right but not the obligation to monitor and edit all Content provided by users.
cobalt.online has the right but not the obligation to monitor and edit all Content provided by users.
In addition, Content found on or through these Services are the property of chatbro.online or used with permission. You may not distribute, modify, transmit, reuse, download, repost, copy, or use said Content, whether in whole or in part, for commercial purposes or for personal gain, without express advance written permission from us.
In addition, Content found on or through these Services are the property of cobalt.online or used with permission. You may not distribute, modify, transmit, reuse, download, repost, copy, or use said Content, whether in whole or in part, for commercial purposes or for personal gain, without express advance written permission from us.
11. <a id="prohibited-uses" href="#prohibited-uses">Prohibited Uses</a>
Expand Down Expand Up @@ -456,7 +456,7 @@ Effective date: 12/6/2023
<br/>
By email: <Contact/>.
<br/>
<!-- By visiting this page on our website: [chatbro.online/contact](https://chatbro.online/contact).-->
<!-- By visiting this page on our website: [cobalt.online/contact](https://cobalt.online/contact).-->
`.trim()

const Terms = (): any => {
Expand Down
2 changes: 1 addition & 1 deletion src/web/src/modals/CookieModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ const CookieModalContents = observer((props: CookieModalContentsProps): any => {
return (
<View className={styles.contents}>
<Text className="preface">
When you visit chatbro.online, we may use cookies and similar
When you visit cobalt.online, we may use cookies and similar
technologies to collect information about your browsing experience and
preferences. This helps us provide you with a more personalized service
and improve our website. Here, you can customize your cookie
Expand Down
2 changes: 1 addition & 1 deletion src/web/src/pages/_app.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ const App = ({ Component, pageProps }: any): any => {
<>
<Head>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>chatbro</title>
<title>cobalt</title>
</Head>
<GlobalStyles />
{body}
Expand Down
12 changes: 6 additions & 6 deletions src/web/src/pages/_document.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,22 @@ export default class Document extends NextDocument {
<Html lang="en">
<Head>
<meta charSet="UTF-8" />
<meta property="og:title" content="chatbro" />
<meta property="og:title" content="cobalt" />
{/*<meta property="og:type" content="website" />*/}
{/*<meta property="og:url" content="https://chatbro.online" />*/}
{/*<meta property="og:url" content="https://cobalt.online" />*/}
{/*<meta*/}
{/* property="og:image"*/}
{/* content="https://chatbro-public-assets.s3.us-east-2.amazonaws.com/chatbro.png"*/}
{/* content="https://cobalt-public-assets.s3.us-east-2.amazonaws.com/cobalt.png"*/}
{/*/>*/}
{/*<meta property="og:description" content="A UI for multiagent AI" />*/}
{/*<meta name="twitter:card" content="summary_large_image" />*/}
{/*<meta name="twitter:site" content="@chatbro" />*/}
{/*<meta name="twitter:site" content="@cobalt" />*/}
{/*<meta name="twitter:creator" content="@tay2win" />*/}
{/*<meta name="twitter:title" content="chatbro.online" />*/}
{/*<meta name="twitter:title" content="cobalt.online" />*/}
{/*<meta name="twitter:description" content="A UI for multiagent AI" />*/}
{/*<meta*/}
{/* name="twitter:image"*/}
{/* content="https://chatbro-public-assets.s3.us-east-2.amazonaws.com/chatbro.png"*/}
{/* content="https://cobalt-public-assets.s3.us-east-2.amazonaws.com/cobalt.png"*/}
{/*/>*/}

{GoogleFonts()}
Expand Down

0 comments on commit 6b84c3e

Please sign in to comment.