mirror of
https://github.com/ewanc26/linkat-directory.git
synced 2026-07-21 15:33:18 +00:00
Mirror of github.com/ewanc26/linkat-directory
- Svelte 54.8%
- TypeScript 31.1%
- CSS 8.4%
- JavaScript 3.2%
- Nix 1.3%
- Other 1.2%
| .github/ISSUE_TEMPLATE | ||
| .vscode | ||
| src | ||
| static | ||
| .env.example | ||
| .gitignore | ||
| .npmrc | ||
| .pre-commit-config.yaml | ||
| .prettierignore | ||
| .vercelignore | ||
| AGENTS.md | ||
| eslint.config.js | ||
| flake.nix | ||
| LICENSE | ||
| package-lock.json | ||
| package.json | ||
| pnpm-lock.yaml | ||
| postcss.config.js | ||
| README.md | ||
| svelte.config.js | ||
| tailwind.config.ts | ||
| tsconfig.json | ||
| vite.config.ts | ||
Linkat Directory
Alternate frontend for Linkat. Shows a directory of Bluesky profiles and their links.
Also available on Tangled
Setup
git clone git@github.com:ewanc26/linkat-directory.git
cd linkat-directory
npm install
Copy .env.example to .env. Set DIRECTORY_OWNER or PUBLIC_LINKAT_USERS:
DIRECTORY_OWNER=did:plc:your-did-here
Or for multiple users:
PUBLIC_LINKAT_USERS=did:plc:user1,did:web:user2
Other options:
HIDE_OWNER_CARD=true
DISPLAY_USER_BANNER=true
DISPLAY_USER_DESCRIPTION=true
Run
npm run dev
Accessible at http://localhost:5173.
Usage
- Browse the directory on the main page
- View a user's profile at
/user/[did]
Project layout
src/routes/— SvelteKit routes (main page + user profiles)src/lib/components/— Reusable components (DynamicHead.svelte, profile components)src/lib/css/— Global styles and CSS variablessrc/lib/utils/— Caching utilitiessrc/lib/profile/profile.ts— Fetches and processes profile data from Bluesky
Licence
AGPLv3 — see LICENCE
Credits
Uses data and concepts from linkat.blue by mkizka and atproto.com by Bluesky.