DCsunset / clip-share

Self-hosted service to share clipboard content with other devices.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

clip-share

Docker Image Size license

Self-hosted service to share clipboard content with other devices.

Screenshots

Screenshot

Usage

Run the container image:

docker run -it -p 8080:80 dcsunset/clip-share

Then visit http://localhost:8080.

Server

You can build and run the server from source:

cd server
npm run build
npm start

The server listens at http://0.0.0.0:3000 by default in production mode. The address and port to bind can be changed using environment variables ADDR and PORT.

Web UI

Usage

Pre-built files can be found in GitHub releases.

Or you can build and run the repo from source:

cd webui
npm run build
# server the static content with any http server
http-server ./dist

Trouble shooting

To make paste and autoCopy work. currently for Firefox (v101), dom.events.testing.asyncClipboard must be enabled in about:config.

For chromium-based browsers, a dialog will be prompted to ask for clipboard permission automatically.

License

AGPL-3.0 License.

Copyright notice:

Copyright (C) 2022  DCsunset

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.

About

Self-hosted service to share clipboard content with other devices.

License:GNU Affero General Public License v3.0


Languages

Language:TypeScript 98.3%Language:Dockerfile 0.9%Language:HTML 0.6%Language:Shell 0.2%Language:CSS 0.0%