#+HTML_HEAD:
#+HTML_HEAD:
#+EXPORT_FILE_NAME: index
#+TITLE: Cetus
Cetus is a simple wallpaper management tool written in Go. It supports multiple
sources for fetching the background.
| Project Home | [[https://andinus.nand.sh/projects/cetus/][Cetus]] |
| Source Code | [[https://framagit.org/andinus/cetus][Andinus / Cetus]] |
*Note*: Cetus is a work in-progress & many features are yet to be implemented.
*Dependency*: [[https://feh.finalrewind.org/][feh]]
* NASA Astronomy Picture of the Day
cetus-nasa uses NASA's API to get the Astronomy Picture of the Day.
** Features
- set APOD as background
- fetch information on APOD
- choose custom date
- choose date randomly
** Examples
#+BEGIN_SRC sh
# set currently APOD as background
cetus-nasa
# set date randomly
cetus-nasa -random
# set 2020-01-05 APOD as background
cetus-nasa -date 2020-01-05
# change api endpoint & api key
cetus-nasa -api https://api.nasa.gov/planetary/apod \
-api-key DEMO_KEY
# don't set background, just fetch information
cetus-nasa -fetch-only
# don't output anything
cetus-nasa -quiet
# don't set background, just fetch & don't output anything
cetus-nasa -quiet -fetch-only # why would anyone do this?
#+END_SRC
* Demo
I just run some cetus commands on my computer, nothing fancy. I'll make better
demo videos someday.
*Note*: Cetus was restructured multiple times & these demos may not work on the
latest release.
| Version | Video |
|---------+----------------------------------------------------------------------|
| v0.3.1 | https://diode.zone/videos/watch/0808c512-315a-4dab-9526-4a537e8c3257 |
| v0.2.0 | https://diode.zone/videos/watch/12db31e1-3517-4888-ad06-55f3859447a1 |
* Installation
** Binary
| | [[https://framagit.org/andinus/cetus/-/jobs/700844/artifacts/browse][Cetus Artifacts]] |
|-----------------+--------------------------|
| OpenBSD amd64 | [[https://framagit.org/andinus/cetus/-/jobs/700844/artifacts/file/cetus-nasa-openbsd-amd64][cetus-nasa-openbsd-amd64]] |
| GNU/Linux amd64 | [[https://framagit.org/andinus/cetus/-/jobs/700844/artifacts/file/cetus-nasa-linux-amd64][cetus-nasa-linux-amd64]] |
** From Source
#+BEGIN_SRC sh
# get master branch archive
curl -o cetus-master.tar.gz \
https://framagit.org/andinus/cetus/-/archive/master/cetus-master.tar.gz
# extract the archive
tar -xzf cetus-master.tar.gz
# install cetus
cd cetus-master && \
go install ./cmd/cetus-nasa
#+END_SRC