Repository navigation
Expand file tree
/
Copy pathsite.ts
More file actions
47 lines (44 loc) · 1.53 KB
/
Copy pathsite.ts
File metadata and controls
47 lines (44 loc) · 1.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/** Addresses used across the site. */
export const site = {
name: "Patchyard",
tagline: "Open-source software nobody has to pay for, built in the open.",
url: "https://patchyard.github.io",
github: "https://github.com/patchyard",
x: "https://x.com/patchyard_dev",
source: "https://github.com/patchyard/patchyard.github.io",
};
const kindwallRepo = "https://github.com/patchyard/kindwall";
export const kindwall = {
repo: kindwallRepo,
docs: `${kindwallRepo}/tree/main/docs`,
doc: (file: string, anchor = "") => `${kindwallRepo}/blob/main/docs/${file}${anchor}`,
releases: `${kindwallRepo}/releases`,
release: `${kindwallRepo}/releases/tag/v0.1.0`,
image: "ghcr.io/patchyard/kindwall:0.1.0",
changelog: `${kindwallRepo}/blob/main/CHANGELOG.md`,
issues: `${kindwallRepo}/issues/new/choose`,
security: `${kindwallRepo}/blob/main/SECURITY.md`,
contributing: `${kindwallRepo}/blob/main/CONTRIBUTING.md`,
};
/**
* Kindwall's free hosted server, run by Patchyard. The facts here are what the hosted page states;
* change them only when the server changes. With `url` set to null the page says the server is
* being set up instead of linking anywhere.
*/
export const kindwallHosted: {
url: string | null;
signupOpen: boolean;
maxImageMb: number;
maxVideoMb: number;
submissionsPerHour: number;
minFormSeconds: number;
sleepsAfterMinutes: number;
} = {
url: "https://kindwall.onrender.com",
signupOpen: true,
maxImageMb: 2,
maxVideoMb: 15,
submissionsPerHour: 20,
minFormSeconds: 4,
sleepsAfterMinutes: 15,
};