Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rhnvrm/linkpage
LinkPage is a FOSS self-hosted alternative to link listing websites such as LinkTree and Campsite.bio
https://github.com/rhnvrm/linkpage
Last synced: 16 days ago
JSON representation
LinkPage is a FOSS self-hosted alternative to link listing websites such as LinkTree and Campsite.bio
- Host: GitHub
- URL: https://github.com/rhnvrm/linkpage
- Owner: rhnvrm
- License: bsd-2-clause
- Created: 2021-04-16T16:46:53.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-09-21T17:23:03.000Z (about 2 months ago)
- Last Synced: 2024-10-14T09:52:34.403Z (30 days ago)
- Language: Go
- Homepage:
- Size: 484 KB
- Stars: 65
- Watchers: 3
- Forks: 8
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# LinkPage [![Zerodha Tech](https://zerodha.tech/static/images/github-badge.svg)](https://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
0. `git clone https://github.com/rhnvrm/linkpage.git`
1. Initialize SQL schema from `schema.sql` by copying the schema using sqlite:
```
sqlite3 app.dbsqlite> (paste and run schema)
```2. Edit `config.toml`
3. Run the app
`go run main.go`
4. Insert new entries under `/admin` page.
## Websites using LinkPage
- [links.zrd.sh](https://links.zrd.sh)