Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/transacid/sunbar
a (swift|x|bit)bar sunset and sunrise display
https://github.com/transacid/sunbar
go golang swiftbar-plugins
Last synced: 14 days ago
JSON representation
a (swift|x|bit)bar sunset and sunrise display
- Host: GitHub
- URL: https://github.com/transacid/sunbar
- Owner: transacid
- Created: 2023-07-16T08:28:39.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-30T09:11:09.000Z (about 1 month ago)
- Last Synced: 2024-11-30T10:21:41.205Z (about 1 month ago)
- Topics: go, golang, swiftbar-plugins
- Language: Go
- Homepage:
- Size: 54.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sunbar - a (swift|x|bit)bar sunset and sunrise display
![screenshot depicting a sunset display](screenshot.png)
## Requirements
Go
### external APIs
this script uses [ipgeolocation.io](https://ipgeolocation.io/) to get the sunrise and sunset dates for you approximate location based on your IP address. The api requires an API-key that can be acquired from the website for free. since the script queries the data only one per day you won't exceed the free plan ;).
### misc
to use the compiled version do `go build -o sunbar.1m.cgo` and move it to you plugin folder. alternatively move the go sourcecode file to the plugin directory.