MCPcopy Index your code
hub / github.com/NayamAmarshe/thiss.link

github.com/NayamAmarshe/thiss.link @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
68 symbols 259 edges 70 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

MagLit has been sponsored by Vercel. Many thanks!

Mag🔥Lit

🔥 MagLit - A super fast and easy-to-use Free and Open Source Privacy Respecting Encrypted Magnet/HTTP(s) Link Shortener with Password Protection 🔥

https://maglit.me

🔥 Featured on Awesome Open Source and Awesome Privacy

MagLit Features

✅ 100% Easy to use\ ✅ 100% Free and Open Source\ ✅ 100% Encrypted\ ✅ 100% Private\ ✅ 0% Personal Data stored

New Features
🆕 MagLit now supports custom links!
🆕 MagLit now lets you generate QR Codes for your lit links!

WYSIWYG: MagLit builds are fully verifiable: The code in this repository is the same code that's deployed on MagLit.me, Nothing added, nothing ripped, so you know it's 100% trusted ;)

Self Hosting

PREPARE

MagLit uses Firebase Firestore as a database. You must first create a new Firebase project, then a file with the name .env.local in root directory of the project and fill the details as mentioned in .env.local.example.

This step is a hard requeriment and any change to this file, requires a rebuild to the project from scratch (either through npm install/npm run dev or by using the docker steps)

Clone the project and install dependencies using:

npm install

You need npm or yarn installed for this.

Then, run the development server:

npm run dev

DOCKER:

[!IMPORTANT] Make sure the .env.local file is available before the build.

#  BUILD AND RUN IMAGE USING NPM
npm run docker:build
# RUN IMAGE
npm run docker
# OR RUN IN DETACHED MODE
npm run docker:d

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying pages/index.js. The page auto-updates as you edit the file.

API routes can be accessed on http://localhost:3000/api/xxxxxx. This endpoint can be edited in pages/api/xxxxxx.js.

The pages/api directory is mapped to /api/*. Read more about API routes.

🔥 https://maglit.me 🔥

Extension points exported contracts — how you extend this code

LinkHistorySheetProps (Interface)
(no doc)
components/link-history-sheet.tsx
InputProps (Interface)
(no doc)
components/ui/input.tsx
SheetContentProps (Interface)
(no doc)
components/ui/sheet.tsx
ButtonProps (Interface)
(no doc)
components/ui/button.tsx

Core symbols most depended-on inside this repo

cn
called by 35
lib/utils.ts
useUser
called by 6
hooks/use-user.ts
isProduction
called by 4
functions/src/lib/logger.ts
generateAccessToken
called by 3
functions/src/api/paypal/generate-acces-token.ts
formatDate
called by 2
components/link-history-sheet.tsx
handleCopyLink
called by 1
components/link-history-sheet.tsx
handleDeleteLink
called by 1
components/link-history-sheet.tsx
resizeCanvas
called by 1
components/ui/starfield.tsx

Shape

Function 62
Interface 4
Class 2

Languages

TypeScript100%

Modules by API surface

components/link-history-sheet.tsx6 symbols
lib/firebase-admin.ts3 symbols
hooks/usePayPalSubscription.ts3 symbols
hooks/use-user.ts3 symbols
functions/src/api/paypal/webhook-handler.ts3 symbols
components/ui/starfield.tsx3 symbols
components/ui/sheet.tsx3 symbols
functions/src/types/monkey-typewriter.d.ts2 symbols
components/unlock-form.tsx2 symbols
components/ui/dialog.tsx2 symbols
components/navbar.tsx2 symbols
components/link-form.tsx2 symbols

For agents

$ claude mcp add thiss.link \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact