Skip to content
ํ”„๋กœ์ ํŠธ

์†Œ๊ฐœ

๐Ÿ”ฅ MagLit - ๊ฐœ์ธ์ •๋ณด ๋ณดํ˜ธ๋ฅผ ์ค‘์‹œํ•˜๋Š” ์•”ํ˜ธํ™” ๋งํฌ ๋‹จ์ถ• ์„œ๋น„์Šค๋กœ, ๋น„๋ฐ€๋ฒˆํ˜ธ ๋ณดํ˜ธ์™€ ํ† ๋ ŒํŠธ ๋งˆ๊ทธ๋„ท ๋งํฌ๋ฅผ ์ง€์›ํ•ฉ๋‹ˆ๋‹ค

๋ณด์•ˆ ๋ฐ ๊ฐœ์ธ์ •๋ณด ๋ณดํ˜ธ

์ด ์ˆ˜์น˜๋ฅผ ์ธก์ •ํ•˜๋Š” ๋ฐฉ๋ฒ•

์ธก์ •๋œ ์Šคํƒ€ ์ฆ๊ฐ€

in 24h
0
in 7 days
0
in 15 days
+1
in 1 month
๊ธฐ๋ก ์ˆ˜์ง‘ ์ค‘

์„œ๋กœ ๊ฒน์น˜๋Š” ๊ธฐ๊ฐ„์˜ ์ˆœ์ฆ๊ฐ€๋Ÿ‰์ด๋ฉฐ ์ผ๋ณ„ ํ•ฉ๊ณ„๊ฐ€ ์•„๋‹™๋‹ˆ๋‹ค. ์ธก์ •๊ฐ’์ด ์—†์œผ๋ฉด ๋น„์›Œ ๋‘ก๋‹ˆ๋‹ค. ์Šคํƒ€๋Š” ๊ด€์‹ฌ๋„๋ฅผ ๋‚˜ํƒ€๋‚ด๋ฉฐ ํ’ˆ์งˆ์„ ๋ณด์žฅํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.

README.md

Original

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 ๐Ÿ”ฅ

๊ด€๋ จ ํ”„๋กœ์ ํŠธ ์‚ดํŽด๋ณด๊ธฐ

๋ถˆ๋Ÿฌ์˜ค๋Š” ์ค‘โ€ฆ