sleepforge

A tool that generates long-form ambient sleep audio and video, and uploads it to its operator's own YouTube channel.

What it does

sleepforge synthesises hour-long sleep soundscapes — rain, fire, ocean, brown noise — from scratch in code rather than from sampled recordings. Each one is paired with a generated abstract visual and rendered to a single video file.

Audio is generated for the full duration and never loops, because repetition is audible over an hour. The video is a short seamless loop repeated to length, because repetition there is not.

Why it uses the YouTube API

The operator runs sleepforge on their own machine to publish to their own YouTube channel. It uses the YouTube Data API for one thing: uploading a finished video, with its title, description and thumbnail, to the channel belonging to the person running it.

It requests a single scope, youtube.upload. It does not read, modify or delete existing videos, and it does not read channel analytics, comments or subscriber data.

Who it is for

This is a personal tool, not a hosted service. There are no accounts and no other users: the only person who authorises it is the person who installed it, and it acts only on their behalf.