nandi/gleanpublic Fork 0
0df9e53
Commits
Clone
git clone https://git.rickub.com/nandi/glean.git
git clone ssh://git@rickub.com/nandi/glean.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

refactor: use squared logoUnverified

Julien Robert committed 2026-07-02T21:48:09+02:00 Browse files
0df9e53 parent: bfb38a3
modified Makefile +4 -2
@@ -22,8 +22,9 @@ web-install:
2222 .PHONY: dev
2323 dev:
2424 @if [ -f .env ]; then set -a; . ./.env; set +a; fi; \
25+ GLEAN_FRONTEND_URL="$${GLEAN_FRONTEND_URL:-http://localhost:3000}"; \
2526 echo "Starting Go API on :8080 and SvelteKit on :3000 (Ctrl-C stops both)..."; \
26- GLEAN_API_URL=http://localhost:8080 go run -tags fts5 . & \
27+ GLEAN_API_URL=http://localhost:8080 GLEAN_FRONTEND_URL=$$GLEAN_FRONTEND_URL go run -tags fts5 . & \
2728 GO_PID=$$!; \
2829 trap 'kill $$GO_PID 2>/dev/null' INT TERM EXIT; \
2930 (cd web && GLEAN_API_URL=http://localhost:8080 bun run dev); \
@@ -31,7 +32,8 @@ dev:
3132
3233 .PHONY: dev-api
3334 dev-api:
34- @if [ -f .env ]; then set -a; . ./.env; set +a; fi && go run -tags fts5 .
35+ @if [ -f .env ]; then set -a; . ./.env; set +a; fi; \
36+ GLEAN_FRONTEND_URL="$${GLEAN_FRONTEND_URL:-http://localhost:3000}" go run -tags fts5 .
3537
3638 .PHONY: dev-web
3739 dev-web:
@@ -22,8 +22,9 @@ web-install:
22 .PHONY: dev22 .PHONY: dev
23 dev:23 dev:
24 @if [ -f .env ]; then set -a; . ./.env; set +a; fi; \24 @if [ -f .env ]; then set -a; . ./.env; set +a; fi; \
25+ GLEAN_FRONTEND_URL="$${GLEAN_FRONTEND_URL:-http://localhost:3000}"; \
25 echo "Starting Go API on :8080 and SvelteKit on :3000 (Ctrl-C stops both)..."; \26 echo "Starting Go API on :8080 and SvelteKit on :3000 (Ctrl-C stops both)..."; \
26- GLEAN_API_URL=http://localhost:8080 go run -tags fts5 . & \27+ GLEAN_API_URL=http://localhost:8080 GLEAN_FRONTEND_URL=$$GLEAN_FRONTEND_URL go run -tags fts5 . & \
27 GO_PID=$$!; \28 GO_PID=$$!; \
28 trap 'kill $$GO_PID 2>/dev/null' INT TERM EXIT; \29 trap 'kill $$GO_PID 2>/dev/null' INT TERM EXIT; \
29 (cd web && GLEAN_API_URL=http://localhost:8080 bun run dev); \30 (cd web && GLEAN_API_URL=http://localhost:8080 bun run dev); \
@@ -31,7 +32,8 @@ dev:
31 32
32 .PHONY: dev-api33 .PHONY: dev-api
33 dev-api:34 dev-api:
34- @if [ -f .env ]; then set -a; . ./.env; set +a; fi && go run -tags fts5 .35+ @if [ -f .env ]; then set -a; . ./.env; set +a; fi; \
36+ GLEAN_FRONTEND_URL="$${GLEAN_FRONTEND_URL:-http://localhost:3000}" go run -tags fts5 .
35 37
36 .PHONY: dev-web38 .PHONY: dev-web
37 dev-web:39 dev-web:
modified web/src/lib/components/Logo.svelte +5 -1
@@ -12,6 +12,10 @@
1212 </script>
1313
1414 <a href="/" class="inline-flex items-center gap-2" aria-label="Glean home">
15- <img src="/favicon.svg" class={dims} alt="Glean" />
15+ <img
16+ src="/favicon.svg"
17+ class="{dims} border-2 border-[var(--border)]"
18+ alt="Glean"
19+ />
1620 <span class="{text} font-extrabold tracking-tight uppercase">Glean</span>
1721 </a>
@@ -12,6 +12,10 @@
12 </script>12 </script>
13 13
14 <a href="/" class="inline-flex items-center gap-2" aria-label="Glean home">14 <a href="/" class="inline-flex items-center gap-2" aria-label="Glean home">
15- <img src="/favicon.svg" class={dims} alt="Glean" />15+ <img
16+ src="/favicon.svg"
17+ class="{dims} border-2 border-[var(--border)]"
18+ alt="Glean"
19+ />
16 <span class="{text} font-extrabold tracking-tight uppercase">Glean</span>20 <span class="{text} font-extrabold tracking-tight uppercase">Glean</span>
17 </a>21 </a>
modified web/static/apple-touch-icon.png +0 -0
Binary files a/web/static/apple-touch-icon.png and b/web/static/apple-touch-icon.png differ
Binary files a/web/static/apple-touch-icon.png and b/web/static/apple-touch-icon.png differBinary files a/web/static/apple-touch-icon.png and b/web/static/apple-touch-icon.png differ
modified web/static/favicon.png +0 -0
Binary files a/web/static/favicon.png and b/web/static/favicon.png differ
Binary files a/web/static/favicon.png and b/web/static/favicon.png differBinary files a/web/static/favicon.png and b/web/static/favicon.png differ
modified web/static/favicon.svg +2 -2
@@ -11,7 +11,7 @@
1111 }
1212 </style>
1313 </defs>
14- <rect width="1000" height="1000" rx="230" fill="url(#bgGrad)"/>
14+ <rect width="1000" height="1000" fill="url(#bgGrad)"/>
1515 <g transform="translate(500,500) scale(0.78) translate(-500,-500)">
1616 <path class="st0" d="M765.28,310.49c-18.58-14.55-38.55-23.97-57.02-30.24-18.47-6.26-39.7-9.39-63.7-9.36-51.69.04-94.14,15.12-127.35,45.22-33.21,30.11-49.79,67.64-49.75,112.58.03,29.75,6.65,55.36,19.91,76.82,13.25,21.48,32.86,43.01,83.46,67.77l7.05,2.69c10.37,3.94,11.75,3.77,18.49,5.55,9.58,2.54,18.67,3.65,30.3,4.68,10.68.95,19.21,1.63,25.54.96,47.38-.04,87.36-15.94,119.96-47.69,32.58-31.76,48.86-69.11,48.83-112.08-.02-20.48-2.96-37.67-8.81-51.55-5.87-13.88-13.02-32.4-46.13-64.76M713.08,521.68c-17.22,22.49-39.98,33.75-68.28,33.77-28.93.03-52.02-11.19-69.26-33.65-17.26-22.45-25.89-53.84-25.93-94.17-.03-38.99,8.71-69.74,26.23-92.23,17.52-22.48,40.43-33.75,68.74-33.77,27.69-.02,50.32,11.36,67.88,34.15,17.56,22.79,26.35,53.02,26.39,90.7.04,40.99-8.56,72.73-25.76,95.21Z"/>
1717 <path class="st0" d="M745.61,236.83c10.96,11.22,15.35,21.18,13.18,29.89-3.43,13.72-16,26.69-37.69,38.89,1.96,1.88,3.94,3.74,5.94,5.58,3.03,2.79,6.08,5.76,9.04,8.88,37.1-22,59.43-48.06,66.94-78.16,4.35-17.42,3.29-32.04-3.17-43.87-6.47-11.83-14.98-19.07-25.55-21.7-22.5-5.62-36.47,2.46-41.91,24.23-2.99,11.97,1.41,24.06,13.22,36.26Z"/>
@@ -21,4 +21,4 @@
2121 <path class="st0" d="M319.55,520.94c-70.88-25.86-115.11-98.33-123.15-171.89C176.1,173.51,332.7,1.68,511.27,19.03c54.21,5.33,109.33,31.01,140.12,76.84-7.32-3.77-14.86-7.66-22.41-10.79-2.87-1.09-7.19-2.91-9.95-3.99-2.44-.78-4.81-1.65-7.21-2.46-81.96-27.87-173.83-4.03-240.31,48.53-31.32,24.77-57.84,55.77-77.51,90.51-38.23,66.26-51.7,148.13-25.15,221.35,9.16,26.14,24.5,51.17,42.42,72.55,2.07,2.17,6.28,7.1,8.29,9.37h0Z"/>
2222 <path class="st0" d="M404.56,489.85c-48.79-16.29-76.37-69.13-78.82-118.41-5.63-103,73.06-203.93,174.56-222.73,26.66-4.9,54.93-3.78,80.46,5.51,21.34,7.59,41.83,21.85,53.78,41.03,0,0-3.79-1.83-3.79-1.83-17.81-8.98-38.19-13.76-57.96-14.1-28.58-.6-56.14,7.2-81.29,19.88-40.93,20.8-74.38,54.99-96.63,94.96-34.83,62.37-40.98,139.77,9.69,195.68h0Z"/>
2323 </g>
24-</svg>
\ No newline at end of file
24+</svg>
@@ -11,7 +11,7 @@
11 }11 }
12 </style>12 </style>
13 </defs>13 </defs>
14- <rect width="1000" height="1000" rx="230" fill="url(#bgGrad)"/>14+ <rect width="1000" height="1000" fill="url(#bgGrad)"/>
15 <g transform="translate(500,500) scale(0.78) translate(-500,-500)">15 <g transform="translate(500,500) scale(0.78) translate(-500,-500)">
16 <path class="st0" d="M765.28,310.49c-18.58-14.55-38.55-23.97-57.02-30.24-18.47-6.26-39.7-9.39-63.7-9.36-51.69.04-94.14,15.12-127.35,45.22-33.21,30.11-49.79,67.64-49.75,112.58.03,29.75,6.65,55.36,19.91,76.82,13.25,21.48,32.86,43.01,83.46,67.77l7.05,2.69c10.37,3.94,11.75,3.77,18.49,5.55,9.58,2.54,18.67,3.65,30.3,4.68,10.68.95,19.21,1.63,25.54.96,47.38-.04,87.36-15.94,119.96-47.69,32.58-31.76,48.86-69.11,48.83-112.08-.02-20.48-2.96-37.67-8.81-51.55-5.87-13.88-13.02-32.4-46.13-64.76M713.08,521.68c-17.22,22.49-39.98,33.75-68.28,33.77-28.93.03-52.02-11.19-69.26-33.65-17.26-22.45-25.89-53.84-25.93-94.17-.03-38.99,8.71-69.74,26.23-92.23,17.52-22.48,40.43-33.75,68.74-33.77,27.69-.02,50.32,11.36,67.88,34.15,17.56,22.79,26.35,53.02,26.39,90.7.04,40.99-8.56,72.73-25.76,95.21Z"/>16 <path class="st0" d="M765.28,310.49c-18.58-14.55-38.55-23.97-57.02-30.24-18.47-6.26-39.7-9.39-63.7-9.36-51.69.04-94.14,15.12-127.35,45.22-33.21,30.11-49.79,67.64-49.75,112.58.03,29.75,6.65,55.36,19.91,76.82,13.25,21.48,32.86,43.01,83.46,67.77l7.05,2.69c10.37,3.94,11.75,3.77,18.49,5.55,9.58,2.54,18.67,3.65,30.3,4.68,10.68.95,19.21,1.63,25.54.96,47.38-.04,87.36-15.94,119.96-47.69,32.58-31.76,48.86-69.11,48.83-112.08-.02-20.48-2.96-37.67-8.81-51.55-5.87-13.88-13.02-32.4-46.13-64.76M713.08,521.68c-17.22,22.49-39.98,33.75-68.28,33.77-28.93.03-52.02-11.19-69.26-33.65-17.26-22.45-25.89-53.84-25.93-94.17-.03-38.99,8.71-69.74,26.23-92.23,17.52-22.48,40.43-33.75,68.74-33.77,27.69-.02,50.32,11.36,67.88,34.15,17.56,22.79,26.35,53.02,26.39,90.7.04,40.99-8.56,72.73-25.76,95.21Z"/>
17 <path class="st0" d="M745.61,236.83c10.96,11.22,15.35,21.18,13.18,29.89-3.43,13.72-16,26.69-37.69,38.89,1.96,1.88,3.94,3.74,5.94,5.58,3.03,2.79,6.08,5.76,9.04,8.88,37.1-22,59.43-48.06,66.94-78.16,4.35-17.42,3.29-32.04-3.17-43.87-6.47-11.83-14.98-19.07-25.55-21.7-22.5-5.62-36.47,2.46-41.91,24.23-2.99,11.97,1.41,24.06,13.22,36.26Z"/>17 <path class="st0" d="M745.61,236.83c10.96,11.22,15.35,21.18,13.18,29.89-3.43,13.72-16,26.69-37.69,38.89,1.96,1.88,3.94,3.74,5.94,5.58,3.03,2.79,6.08,5.76,9.04,8.88,37.1-22,59.43-48.06,66.94-78.16,4.35-17.42,3.29-32.04-3.17-43.87-6.47-11.83-14.98-19.07-25.55-21.7-22.5-5.62-36.47,2.46-41.91,24.23-2.99,11.97,1.41,24.06,13.22,36.26Z"/>
@@ -21,4 +21,4 @@
21 <path class="st0" d="M319.55,520.94c-70.88-25.86-115.11-98.33-123.15-171.89C176.1,173.51,332.7,1.68,511.27,19.03c54.21,5.33,109.33,31.01,140.12,76.84-7.32-3.77-14.86-7.66-22.41-10.79-2.87-1.09-7.19-2.91-9.95-3.99-2.44-.78-4.81-1.65-7.21-2.46-81.96-27.87-173.83-4.03-240.31,48.53-31.32,24.77-57.84,55.77-77.51,90.51-38.23,66.26-51.7,148.13-25.15,221.35,9.16,26.14,24.5,51.17,42.42,72.55,2.07,2.17,6.28,7.1,8.29,9.37h0Z"/>21 <path class="st0" d="M319.55,520.94c-70.88-25.86-115.11-98.33-123.15-171.89C176.1,173.51,332.7,1.68,511.27,19.03c54.21,5.33,109.33,31.01,140.12,76.84-7.32-3.77-14.86-7.66-22.41-10.79-2.87-1.09-7.19-2.91-9.95-3.99-2.44-.78-4.81-1.65-7.21-2.46-81.96-27.87-173.83-4.03-240.31,48.53-31.32,24.77-57.84,55.77-77.51,90.51-38.23,66.26-51.7,148.13-25.15,221.35,9.16,26.14,24.5,51.17,42.42,72.55,2.07,2.17,6.28,7.1,8.29,9.37h0Z"/>
22 <path class="st0" d="M404.56,489.85c-48.79-16.29-76.37-69.13-78.82-118.41-5.63-103,73.06-203.93,174.56-222.73,26.66-4.9,54.93-3.78,80.46,5.51,21.34,7.59,41.83,21.85,53.78,41.03,0,0-3.79-1.83-3.79-1.83-17.81-8.98-38.19-13.76-57.96-14.1-28.58-.6-56.14,7.2-81.29,19.88-40.93,20.8-74.38,54.99-96.63,94.96-34.83,62.37-40.98,139.77,9.69,195.68h0Z"/>22 <path class="st0" d="M404.56,489.85c-48.79-16.29-76.37-69.13-78.82-118.41-5.63-103,73.06-203.93,174.56-222.73,26.66-4.9,54.93-3.78,80.46,5.51,21.34,7.59,41.83,21.85,53.78,41.03,0,0-3.79-1.83-3.79-1.83-17.81-8.98-38.19-13.76-57.96-14.1-28.58-.6-56.14,7.2-81.29,19.88-40.93,20.8-74.38,54.99-96.63,94.96-34.83,62.37-40.98,139.77,9.69,195.68h0Z"/>
23 </g>23 </g>
24-</svg>
\ No newline at end of file\ No newline at end of file
24+</svg>
modified web/static/icon-192.png +0 -0
Binary files a/web/static/icon-192.png and b/web/static/icon-192.png differ
Binary files a/web/static/icon-192.png and b/web/static/icon-192.png differBinary files a/web/static/icon-192.png and b/web/static/icon-192.png differ
modified web/static/icon-512.png +0 -0
Binary files a/web/static/icon-512.png and b/web/static/icon-512.png differ
Binary files a/web/static/icon-512.png and b/web/static/icon-512.png differBinary files a/web/static/icon-512.png and b/web/static/icon-512.png differ
modified web/static/icon-maskable-192.png +0 -0
Binary files a/web/static/icon-maskable-192.png and b/web/static/icon-maskable-192.png differ
Binary files a/web/static/icon-maskable-192.png and b/web/static/icon-maskable-192.png differBinary files a/web/static/icon-maskable-192.png and b/web/static/icon-maskable-192.png differ
modified web/static/icon-maskable-512.png +0 -0
Binary files a/web/static/icon-maskable-512.png and b/web/static/icon-maskable-512.png differ
Binary files a/web/static/icon-maskable-512.png and b/web/static/icon-maskable-512.png differBinary files a/web/static/icon-maskable-512.png and b/web/static/icon-maskable-512.png differ