yofukashi

package module
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2025 License: BSD-2-Clause Imports: 2 Imported by: 1

README

よふかし/yofukashi

nocturnal software for the small web

yofukashi in action (gif)

日暮/higure

nex server. only active at night.

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

星屑/hoshikuzu

nex client.

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

author

蜂谷栗栖

installation

go
$ go install blekksprut.net/yofukashi/cmd/higure@latest
$ go install blekksprut.net/yofukashi/cmd/hoshikuzu@latest

Documentation

Overview

Package yofukashi implements functions useful for the nocturnal small web

Index

Constants

View Source
const Version = "0.2.0"

Variables

This section is empty.

Functions

func DawnDusk added in v0.0.5

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

DawnDusk returns dawn and dusk on day t at latitude lat and longitude lon.

func Daytime added in v0.0.8

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

Daytime returns true if t is after dawn and before dusk

func Nighttime added in v0.0.8

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

Nighttime returns true if t is after dusk and before dawn

Types

This section is empty.

Directories

Path Synopsis
cmd
higure command
higure is a nocturnal nex server.
higure is a nocturnal nex server.
hoshikuzu command
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