Skip to content

Releases: changkun/redir

v0.5.2

27 Dec 15:10
Compare
Choose a tag to compare
  • Upgrade to use Go 1.19
  • Set mem limit for mongo container in docker-compose

Full Changelog: v0.5.1...v0.5.2

v0.5.1

03 May 03:57
Compare
Choose a tag to compare
  • /s serves PDF link directly (instead of redirect) #14
  • Remove Newrelic (not useful enough)

v0.5.0

26 Nov 15:44
Compare
Choose a tag to compare

v0.4.1

23 Nov 07:45
Compare
Choose a tag to compare

v0.4.0

11 Nov 09:23
Compare
Choose a tag to compare

redir is fully GDPR compliant now, see https:/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

29 Aug 16:09
Compare
Choose a tag to compare

This version improves development experiences (no visible feature changes).

--

The general development flow works like this:

  1. 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
  1. make run and the database will be started
  2. Modify backend settings in internal/config/config.yml:
-cors: false
+cors: true
auth:
-  enable: true
+  enable: false
  1. Build and run the backend:
make
make run
  1. 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> -->
  1. Open a different terminal, run the frontend via npm start. The application should run smoothly.

v0.3.3

29 Aug 14:56
Compare
Choose a tag to compare

This version improves admin interface experiences.

v0.3.2

28 Mar 07:50
Compare
Choose a tag to compare
  • This version removes a dependency google/uuid on UUID generation
  • This version fixes a rendering issue with stat charts

v0.3.1

24 Mar 20:27
Compare
Choose a tag to compare

Release v0.3.1 that are built from scripts automatically.

v0.3.0

24 Mar 17:10
Compare
Choose a tag to compare

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!