Skip to content

Commit 3ba0d79

Browse files
committed
chore: rename syftai server to syft space
1 parent b752632 commit 3ba0d79

19 files changed

Lines changed: 26 additions & 26 deletions

backend/MIGRATIONS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Database Migrations Guide
22

3-
This guide explains how to work with database migrations in SyftAI Server. Whether you're new to migrations or just new to this project, this document will help you get started.
3+
This guide explains how to work with database migrations in Syft Space. Whether you're new to migrations or just new to this project, this document will help you get started.
44

55
## What Are Migrations?
66

backend/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Syft AI Server
1+
# Syft Space
22

33
A powerful RAG (Retrieval-Augmented Generation) platform that enables you to create, manage, and query AI-powered endpoints backed by vector databases and language models.
44

backend/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
55
[project]
66
name = "syftai_space"
77
version = "0.1.0"
8-
description = "Syft AI Server Backend API"
8+
description = "Syft Space Backend API"
99
authors = [
1010
{name = "OpenMined", email = "support@openmined.org"}
1111
]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"""Components package for syftai-server."""
1+
"""Components package for Syft Space."""

backend/syftai_space/components/auth/middleware.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class AdminKeyMiddleware(BaseHTTPMiddleware):
1818
All other routes require Authorization: Bearer <key> header.
1919
"""
2020

21-
STATIC_PUBLIC_PATHS = ["/docs", "/redoc", "/openapi.json", "/syftai-server"]
21+
STATIC_PUBLIC_PATHS = ["/docs", "/redoc", "/openapi.json", "/frontend"]
2222
STATIC_PUBLIC_EXACT = ["/"]
2323

2424
async def dispatch(

backend/syftai_space/components/settings/entities.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ class Settings(SQLModel, table=True):
1212

1313
id: int = Field(default=1, primary_key=True)
1414
public_url: str | None = Field(
15-
default=None, description="Public URL for the SyftAI Space"
15+
default=None, description="Public URL for the Syft Space"
1616
)
1717
updated_at: datetime = Field(default_factory=lambda: datetime.now(timezone.utc))

backend/syftai_space/components/shared/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Shared utilities and types for syftai-server."""
1+
"""Shared utilities and types for Syft Space."""
22

33
from .syfthub_client import SyftHubClient
44

backend/syftai_space/config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@ class AppSettings(BaseSettings):
6464
description="Default URL for the marketplace service",
6565
)
6666

67-
# SyftAI Space Public URL
67+
# Syft Space Public URL
6868
public_url: HttpUrl | None = Field(
6969
None,
70-
description="Public URL for the SyftAI Space",
70+
description="Public URL for the Syft Space",
7171
)
7272

7373

backend/syftai_space/main.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,8 @@ async def lifespan(app: FastAPI):
179179

180180
# Initialize FastAPI app
181181
app = FastAPI(
182-
title="Syft AI Server",
183-
description="Syft AI Server - RAG platform with datasets, models, endpoints, and policies",
182+
title="Syft Space",
183+
description="Syft Space - RAG platform with datasets, models, endpoints, and policies",
184184
version="0.1.0",
185185
debug=app_settings.debug,
186186
lifespan=lifespan,
@@ -325,7 +325,7 @@ async def health():
325325
frontend_path = Path(__file__).parent.parent.parent / "frontend" / "dist"
326326
if frontend_path.exists():
327327
app.mount(
328-
"/syftai-server",
328+
"/frontend",
329329
StaticFiles(directory=str(frontend_path), html=True, check_dir=False),
330330
)
331331

@@ -335,7 +335,7 @@ async def redirect_root():
335335
"""Redirect root to frontend or API docs."""
336336
if frontend_path.exists():
337337
return RedirectResponse(
338-
url="/syftai-server", status_code=status.HTTP_307_TEMPORARY_REDIRECT
338+
url="/frontend", status_code=status.HTTP_307_TEMPORARY_REDIRECT
339339
)
340340
else:
341341
return RedirectResponse(

frontend/DESIGN_STANDARDS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SyftAI Design Standards
1+
# Syft Space Design Standards
22

33
## Typography Hierarchy (Based on HomePage.vue)
44

0 commit comments

Comments
 (0)