Giter Site home page Giter Site logo

operationairstrike / maglit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nayamamarshe/maglit

0.0 0.0 0.0 1.23 MB

πŸ”₯ MagLit - Privacy Respecting Encrypted Link Shortener with Password Protection and Torrent Magnet Links support

Home Page: https://maglit.me

License: GNU Affero General Public License v3.0

JavaScript 94.67% CSS 3.26% Dockerfile 2.06%

maglit's Introduction

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 πŸ”₯

πŸ”₯ 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.

If you like the project

bmc-button

πŸ”₯ https://maglit.me πŸ”₯

maglit's People

Contributors

nayamamarshe avatar diegonicacio avatar operationairstrike avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.