Skip to content
madLinux7Public

About

The Link-in-Bio platform for the world

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

madLink

madlink is an open-source, privacy-first link-in-bio platform that you host yourself. It serves public pages with your profile and your links, and gives you a dashboard to edit them.

It suits people and small teams who want such a page on their own domain, with visitor statistics that set no cookies and store no IP addresses.

The madlink page editor with its live preview

Highly polished page editor with live preview · Features

The analytics section with views, clicks, referrers and countries

Get useful insights without tracking your users accross the internet · Privacy

Three madlink pages in the Humilis, Aviditas and Aura themes

Easily build accessible public pages with three stock themes included · Themes

The theme marketplace with the three core themes

A place for themes without creative boundaries (community submissions welcome - proper guides coming soon!) · Themes

Status

PLEASE NOTE: This is a yet to be unslopped, thoroughly checked and beautified documentation! It will follow on public announcement - i just wanted this to be online already as i submitted this project for open source funding! :) If you're seeing this by coincidence: Congratulations for already finding this repo :D

Version 0.1 is the first public release. Until now madlink has run on a single instance operated by its developer. Other installations are barely tested, so expect problems during installation and please report them.

One person maintains the project. Reports and questions are welcome, but there is no guaranteed response time.

Known limits of this release:

  • Database: SQLite is the tested database. madlink can also connect to PostgreSQL, but this release was not tested with it and the guides do not cover it.
  • Installation: Docker Compose on a Linux server is the only supported way to install. Compose builds the image on your server; there is no prebuilt image.
  • Accounts: There is no public sign-up. The superadmin creates accounts, and further people join through an email invitation.
  • API: The REST API is used with the dashboard's session sign-in. This release cannot issue API tokens and has no API reference.
  • Themes: A theme is application code and runs without a sandbox. Read Themes before you install one.
  • Legal texts: The generated imprint and privacy policy are drafting aids, not legal advice.

Features

  • Pages and links: Each page has a profile and links shown as buttons or tiles. You reorder links by drag and drop, give them thumbnails and can show or hide them by date.
  • Design: Installable themes, backgrounds as gradient, image, GIF or video, locally served fonts, accent colors and custom CSS. The editor shows a live preview.
  • Page extras: Support and donation options, a QR code, a title and a description for search engines, and a share image.
  • Analytics: Page views, link clicks, referring hosts, countries and UTM parameters, without cookies.
  • Accounts and teams: A superadmin, account owners and their employees. Owners grant employees access per page and per area. Quotas limit pages, links, storage and employees per account.
  • Sign-in security: Two-factor codes (TOTP) with recovery codes, passkeys and a security audit log.
  • Media library: One library per account. It shows where each file is used, how much storage the account takes and which files are unused.
  • Legal pages: Imprint, privacy policy, terms and cancellation policy for your pages. madlink can generate the imprint and the privacy policy from your details.
  • Languages: Dashboard and public pages in English and German.
  • REST API: The dashboard is one client of the REST API under /api/v1, which covers every feature.
  • Link import: Optional import of existing links from Linktree and Beacons profiles.

Privacy

Privacy-first describes what the software does on its own. The statements below apply to an unmodified installation that follows the deployment guide.

What a visitor of a public page gets:

  • No cookies. Public pages, legal pages, media and the analytics requests never start a session and never set a cookie.
  • No stored IP address. The server uses the address once to look up the country in a local GeoIP database and then discards it.
  • No third-party requests. Fonts, scripts and images come from the instance itself. A Content Security Policy keeps the browser from loading anything from another origin.
  • Statistics without a visitor ID. A page view records the page, the time, the referring host, the country and UTM parameters. A link click records the link, the time and UTM parameters.
  • Short-lived raw data. Every night madlink merges these events into daily totals and deletes them. The totals are deleted after 400 days by default.

What this does not cover:

  • The dashboard uses cookies. It is a signed-in area with a session cookie and a CSRF cookie. It keeps display preferences in localStorage, and sign-in rate limiting works with a keyed hash of the client address.
  • Consent mode stores a choice. With the optional strict EU mode, a public page asks before it processes UTM parameters and keeps the answer in the visitor's localStorage.
  • The server contacts other services. It calls Google's favicon service with the host name of a link, the GeoIP provider, GitHub or Codeberg for themes, your mail server and sites you import content from. No visitor data is sent.
  • You configure the logs outside the app. The app and the bundled Caddy keep no access log. A proxy of your own needs the settings from the Nginx guide.
  • Legal duties stay with you. You remain responsible for the imprint, the privacy policy and the agreements with your providers. madlink cannot check your installation.

Install

madlink runs as one Docker Compose service with a SQLite database. A reverse proxy in front of it handles TLS, and you pick one of two modes:

Mode Reverse proxy Choose it when
Host Nginx The Nginx that already runs on the host The server hosts other sites on ports 80 and 443.
Standalone Caddy, started by Compose madlink is the only web service on the server.

You need:

  • A Linux server with Git, Docker Engine and the Docker Compose plugin, version 2.24 or newer.
  • A domain whose DNS record points to the server.
  • Outbound HTTPS access for the build, the core themes and the GeoIP database.
  • Room for the app container, which may use up to 1 GB of memory and 2 CPU cores.
  • Optional: an SMTP account for password reset and invitations by email.

The first installation has four steps:

  1. Fetch the release and create the configuration file:

    git clone https://github.com/madLinux7/madlink.git
    cd madlink
    git checkout v0.1
    cp .env.production.example .env
  2. Set your domain and the other required values in .env. The deployment guide explains each one.

  3. Start madlink with the guide for your mode. Each guide ends with a check of the public address.

  4. Open https://<your-domain>/dashboard right away and create the first account. It becomes the superadmin.

Do not delay step 4. Until setup is finished, anyone who reaches the address can create that account.

Backup, upgrade and restore

A complete backup has three parts: the Docker volumes madlink_data and madlink_themes, and the .env file. The file holds the application key that encrypts two-factor secrets, so a backup without it is incomplete.

To upgrade, take a backup first. Then check out the new release tag and rebuild:

git fetch --tags
git checkout <release-tag>
docker compose up -d --build

In standalone mode, the last command is docker compose --profile standalone up -d --build. The container applies new database migrations when it starts.

A restore replaces the database, the uploads and the themes with the state of a backup. The operations guide has the exact commands for backup, restore, upgrade and rollback.

Themes

A theme defines how a public page looks. On its first start madlink installs three core themes: Humilis, Aviditas and Aura. They are published in their own repositories and receive updates independently of the app.

The marketplace in the dashboard offers the themes of the official catalog, madLinux7/madlink-themes. The dashboard installs themes from this catalog only.

The superadmin installs and uninstalls themes and can grant either right to account owners. An installed theme is available to every account on the instance.

Trust

A theme is application code. It runs with the rights of the app and is not sandboxed, so install only themes you trust.

A catalog theme passes automated checks and a maintainer review before it is listed. The Verified badge means that the installed files match the reviewed commit.

Updates

madlink looks for theme updates on every start and once an hour. By default the superadmin applies them in the dashboard. With THEME_UPDATE_APPLY_MODE=auto madlink applies them right after the search.

Automatic updates skip a theme whose files were changed locally.

Write your own

The theme contract specifies what a theme consists of and what it may use. In the development container, php artisan themes:create generates a working theme from a core theme.

To offer your theme to other instances, open a pull request against the catalog repository.

Support and security

Other inquiries include commissioned work. That is an extension you order and pay for, which is then published as open source in the madlink project, possibly as an add-on module.

License

madlink, its built-in themes and derived theme templates are licensed under AGPL-3.0-or-later.

Third-party libraries and assets retain their own licenses; the versioned catalog and original notices are shipped in resources/licenses/.

Source code: madLinux7/madlink.

Operators distributing madlink or running modified network versions must provide Corresponding Source as required by the AGPL, including their modifications and build files.

This repository link alone does not establish the exact source of a deployed installation.

About

The Link-in-Bio platform for the world

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages