Skip to content

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

License

Notifications You must be signed in to change notification settings

erosennin9002/linkpage

 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 63.5%
  • HTML 30.6%
  • CSS 5.0%
  • Dockerfile 0.9%