Add ntfy push and Listmonk newsletter with lightweight Docker deploy tooling.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
eric
2026-06-08 02:24:55 -05:00
parent 47b1ae8514
commit 22a960799c
24 changed files with 846 additions and 3 deletions

6
app/lib/listmonk.ts Normal file
View File

@@ -0,0 +1,6 @@
export const DEFAULT_LISTMONK_URL = "https://listmonk.nomadro.cn";
export const LISTMONK_PROVIDER_LABEL = "Listmonk";
export function getListmonkUrl(): string {
return (process.env.NEXT_PUBLIC_LISTMONK_URL || DEFAULT_LISTMONK_URL).replace(/\/$/, "");
}

View File

@@ -39,6 +39,7 @@ export interface MeetupSession {
displayName: string;
videoUrl: string;
chatUrl: string;
replayUrl?: string;
loungeChannel: string;
mirotalkRoom: string;
meetingProvider: string;

5
app/lib/ntfy.ts Normal file
View File

@@ -0,0 +1,5 @@
export const DEFAULT_NTFY_URL = "https://ntfy.nomadro.cn";
export function getNtfyBaseUrl(): string {
return (process.env.NEXT_PUBLIC_NTFY_URL || DEFAULT_NTFY_URL).replace(/\/$/, "");
}