Monorepo for wisp.place. A static site hosting service built on top of the AT Protocol. wisp.place

favicon

+1 -3
.dockerignore
···
*.log
.vscode
.idea
-
server
.prettierrc
testDeploy
.tangled
.crush
.claude
-
server
-
hosting-service
+
hosting-service
+9 -4
Dockerfile
···
WORKDIR /app
# Copy package files
-
COPY package.json bun.lock* ./
+
COPY package.json ./
+
+
# Copy Bun configuration
+
COPY bunfig.toml ./
+
+
COPY tsconfig.json ./
# Install dependencies
-
RUN bun install --frozen-lockfile
+
RUN bun install
# Copy source code
COPY src ./src
COPY public ./public
-
ENV PORT=3000
+
ENV PORT=8000
ENV NODE_ENV=production
-
EXPOSE 3000
+
EXPOSE 8000
CMD ["bun", "start"]
public/android-chrome-192x192.png

This is a binary file and will not be displayed.

public/android-chrome-512x512.png

This is a binary file and will not be displayed.

public/apple-touch-icon.png

This is a binary file and will not be displayed.

+4
public/editor/index.html
···
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Elysia Static</title>
<link rel="icon" type="image/x-icon" href="../favicon.ico">
+
<link rel="icon" type="image/png" sizes="32x32" href="../favicon-32x32.png">
+
<link rel="icon" type="image/png" sizes="16x16" href="../favicon-16x16.png">
+
<link rel="apple-touch-icon" sizes="180x180" href="../apple-touch-icon.png">
+
<link rel="manifest" href="../site.webmanifest">
<style>
/* Dark theme fallback styles for before JS loads */
@media (prefers-color-scheme: dark) {
public/favicon-16x16.png

This is a binary file and will not be displayed.

public/favicon-32x32.png

This is a binary file and will not be displayed.

public/favicon.ico

This is a binary file and will not be displayed.

+4
public/index.html
···
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Elysia Static</title>
<link rel="icon" type="image/x-icon" href="./favicon.ico">
+
<link rel="icon" type="image/png" sizes="32x32" href="./favicon-32x32.png">
+
<link rel="icon" type="image/png" sizes="16x16" href="./favicon-16x16.png">
+
<link rel="apple-touch-icon" sizes="180x180" href="./apple-touch-icon.png">
+
<link rel="manifest" href="./site.webmanifest">
</head>
<body>
<div id="elysia"></div>
+1
public/site.webmanifest
···
+
{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"}
+1 -1
src/index.ts
···
export const app = new Elysia({
serve: {
-
maxPayloadLength: 1024 * 1024 * 128 * 3,
+
maxRequestBodySize: 1024 * 1024 * 128 * 3,
development: Bun.env.NODE_ENV !== 'production' ? true : false,
id: Bun.env.NODE_ENV !== 'production' ? undefined : null,
}