Skip to content

LocalSend Web App

LocalSend is a free and open-source cross-platform app that allows you to securely share files and messages with nearby devices over your local network without the need for an internet connection.

I use this as a self-hosted web app to transer files between my Chromebook, or other system that uses a browser.

Note

The current version of the web app is not compatible with the mobile app nor LocalSend Go

🛠 Installation

Default Port: 8080

Clone the repo.

git clone https://github.com/localsend/web.git /opt/localsend
cd /opt/localsend
sudo mkdir -p /opt/localsend
sudo chown -R $USER:$USER /opt/localsend
git clone https://github.com/localsend/web.git /opt/localsend
cd /opt/localsend

Make sure to install pnpm.

npm install -g pnpm

Get dependencies

pnpm install

Start the development server

pnpm run dev

Deployment

Generates the static website in the dist directory.

pnpm run generate

Caddy

Caddy needs to be installed to run the LXC as a webserver.

apt install -y git curl caddy
sudo apt install -y git curl caddy

âš™ Config

WIP

Caddy

/etc/caddy/Caddyfile
--8<-- "localsend/caddy/Caddyfile"

Traefik

homelab/pve/traefik/conf.d/localsend.yaml
--8<-- "traefik/conf.d/localsend.yaml"

Task List

--8<-- "localsend/task-list.txt"

🔗 References