Skip to content

omega0verride/clippy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clippy

A simple web app that I created to use as a shared clipboard and file-share service.

❗Disclaimer: partially vibe-coded.

The app uses sockets to make sure the data is updated in real time.
It uses basic auth and has some other security features:

  1. Allows a maximum of 5 connected users at a time (configurable).
  2. Users are disconnected from the server after 2 minutes of inactivity (configurable).
  3. The clipboard is capped at 1MB capacity (configurable).
  4. File uploads are capped to 10GB total capacity (configurable).

Configs

Environment Variable Required Default Value Type Description
AUTH_USER Yes String Username for HTTP Basic Authentication. Server will not start if missing or empty.
AUTH_PASS Yes String Password for HTTP Basic Authentication. Server will not start if missing or empty.
MAX_TEXT_SIZE No 1048576 (1 MB) Integer Maximum allowed size (in bytes) for clipboard text content.
MAX_STORAGE_SIZE No 10737418240 (10 GB) Integer Maximum total disk usage (in bytes) for uploaded files.
MAX_CLIENTS No 5 Integer Maximum number of concurrent WebSocket clients allowed.
IDLE_TIMEOUT No 120 Integer WebSocket idle timeout in seconds before disconnecting a client.

Screenshots

image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors