https://github.com/imtoori/multiversal-clipboard
Android and golang apps to share clipboard between mac and smartphone using firebase
https://github.com/imtoori/multiversal-clipboard
android clipboard clipboard-sync firebase firebase-database go golang
Last synced: about 1 year ago
JSON representation
Android and golang apps to share clipboard between mac and smartphone using firebase
- Host: GitHub
- URL: https://github.com/imtoori/multiversal-clipboard
- Owner: imtoori
- License: mit
- Created: 2018-04-11T14:14:29.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-04-11T21:05:40.000Z (about 8 years ago)
- Last Synced: 2025-03-27T14:55:25.095Z (about 1 year ago)
- Topics: android, clipboard, clipboard-sync, firebase, firebase-database, go, golang
- Language: Kotlin
- Homepage:
- Size: 16.3 MB
- Stars: 9
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
**v0.1**
# multiversal-clipboard
Android and golang apps to share clipboard between Mac and smartphone using firebase

## Why?
Ios already has this feature with Mac os, but Android doesn't.
Using these apps we're able to have a shared clipboard between mac os and Android devices.
## Installation
- To install the Android app download the apk and install it normally. Then open the app and click on register and copy the userId.
- To install the app on Mac os just download the binary file and run it with `./multiversal-clipboard `
### Development
If you want to develop or to install with your own firebase project you need to:
- create a firebase project
- add the android app to firebase and download the google-services.json and add it in the project
- install and configure golang
- install dep (https://github.com/golang/dep)
- cd in project/go and run `dep ensure`
- create a service account key on firebase and download the json
- fill the struct in main.gop according to the json
- set the database url in main.go
## How it works?
The system uses the firebase realtime database.
On android there is a service running in background listening for changes on the userId node and on clipboard events.
In golang a cron monitors both the clipboard and the firebase database.
## Contributions
Contributions of any kind are more than welcome!
Feel free to fork and improve multiversal-clipboard in any way you want, make a pull request, or open an issue.
## Acknowledgements
Portions of this project utilize the following copyrighted material, the use of which is hereby acknowledged:
- https://github.com/robfig/cron
- https://github.com/getlantern/systray
## Upcoming
- [ ] Better Android app design
- [ ] Deploy Android app on play store
- [ ] Ability to set custom userId/account
- [ ] Add some ux on Mac os using systray
- [ ] Port on windows/linux
- [ ] Share the clipboard with more than one device
- [ ] Encrypt clipboards