5 Commits
v0.1.1 ... main

Author SHA1 Message Date
40be45fc7e Update install.sh 2025-10-06 13:24:41 +00:00
ed4787d9a5 Update config.toml 2025-10-06 13:24:27 +00:00
55ce8cb1f2 Update README.md 2025-10-06 03:08:23 +00:00
c665a410e0 Update README.md 2025-10-06 03:07:42 +00:00
bca9788eec Update camera/camera.go 2025-10-06 00:52:12 +00:00
5 changed files with 7 additions and 13 deletions

View File

@@ -9,7 +9,6 @@ on:
env:
VERSION_TAG: '${{ github.ref_name }}'
CURL_TOKEN: '${{ secrets.TOKEN_GITEA }}'
GPG_SIGNING_KEY: '${{ secrets.GPG_SIGNING_KEY }}'
jobs:
goreleaser:
@@ -35,4 +34,4 @@ jobs:
args: release --clean
env:
GITEA_TOKEN: ${{ secrets.TOKEN_GITEA }}
GORELEASER_FORCE_TOKEN: gitea
GORELEASER_FORCE_TOKEN: gitea

View File

@@ -4,4 +4,7 @@ Timelapse application for my AXIS P1387-LE nature camera.
This probably could have been a bash script. But whats the fun in that?
WIP: I still want to add S3 file handling.
WIP:
- I still want to add S3 file handling.
- Convert SystemD timers of my two bash scripts into the app itself for file orginization and daily MP4 video generation.
- Setup Ntfy for scheduled notifications of yeterday, monthly, and yearly for when timelapse videos are ready.

View File

@@ -8,7 +8,6 @@ import (
"image/png"
"net/http"
"os"
"os/exec"
"strconv"
"time"
@@ -54,13 +53,6 @@ func CaptureImage() bool {
log.Fatal().Err(err).Msgf("")
} else {
log.Info().Msg("New image created: " + config.StoragePath + filename)
cmd := exec.Command("cp", config.StoragePath+filename, config.StoragePath+"/latest.png")
err := cmd.Run()
if err != nil {
log.Error().Msgf("Error copying to latest.")
}
}
}

View File

@@ -16,4 +16,4 @@ access_key = ""
secret_key = ""
[timer]
chron = "1 * * * *"
chron = "*/5 * * * *"

View File

@@ -55,7 +55,7 @@ access_key = ""
secret_key = ""
[timer]
chron = "1 * * * *"
chron = "*/5 * * * *"
EOT
info "Downloading axis_timelapse_linux_amd64..."