Skip to content

Open source file-system and knowledge based agent template. Build AI agents that stay up to date with your knowledge base

branding update

Hugo Richard28d876c612a5
diff --git a/README.md b/README.md
index 073a1ca..1a8668b 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,5 @@
+<img src="./assets/banner.jpg" width="100%" alt="Savoir banner" />
+
<p align="center">
<br>
<b>Savoir</b>
diff --git a/apps/chat/app/app.vue b/apps/chat/app/app.vue
index cd2e527..80396ec 100644
--- a/apps/chat/app/app.vue
+++ b/apps/chat/app/app.vue
@@ -29,8 +29,8 @@ useSeoMeta({
description: appConfig.app.description,
ogTitle: appConfig.app.name,
ogDescription: appConfig.app.description,
- ogImage: '/og-image.png',
- twitterImage: '/og-image.png',
+ ogImage: '/og.jpg',
+ twitterImage: '/og.jpg',
twitterCard: 'summary_large_image',
})
</script>
diff --git a/apps/chat/app/assets/css/main.css b/apps/chat/app/assets/css/main.css
index ce72b5e..2556593 100644
--- a/apps/chat/app/assets/css/main.css
+++ b/apps/chat/app/assets/css/main.css
@@ -6,17 +6,17 @@
--font-mono: 'Geist Mono', monospace;
--font-pixel: 'Geist Pixel Line', monospace;
- --color-primary-50: #E6EBFA;
- --color-primary-100: #C2CDF3;
- --color-primary-200: #99ABEA;
- --color-primary-300: #6B85E0;
- --color-primary-400: #1444d4;
- --color-primary-500: #0035D0;
- --color-primary-600: #002EB8;
- --color-primary-700: #00259E;
- --color-primary-800: #001D85;
- --color-primary-900: #00155C;
- --color-primary-950: #000D3D;
+ --color-primary-50: #EFFDF5;
+ --color-primary-100: #D9FBE8;
+ --color-primary-200: #B3F5D1;
+ --color-primary-300: #75EDAE;
+ --color-primary-400: #00DC82;
+ --color-primary-500: #00C16A;
+ --color-primary-600: #00A155;
+ --color-primary-700: #007F45;
+ --color-primary-800: #016538;
+ --color-primary-900: #0A5331;
+ --color-primary-950: #052E16;
}
:root {
@@ -35,7 +35,6 @@ html {
animation: none;
}
-/* Discreet scrollbars */
* {
scrollbar-width: thin;
scrollbar-color: oklch(25% 0 0 / 0.5) transparent;
@@ -59,15 +58,12 @@ html {
background: oklch(35% 0 0 / 0.6);
}
-/* Linear-inspired darker theme — shift dark mode one step deeper */
.dark {
- /* Backgrounds: shell is near-black, surfaces step up visibly */
--ui-bg: oklch(14.5% 0 0); /* neutral-950 (was neutral-900) */
--ui-bg-muted: oklch(17.5% 0 0); /* between 950/900 */
--ui-bg-elevated: oklch(20.5% 0 0); /* neutral-900 (was neutral-800) */
--ui-bg-accented: oklch(26.9% 0 0); /* neutral-800 (was neutral-700) */
- /* Borders: slightly brighter to stay visible on darker surfaces */
--ui-border: oklch(26.9% 0 0); /* neutral-800 (was neutral-800, now more visible) */
--ui-border-muted: oklch(23% 0 0); /* between 900/800 */
--ui-border-accented: oklch(30% 0 0); /* between 800/700 */
diff --git a/apps/chat/app/assets/icons/custom/savoir.svg b/apps/chat/app/assets/icons/custom/savoir.svg
index 69b72a1..e0f08bd 100644
--- a/apps/chat/app/assets/icons/custom/savoir.svg
+++ b/apps/chat/app/assets/icons/custom/savoir.svg
@@ -1,8 +1,53 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" aria-hidden="true" id="reading">
- <title>savoir</title>
- <g fill="currentColor">
- <circle cx="9" cy="3.75" r="2.75" stroke-width="0"></circle>
- <path d="m8.25,8.4724l-3.9668-1.2693c-.5376-.1699-1.1079-.0791-1.5649.2529-.4565.3335-.7183.8486-.7183,1.4141v4.6499c0,.7637.4888,1.4336,1.2168,1.667l5.0332,1.6104v-8.325Z" stroke-width="0"></path>
- <path d="m15.2817,7.4561c-.4561-.332-1.0273-.4248-1.5649-.2529l-3.9668,1.2693v8.325l5.0337-1.6104c.7275-.2334,1.2163-.9033,1.2163-1.667v-4.6499c0-.5654-.2617-1.0806-.7183-1.4141Z" stroke-width="0"></path>
- </g>
-</svg>
\ No newline at end of file
+<svg width="824" height="824" viewBox="0 0 824 824" fill="none" xmlns="http://www.w3.org/2000/svg">
+<g filter="url(#filter0_ii_610_841)">
+<rect width="824" height="824" rx="186.5" fill="url(#paint0_radial_610_841)"/>
+</g>
+<rect x="2.5" y="2.5" width="819" height="819" rx="184" stroke="url(#paint1_linear_610_841)" stroke-width="5"/>
+<g filter="url(#filter1_di_610_841)">
+<path d="M411.5 312.886C466.936 312.886 511.875 267.916 511.875 212.443C511.875 156.97 466.936 112 411.5 112C356.064 112 311.125 156.97 311.125 212.443C311.125 267.916 356.064 312.886 411.5 312.886Z" fill="black"/>
+<path d="M384.125 384.928L239.337 338.567C219.714 332.361 198.898 335.678 182.218 347.804C165.556 359.985 156 378.799 156 399.454V569.29C156 597.184 173.841 621.652 200.413 630.177L384.125 688.996V384.928Z" fill="black"/>
+<path d="M640.782 347.808C624.134 335.681 603.286 332.292 583.663 338.57L438.875 384.931V689L622.605 630.18C649.159 621.656 667 597.188 667 569.294V399.457C667 378.806 657.448 359.989 640.782 347.808Z" fill="black"/>
+</g>
+<defs>
+<filter id="filter0_ii_610_841" x="0" y="-3.00455" width="824" height="828.924" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
+<feFlood flood-opacity="0" result="BackgroundImageFix"/>
+<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
+<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
+<feOffset dy="4.7998"/>
+<feGaussianBlur stdDeviation="0.959961"/>
+<feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>
+<feColorMatrix type="matrix" values="0 0 0 0 0.309804 0 0 0 0 0.313726 0 0 0 0 0.32549 0 0 0 1 0"/>
+<feBlend mode="normal" in2="shape" result="effect1_innerShadow_610_841"/>
+<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
+<feOffset dy="-3.00455"/>
+<feGaussianBlur stdDeviation="2.00304"/>
+<feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>
+<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/>
+<feBlend mode="normal" in2="effect1_innerShadow_610_841" result="effect2_innerShadow_610_841"/>
+</filter>
+<filter id="filter1_di_610_841" x="150" y="111" width="523" height="589" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
+<feFlood flood-opacity="0" result="BackgroundImageFix"/>
+<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
+<feOffset dy="5"/>
+<feGaussianBlur stdDeviation="3"/>
+<feComposite in2="hardAlpha" operator="out"/>
+<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0.986272 0 0 0 0 0.582797 0 0 0 1 0"/>
+<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_610_841"/>
+<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_610_841" result="shape"/>
+<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
+<feOffset dy="1"/>
+<feGaussianBlur stdDeviation="8.45"/>
+<feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>
+<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0.932749 0 0 0 0 0.55117 0 0 0 1 0"/>
+<feBlend mode="normal" in2="shape" result="effect2_innerShadow_610_841"/>
+</filter>
+<radialGradient id="paint0_radial_610_841" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(412 -2.6028) rotate(90) scale(829.207)">
+<stop stop-color="#00DC82"/>
+<stop offset="1" stop-color="#009458"/>
+</radialGradient>
+<linearGradient id="paint1_linear_610_841" x1="537.459" y1="1.59185e-05" x2="314.421" y2="824" gradientUnits="userSpaceOnUse">
+<stop offset="0.010423" stop-color="#00DC82"/>
+<stop offset="1" stop-color="#006F42"/>
+</linearGradient>
+</defs>
+</svg>
diff --git a/apps/chat/app/layouts/default.vue b/apps/chat/app/layouts/default.vue
index fb66696..a26336e 100644
--- a/apps/chat/app/layouts/default.vue
+++ b/apps/chat/app/layouts/default.vue
@@ -224,10 +224,10 @@ defineShortcuts({
<NuxtLink
to="/"
- class="block rounded-md p-px bg-linear-to-b from-[#e0dfe3] to-[#d8d7dc] dark:from-[#353539] dark:to-[#2a2a2e] shadow-[0_1px_2px_rgba(0,0,0,0.04)] dark:shadow-[0_1px_2px_rgba(0,0,0,0.3)] hover:brightness-110 active:scale-[0.98] transition-[filter,transform] duration-150"
+ class="block rounded-md p-px bg-linear-to-br from-[#e0dfe3] to-[#d8d7dc] dark:from-[#424242] dark:to-[#1b1b1c] shadow-[0_1px_2px_rgba(0,0,0,0.04)] dark:shadow-[0_1px_2px_rgba(0,0,0,0.3)] hover:brightness-110 active:scale-[0.98] transition-[filter,transform] duration-150"
@click="open = false"
>
- <div class="flex items-center gap-1.5 rounded-[calc(var(--radius-md)-1px)] px-2.5 py-1.5 text-sm text-highlighted bg-linear-to-b from-[#f8f7fa] to-[#f2f1f5] dark:from-[#222226] dark:to-[#1f1f23]">
+ <div class="flex items-center gap-1.5 rounded-[calc(var(--radius-md)-1px)] px-2 py-1 text-sm text-highlighted bg-linear-to-b from-[#f8f7fa] to-[#f2f1f5] dark:from-[#222226] dark:to-[#1f1f23]">
<UIcon name="i-lucide-plus" class="size-3.5 shrink-0 text-muted" />
New chat
</div>
diff --git a/apps/chat/app/pages/admin/sandbox.vue b/apps/chat/app/pages/admin/sandbox.vue
index 6ff94be..daf619b 100644
--- a/apps/chat/app/pages/admin/sandbox.vue
+++ b/apps/chat/app/pages/admin/sandbox.vue
@@ -20,7 +20,7 @@ const {
const { data: snapshotConfig, refresh: refreshSnapshotConfig } = useLazyFetch('/api/snapshot/config')
const { fetchRepos } = useGitHub()
-const { data: repoCatalog, status: repoCatalogStatus } = await fetchRepos()
+const { data: repoCatalog, status: repoCatalogStatus } = fetchRepos({ lazy: true })
const snapshotRepoInput = ref('')
const snapshotBranchInput = ref('main')
@@ -209,26 +209,29 @@ watch(selectedSuggestion, (value) => {
Choose one from your accessible repositories, or type a new name above and Savoir will create it automatically.
</p>
- <p
- v-if="repositoryOptions.length > 0"
- class="text-xs text-muted mb-2"
- >
- {{ repositoryOptions.length }} repositories available
- </p>
+ <template v-if="repoCatalogStatus === 'pending'">
+ <USkeleton class="h-4 w-40 mb-2" />
+ <USkeleton class="h-9 w-full rounded-md" />
+ </template>
- <USelectMenu
- v-if="repositoryOptions.length > 0"
- v-model="selectedSuggestion"
- value-key="value"
- :items="repositoryOptions"
- :search-input="{ placeholder: 'Search repositories...' }"
- :virtualize="{ overscan: 16, estimateSize: 36 }"
- placeholder="Select a repository..."
- icon="i-simple-icons-github"
- />
+ <template v-else-if="repositoryOptions.length > 0">
+ <p class="text-xs text-muted mb-2">
+ {{ repositoryOptions.length }} repositories available
+ </p>
+
+ <USelectMenu
+ v-model="selectedSuggestion"
+ value-key="value"
+ :items="repositoryOptions"
+ :search-input="{ placeholder: 'Search repositories...' }"
+ :virtualize="{ overscan: 16, estimateSize: 36 }"
+ placeholder="Select a repository..."
+ icon="i-simple-icons-github"
+ />
+ </template>
<div
- v-else-if="repoCatalogStatus !== 'pending' && repoCatalogStatus !== 'idle'"
+ v-else-if="repoCatalogStatus !== 'idle'"
class="text-xs text-muted rounded-md border border-default bg-default px-3 py-2"
>
No repositories found with current GitHub credentials. You can still type a new `owner/repo` and save.
diff --git a/apps/chat/app/pages/chat/[id].vue b/apps/chat/app/pages/chat/[id].vue
index eb2ffc1..7aef713 100644
--- a/apps/chat/app/pages/chat/[id].vue
+++ b/apps/chat/app/pages/chat/[id].vue
@@ -440,7 +440,6 @@ watch(() => chat.status, (newStatus, oldStatus) => {
<UChatPromptSubmit
:status="chat.status"
:disabled="isUploading"
- color="neutral"
size="sm"
@stop="chat.stop()"
@reload="chat.regenerate()"
diff --git a/apps/chat/app/pages/index.vue b/apps/chat/app/pages/index.vue
index a885cf9..8b52bab 100644
--- a/apps/chat/app/pages/index.vue
+++ b/apps/chat/app/pages/index.vue
@@ -153,7 +153,7 @@ const quickChats = computed(() => mode.value === 'admin' ? adminQuickChats : cha
<ModelSelect v-model="model" />
</div>
- <UChatPromptSubmit color="neutral" size="sm" :disabled="isUploading" />
+ <UChatPromptSubmit size="sm" :disabled="isUploading" />
</template>
</UChatPrompt>
@@ -166,7 +166,6 @@ const quickChats = computed(() => mode.value === 'admin' ? adminQuickChats : cha
size="sm"
color="neutral"
variant="outline"
- class="rounded-full justify-start"
@click="createChat(quickChat.label)"
/>
</div>
diff --git a/apps/chat/app/pages/login.vue b/apps/chat/app/pages/login.vue
index 1b48089..3244280 100644
--- a/apps/chat/app/pages/login.vue
+++ b/apps/chat/app/pages/login.vue
@@ -28,8 +28,8 @@ function primary(shade: number) {
onMounted(() => {
Object.assign(shaderColors, {
- swirlA: primary(800),
- swirlB: primary(400),
+ swirlA: primary(700),
+ swirlB: primary(500),
circle: primary(100),
dots: primary(300),
rays: primary(500),
diff --git a/apps/chat/public/favicon.ico b/apps/chat/public/favicon.ico
index 18993ad..215bc62 100644
Binary files a/apps/chat/public/favicon.ico and b/apps/chat/public/favicon.ico differ
diff --git a/apps/chat/public/og.jpg b/apps/chat/public/og.jpg
new file mode 100644
index 0000000..9ae4a72
Binary files /dev/null and b/apps/chat/public/og.jpg differ
diff --git a/assets/banner.jpg b/assets/banner.jpg
new file mode 100644
index 0000000..a508212
Binary files /dev/null and b/assets/banner.jpg differ
diff --git a/packages/github/composables/useGitHub.ts b/packages/github/composables/useGitHub.ts
index 19a3307..2f5514f 100644
--- a/packages/github/composables/useGitHub.ts
+++ b/packages/github/composables/useGitHub.ts
@@ -6,9 +6,10 @@ interface ReposResponse {
}
export function useGitHub() {
- const fetchRepos = (options: { force?: boolean } = {}) => {
+ const fetchRepos = (options: { force?: boolean, lazy?: boolean } = {}) => {
return useFetch<ReposResponse>('/api/github/repos', {
query: { force: options.force },
+ lazy: options.lazy,
})
}