yofukashi

package module
v0.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 7, 2025 License: BSD-2-Clause Imports: 2 Imported by: 0

README

よふかし/yofukashi

nocturnal software for the small web

yofukashi in action (gif)

日暮/higure

nex server. only active at night.

$ higure # serves up /var/gemini
$ higure -r ~/nex # serves up nex from your homedir
$ higure -a # keeps the server open around the clock
$ higure -lat 35 # latitude for calculating dawn/dusk

星屑/hoshikuzu

nex client.

$ hoshikuzu nex://manatsu.town/
$ hoshikuzu nex://manatsu.town/sky.jpg

installation

go
% go install blekksprut.net/yofukashi/cmd/higure@latest

Documentation

Overview

Package yofukashi implements functions useful for the nocturnal small web

Index

Constants

View Source
const Version = "0.0.8"

Variables

This section is empty.

Functions

func DawnDusk added in v0.0.5

func DawnDusk(t time.Time, lat float64) (time.Time, time.Time)

DawnDusk returns the times of dawn and dusk on the day of t at latitude lat. Not very precise (on purpose).

func Daytime added in v0.0.8

func Daytime(t time.Time, lat float64) bool

func Nighttime added in v0.0.8

func Nighttime(t time.Time, lat float64) bool

Types

This section is empty.

Directories

Path Synopsis
cmd
higure
higure is a nocturnal nex server.
higure is a nocturnal nex server.
hoshikuzu
hoshikuzu is a client for the nex protocol
hoshikuzu is a client for the nex protocol
Package nex provides nex station (server) and client functionality.
Package nex provides nex station (server) and client functionality.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL