Add Linkwarden (#1083)

This commit is contained in:
DrMxrcy 2023-08-27 16:15:53 -04:00 committed by GitHub
parent cc71d109c9
commit 01469c9046
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 117 additions and 0 deletions

View File

@ -0,0 +1,30 @@
{
"$schema": "../schema.json",
"name": "Linkwarden",
"port": 8199,
"available": true,
"exposable": true,
"id": "linkwarden",
"tipi_version": 1,
"supported_architectures": ["amd64"],
"version": "v1.0.1",
"categories": ["data"],
"description": "A self-hosted, open-source collaborative bookmark manager to collect, organize and archive webpages.",
"short_desc": "A self-hosted, open-source collaborative bookmark manager",
"author": "Linkwarden",
"source": "https://github.com/linkwarden/linkwarden",
"form_fields": [
{
"type": "random",
"label": "Linkwarden DB Password",
"min": 32,
"env_variable": "LINKWARDEN_DB_PASSWORD"
},
{
"type": "random",
"label": "Linkwarden Nextauth Secret",
"min": 32,
"env_variable": "LINKWARDEN_NEXTAUTH_SECRET"
}
]
}

View File

@ -0,0 +1,57 @@
version: "3.7"
services:
linkwarden:
image: ghcr.io/selfhostedhub/linkwarden:v1.0.1
container_name: linkwarden
environment:
- DATABASE_URL=postgresql://tipi:${LINKWARDEN_DB_PASSWORD}@linkwarden-db:5432/linkwarden
- NEXTAUTH_SECRET=${LINKWARDEN_NEXTAUTH_SECRET}
- NEXTAUTH_URL=${APP_PROTOCOL:-http}://${APP_DOMAIN}
restart: unless-stopped
volumes:
- ${APP_DATA_DIR}/data/linkwarden:/data/data
ports:
- ${APP_PORT}:3000
depends_on:
- linkwarden-db
networks:
- tipi_main_network
labels:
# Main
traefik.enable: true
traefik.http.middlewares.linkwarden-web-redirect.redirectscheme.scheme: https
traefik.http.services.linkwarden.loadbalancer.server.port: 3000
# Web
traefik.http.routers.linkwarden-insecure.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.linkwarden-insecure.entrypoints: web
traefik.http.routers.linkwarden-insecure.service: linkwarden
traefik.http.routers.linkwarden-insecure.middlewares: linkwarden-web-redirect
# Websecure
traefik.http.routers.linkwarden.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.linkwarden.entrypoints: websecure
traefik.http.routers.linkwarden.service: linkwarden
traefik.http.routers.linkwarden.tls.certresolver: myresolver
# Local domain
traefik.http.routers.linkwarden-local-insecure.rule: Host(`linkwarden.${LOCAL_DOMAIN}`)
traefik.http.routers.linkwarden-local-insecure.entrypoints: web
traefik.http.routers.linkwarden-local-insecure.service: linkwarden
traefik.http.routers.linkwarden-local-insecure.middlewares: linkwarden-web-redirect
# Local domain secure
traefik.http.routers.linkwarden-local.rule: Host(`linkwarden.${LOCAL_DOMAIN}`)
traefik.http.routers.linkwarden-local.entrypoints: websecure
traefik.http.routers.linkwarden-local.service: linkwarden
traefik.http.routers.linkwarden-local.tls: true
linkwarden-db:
container_name: linkwarden-db
image: postgres
restart: unless-stopped
environment:
- POSTGRES_USER=tipi
- POSTGRES_PASSWORD=${LINKWARDEN_DB_PASSWORD}
- POSTGRES_DB=linkwarden
volumes:
- ${APP_DATA_DIR}/data/postgres:/var/lib/postgresql/data
networks:
- tipi_main_network

View File

@ -0,0 +1,30 @@
# Linkwarden
## [](https://github.com/linkwarden/linkwarden#intro--motivation)Intro & motivation
**Linkwarden is a self-hosted, open-source collaborative bookmark manager to collect, organize and archive webpages.** The objective is to organize useful webpages and articles you find across the web in one place, and since useful webpages can go away (see the inevitability of [Link Rot](https://www.howtogeek.com/786227/what-is-link-rot-and-how-does-it-threaten-the-web/)), Linkwarden also saves a copy of each webpage as a Screenshot and PDF, ensuring accessibility even if the original content is no longer available.
Additionally, Linkwarden is designed with collaboration in mind, sharing links with the public and/or allowing multiple users to work together seamlessly.
[![](https://github.com/linkwarden/linkwarden/raw/main/assets/showcase_image.png)](https://github.com/linkwarden/linkwarden/blob/main/assets/showcase_image.png)
**A bit of a "history"** Linkwarden has been completely rebuilt and redesigned from ground up, so pretty much the only thing it has in common with its predecessor is the idea behind it - bookmark management.
## Features
- ✅ Auto capture a screenshot and a PDF of each link.
- ✅ Organize links by collection, name, description and multiple tags.
- ✅ Collaborate on gathering links in a collection.
- ✅ Customize the permissions of each member.
- ✅ Share your collected links with the world.
- ✅ Search, filter and sort by link details.
- ✅ Responsive design and supports most browsers.
## Screenshots
[![](https://github.com/linkwarden/linkwarden/raw/main/assets/collections.png)](https://github.com/linkwarden/linkwarden/blob/main/assets/collections.png)
[![](https://github.com/linkwarden/linkwarden/raw/main/assets/collaborators.png)](https://github.com/linkwarden/linkwarden/blob/main/assets/collaborators.png)
[![](https://github.com/linkwarden/linkwarden/raw/main/assets/link_details.png)](https://github.com/linkwarden/linkwarden/blob/main/assets/link_details.png)

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB