mirror of https://github.com/itsmrval/ltsNinja
|
|
||
|---|---|---|
| src | ||
| .gitattributes | ||
| .gitignore | ||
| LICENSE | ||
| README.md | ||
README.md
Table of contents
What is ltsNinja
| Homepage | Dashboard |
|---|---|
![]() |
![]() |
ltsNinja is a public, self-hosted tool that makes it easy to shorten urls. It's very lightweight and intuitive, which means it runs with very little performance.
Few key points:
- Github login for custom links
- Easy dashboard for users
Built With
This section list major frameworks/libraries used
Getting Started
Now let's see how to set up an ltsNinja instance.
Installation
-
Create directory
mkdir /opt/ltsNinja cd /opt/ltsNinja -
Download the latest release and apply permissions
wget -O ltsNinja https://github.com/itsmrval/ltsNinja/releases/download/0.1.1/ltsNinja_linux_amd64 chmod +x ltsNinja -
Create the service on systemd Write the file
nano /etc/systemd/system/ltsNinja.serviceComplete and put the service file below:
[Unit] Description=LTS Ninja service After=network.target [Service] Type=simple ExecStart=/opt/ltsNinja/ltsNinja Environment="GITHUB_CLIENT_ID=<REPLACE HERE>" Environment="GITHUB_CLIENT_SECRET=<REPLACE HERE>" Environment="GITHUB_REDIRECT_URL=https://<REPLACE HERE>/callback" Environment="DB_PATH=/opt/ltsNinja/database.db" Environment="PORT=8080" [Install] WantedBy=multi-user.target -
Reload systemd and run the service !
systemctl daemon-reload systemctl enable --now ltsNinja
Roadmap
- URL Shortener
- Custom links
- User dashboard
- Edit with github
- Admin dashboard
License
Distributed under the MIT License. See LICENSE for more information.

