Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jtolio/workpresence
https://github.com/jtolio/workpresence
Last synced: 23 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/jtolio/workpresence
- Owner: jtolio
- License: apache-2.0
- Created: 2023-07-27T16:06:09.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-08T15:15:15.000Z (about 1 year ago)
- Last Synced: 2024-06-19T16:39:16.931Z (5 months ago)
- Language: Go
- Size: 41 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# workpresence
one thing i miss about being in the office (because i'm a procrastinator and have bad executive function)
is the feeling of other people in the office occasionally looking over my shoulder. it's a good motivator
to stay on task. i want to stay on task, but facebook has psychologists trying to get me to go refresh a
feed (my last solution to this problem is https://github.com/jtolio/twitoderm)so this is my new thing. once you have the storj uplink CLI set up, you make
a bucket:```
uplink mb sj://bucket
```then you generate listing credentials:
```
uplink share --register --disallow-reads --disallow-writes --disallow-deletes sj://bucket/path-prefix/
```you run workpresence like:
```
go install github.com/jtolio/workpresence@latest
workpresence \
--screenshots.command "command-that-makes-a-png-screenshot-with-filename {{.Output}}" \
--storage.uplink-access "your-general-access-grant" \
--storage.bucket "bucket" \
--storage.path-prefix "path-prefix/" \
--storage.listing-access-key "listing-access-key" \
--storage.listing-secret-key "listing-secret-key"
```and then to generate DNS records:
```
uplink share --dns=workpres.yourdomain.com --tls sj://bucket/path-prefix/
```and https://workpres.yourdomain.com will host a livestream of snapshots of your desktop.
There is a control page at http://localhost:3333/ where you can pause/resume the snapshot generation
if you need to do something private for a second.### License
Released under Apache v2 license. See LICENSE file.