TeaNode · Documentation · Source

Photos

Your photos and videos are kept on your server, beside your mail, contacts and calendars. The phone app, on an iPhone or on Android, backs up its library in the background; the dashboard's Photos page, the app and the command line browse, upload and organize it; and your agent finds, looks at and files photos for you. Photos are on from the first start, also on a server that runs only the assistant, and an operator can turn them off under Manage → Server → Setup.

Getting them in

The same picture is stored once however many times or ways it arrives, so a photo kept from a chat and then backed up from the phone takes no extra room. Pictures can be JPEG, PNG, GIF, WebP or HEIC, and videos are given a version every browser can play.

Finding them

The library is shown by year, by month or all at once, with favorites, albums, people and a Trash that empties itself after thirty days (the operator's photos.trashRetention). Search by place, date, camera, file name or what is in the photo, or ask your agent for "the pictures from the lake last summer".

Each new picture or video taken in the last 30 days is read as it arrives: described in a few words, so a search finds it by what is in it. A video is read from up to six frames cut evenly across the clip. A receipt in one is recorded in Finance and matched to its charge, unless the same purchase is recorded already from its mail; a statement's transactions go into the account you imported its statements into before; a paystub or a W-2 is kept with your tax documents. A photo's details say what it was read as. Turn this off with Read new photos in your preferences.

Older photos are looked at only when needed: when you ask about one, or when narrowing by date and place is not enough, and what was seen is kept the same way. A photo that is read is sent to the model service your server uses.

People

Faces are found on your server itself, by a small program that ships with it, and grouped by likeness. A group is nobody until you name it by choosing a contact from your address book, and your agent never names a face by guessing. Merge two groups that are one person, take out a face that is somebody else, or hide a group. Find faces in my photos switches it off, which deletes the faces and names found so far and leaves the photos alone.

Where a photo was taken

The place comes from the photo itself, named from a table of cities that ships with the server, so naming needs no map service. A photo from a camera with no GPS, or one placed in the wrong town, is corrected with Change location in its details or in Select, for one photo or up to 500 at once; removing a place is for good, and copies already shared keep it.

Albums and sharing

Make albums by hand, or take one of the trips and events the server suggests from photos that are in no album yet. An album can be shared with somebody you share a circle with, or with the whole circle:

Each share says whether it includes where the photos were taken. A circle can also keep albums of its own, which every member reads and adds to.

Storage

The originals go to the server's storage (storage.directory, or an S3 bucket), not the database. A library grows large, so put that storage on a disk with room for it, and back it up as well as the database: a backup of the database alone is not a backup of the photos. The operator sets how much each person may keep.

Every action here is also a command: teanode photo --help lists them, and the command line reference has the details.

Documentation

Getting started

Running it

Security

Contributing

Every document is also plain markdown, listed in /llms.txt.