linkpage

command module
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 25, 2021 License: BSD-2-Clause Imports: 22 Imported by: 0

README

LinkPage Zerodha Tech

LinkPage is a FOSS self-hosted alternative to link listing websites such as LinkTree and Campsite.bio

Features

  • Self hostable and open source
  • Responsive and customizable design
  • Admin panel with custom link ordering
  • Fetch details (thumbnail, description) directly from the link using OpenGraph tags
  • Minimal JavaScript with cached Go templating for the homepage
  • Anonymized link click tracking
  • Simple sqlite3 setup for getting started instantly
  • Basic Auth for admin endpoints
  • Social Icons

Demo

Home
Admin

Get Started

  1. Download the latest release
  2. Decompress the archive
  3. Run the app using ./linkpage --init, this will generate an empty sqlite database and config file in your local directory.
  4. Now you can run the app using ./linkpage, goto the /admin page to add new entries.
  5. Default login for admin page is "username" and "password".
Using Docker

You can also use docker to run linkpage. Running the following command in will initialize the config file and database file for you in a docker volume called linkpage.

docker run -v linkpage:/linkpage -p 8000:8000 rhnvrm/linkpage:latest ./linkpage --init

After this, you can run the following command to start the app.

docker run -v linkpage:/linkpage -p 8000:8000 rhnvrm/linkpage:latest ./linkpage

Developer Setup

  1. git clone https://github.com/rhnvrm/linkpage.git

  2. Initialize SQL schema from schema.sql by copying the schema using sqlite:

sqlite3 app.db

sqlite> (paste and run schema)
  1. Edit config.toml

  2. Run the app

go run main.go

  1. Insert new entries under /admin page.

Websites using LinkPage

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL