| English | 中文 |
AirClipboard combines the convenience of Snapdrop with the functionality of an online clipboard, enabling seamless file sharing and clipboard management between devices.
Snapdrop is a browser-based local file-sharing service inspired by Apple’s AirDrop. It allows devices on the same network to automatically discover each other and supports peer-to-peer file transfer between devices.
Features:
The online clipboard provides a simple and convenient way to manage clipboard content.
Features:
/${board_name}.To install and start using AirClipboard, follow these steps:
Clone the Project Repository
git clone https://github.com/r0n9/airclipboard.git
cd airclipboard
Install Dependencies
go mod tidy
Build the Project
go build -o airclipboard
Run the Application
You can configure the program using command-line arguments when running:
./airclipboard --cache-type=redis --redis-addr=localhost:6379 --redis-password=yourpassword --redis-db=0
--cache-type: Type of cache, can be memory or redis. Defaults to memory.--redis-addr: Address of the Redis server, defaults to localhost:6379.--redis-password: Password for the Redis server (if needed), defaults to ******.--redis-db: Redis database number, defaults to 0.Alternatively, Start with Docker
Run the Docker container:
# start with memory cache
docker run -p 18128:18128 r0n9/airclipboard
# start with redis cache
docker run -p 18128:18128 r0n9/airclipboard --cache-type=redis --redis-addr=localhost:6379 --redis-password=yourpassword --redis-db=0
visit http://your-host-ip:18128 and enjoy
We welcome contributions from the community. If you wish to contribute code, please Fork the repository and submit a Pull Request. For major changes, please open an Issue first to discuss your proposals.
AirClipboard is open-source and available under the GNU License.