Releases: changkun/redir
Releases · changkun/redir
v0.5.2
v0.5.1
v0.5.0
v0.4.1
- Support SSO via https://login.changkun.de
- Support
git clone https://changkun.de/x/redir
and friends
v0.4.0
redir is fully GDPR compliant now, see https://github.com/changkun/redir/blob/main/docs/gdpr.md
We support a new feature that warns visitors about external redirects. The shortened link can also be configured as a trusted link where the warning page won't be shown to the visitors.
v0.3.4
This version improves development experiences (no visible feature changes).
--
The general development flow works like this:
- Create a mongodb instance, for example, change the
docker/docker-compose.yml
file to the following
version: "3"
services:
# redir:
# restart: always
# image: redir:latest
# environment:
# REDIR_CONF: ./data/redirconf.yml
# depends_on:
# - mongo
# deploy:
# replicas: 1
# networks:
# - traefik_proxy
mongo:
restart: always
container_name: redirdb
image: mongo:latest
ports:
- "27018:27017"
volumes:
- ../data/mongo:/data/db
# networks:
# - traefik_proxy
# networks:
# traefik_proxy:
# external: true
make run
and the database will be started- Modify backend settings in
internal/config/config.yml
:
-cors: false
+cors: true
auth:
- enable: true
+ enable: false
- Build and run the backend:
make
make run
- Modify frontend settings in
dashboard/public/index.html
:
- <!-- <div id="root" is-admin="true" stats-mode="true" dev-mode="true"></div> -->
- <div id="root" is-admin="{{.AdminView}}" stats-mode="{{.StatsMode}}" dev-mode="{{.DevMode}}"></div>
+ <div id="root" is-admin="true" stats-mode="true" dev-mode="true"></div>
+ <!-- <div id="root" is-admin="{{.AdminView}}" stats-mode="{{.StatsMode}}" dev-mode="{{.DevMode}}"></div> -->
- Open a different terminal, run the frontend via
npm start
. The application should run smoothly.
v0.3.3
v0.3.2
v0.3.1
v0.3.0
This version brings massive new features!
- Web interfaces: admin dashboard, public index page
- Visitor statistics: completely redesigned statistic feature
- Wait landing page: allow customize a link to be accessible after a certain time
- Privacy: GDPR friendly, e.g. allow hide IP address, disable the entire tracking feature
- Dump: allow
-d
from the command line to support easy dump backup/export of the entire link database - Easy for distribution: Everything compiles into a single binary, including front-end interfaces
- And there are more!