FediGONE for ff.v-sli.me.
Find a file
2025-01-28 18:33:01 +09:00
docs 📚 add screenshots (README.md, docs/curl.png, docs/webpage.png) 2025-01-28 17:09:57 +09:00
public 🎉 make change astrojs (.astro/content-assets.mjs, .astro/content-modules.mjs, .astro/data-store.json, .astro/settings.json, .astro/types.d.ts, .prettierrc, README.md, _error.tsx.bak, astro.config.mjs, bun.lockb, next.config.js, package.json, postcss.config.js, public/favicon.ico, src/app/layout.tsx, src/app/page.tsx, src/components/page.tsx, src/consts.ts, src/env.d.ts, src/layouts/Layout.astro, src/pages/index.astro, src/styles/globals.css, tailwind.config.ts, tsconfig.json) 2025-01-27 23:44:16 +09:00
src 🔧 update domain (src/consts.ts) 2025-01-28 18:33:01 +09:00
.eslintrc.json Initial commit from Create Next App 2023-12-16 11:21:29 +09:00
.gitignore 🔧 change gitignore (.gitignore) 2025-01-28 16:41:22 +09:00
.prettierrc 🎉 make change astrojs (.astro/content-assets.mjs, .astro/content-modules.mjs, .astro/data-store.json, .astro/settings.json, .astro/types.d.ts, .prettierrc, README.md, _error.tsx.bak, astro.config.mjs, bun.lockb, next.config.js, package.json, postcss.config.js, public/favicon.ico, src/app/layout.tsx, src/app/page.tsx, src/components/page.tsx, src/consts.ts, src/env.d.ts, src/layouts/Layout.astro, src/pages/index.astro, src/styles/globals.css, tailwind.config.ts, tsconfig.json) 2025-01-27 23:44:16 +09:00
astro.config.mjs 🎉 make change astrojs (.astro/content-assets.mjs, .astro/content-modules.mjs, .astro/data-store.json, .astro/settings.json, .astro/types.d.ts, .prettierrc, README.md, _error.tsx.bak, astro.config.mjs, bun.lockb, next.config.js, package.json, postcss.config.js, public/favicon.ico, src/app/layout.tsx, src/app/page.tsx, src/components/page.tsx, src/consts.ts, src/env.d.ts, src/layouts/Layout.astro, src/pages/index.astro, src/styles/globals.css, tailwind.config.ts, tsconfig.json) 2025-01-27 23:44:16 +09:00
bun.lockb migration for firefish (bun.lockb, src/consts.ts) 2025-01-28 18:00:48 +09:00
package.json 🗑️ remove vercel.json (bun.lockb, package.json, vercel.json) 2025-01-28 16:22:46 +09:00
README.md 🔧 move vercel.json (README.md, vercel.json) 2025-01-28 17:48:34 +09:00
tailwind.config.ts 🎉 make change astrojs (.astro/content-assets.mjs, .astro/content-modules.mjs, .astro/data-store.json, .astro/settings.json, .astro/types.d.ts, .prettierrc, README.md, _error.tsx.bak, astro.config.mjs, bun.lockb, next.config.js, package.json, postcss.config.js, public/favicon.ico, src/app/layout.tsx, src/app/page.tsx, src/components/page.tsx, src/consts.ts, src/env.d.ts, src/layouts/Layout.astro, src/pages/index.astro, src/styles/globals.css, tailwind.config.ts, tsconfig.json) 2025-01-27 23:44:16 +09:00
tsconfig.json 🎉 make change astrojs (.astro/content-assets.mjs, .astro/content-modules.mjs, .astro/data-store.json, .astro/settings.json, .astro/types.d.ts, .prettierrc, README.md, _error.tsx.bak, astro.config.mjs, bun.lockb, next.config.js, package.json, postcss.config.js, public/favicon.ico, src/app/layout.tsx, src/app/page.tsx, src/components/page.tsx, src/consts.ts, src/env.d.ts, src/layouts/Layout.astro, src/pages/index.astro, src/styles/globals.css, tailwind.config.ts, tsconfig.json) 2025-01-27 23:44:16 +09:00
vercel.json 🔧 move vercel.json (README.md, vercel.json) 2025-01-28 17:48:34 +09:00

†| FediGONE |†

image

What is this?

A "410 Gone" frontend page for a Federated SNS. View Demo Page

View Screenshots

webpage

Usage 💨

You need to write src/consts.ts according to your instance information.

Warning

You shouldn't edit dist/vercel.json. If you changed this file, your activity pub server can't be return 410 GONE.

git clone https://git.v-sli.me/HidemaruOwO/FediGONE.git
cd FediGONE

# edit src/consts.ts for your AP instance
vim src/consts.ts

# export static HTML files
bun run install
bun run build

# create vercel.json on dist directory
ln vercel.json dist/vercel.json

# deploy FediGONE on vercel
cd dist
vercel deploy --prod
View default src/consts.ts
export const DOMAIN = "ap.example.tld";
export const TITLE = "インスタンスの墓標";
export const DESCRIPTION = `このインスタンスは閉鎖しました。"${DOMAIN}"を支えていただきありがとうございました。`;
export const MAIN_MESSAGE_LINE: string[] = [
	`このインスタンスは滅んでしまったようです。`,
	`ここにあるのは、`,
	`インスタンスの墓標です。`,
];
export const NEXT_INSTANCE_URL = "https://new.example.tld";
export const NEXT_INSTANCE_MESSAGE = "新しいインスタンスに進む";

Dependencies 🪡

requirements bun or nodejs for build astro project.

  • bun
  • nodejs

Reference