[{"data":1,"prerenderedAt":714},["ShallowReactive",2],{"docs-navigation":3,"docs:\u002Fdocs\u002Ffeatures\u002Falbums":235,"docs-surround:\u002Fdocs\u002Ffeatures\u002Falbums":709},[4],{"title":5,"path":6,"stem":7,"children":8},"Docs","\u002Fdocs","docs",[9,13,37,55,70,128,146,191,217],{"title":10,"path":6,"stem":11,"icon":12},"Hubstruct documentation","docs\u002Findex","book-open",{"title":14,"icon":15,"path":16,"stem":17,"children":18,"page":36},"Getting started","rocket","\u002Fdocs\u002Fgetting-started","docs\u002F1.getting-started",[19,24,28,32],{"title":20,"path":21,"stem":22,"icon":23},"Introduction","\u002Fdocs\u002Fgetting-started\u002Fintroduction","docs\u002F1.getting-started\u002F1.introduction",null,{"title":25,"path":26,"stem":27,"icon":23},"Requirements","\u002Fdocs\u002Fgetting-started\u002Frequirements","docs\u002F1.getting-started\u002F2.requirements",{"title":29,"path":30,"stem":31,"icon":23},"Quick start","\u002Fdocs\u002Fgetting-started\u002Fquick-start","docs\u002F1.getting-started\u002F3.quick-start",{"title":33,"path":34,"stem":35,"icon":23},"First steps","\u002Fdocs\u002Fgetting-started\u002Ffirst-steps","docs\u002F1.getting-started\u002F4.first-steps",false,{"title":38,"icon":39,"path":40,"stem":41,"children":42,"page":36},"Concepts","lightbulb","\u002Fdocs\u002Fconcepts","docs\u002F2.concepts",[43,47,51],{"title":44,"path":45,"stem":46,"icon":23},"How it works","\u002Fdocs\u002Fconcepts\u002Fhow-it-works","docs\u002F2.concepts\u002F1.how-it-works",{"title":48,"path":49,"stem":50,"icon":23},"Processing steps","\u002Fdocs\u002Fconcepts\u002Fprocessing","docs\u002F2.concepts\u002F2.processing",{"title":52,"path":53,"stem":54,"icon":23},"Media","\u002Fdocs\u002Fconcepts\u002Fmedia","docs\u002F2.concepts\u002F3.media",{"title":56,"path":57,"stem":58,"children":59,"icon":69},"Libraries","\u002Fdocs\u002Flibraries","docs\u002F3.libraries\u002F1.index",[60,61,65],{"title":56,"path":57,"stem":58,"icon":23},{"title":62,"path":63,"stem":64,"icon":23},"Storage","\u002Fdocs\u002Flibraries\u002Fs3","docs\u002F3.libraries\u002F3.s3",{"title":66,"path":67,"stem":68,"icon":23},"Uploading","\u002Fdocs\u002Flibraries\u002Fuploading","docs\u002F3.libraries\u002F4.uploading","layer-group",{"title":71,"icon":72,"path":73,"stem":74,"children":75,"page":36},"Features","wand-magic-sparkles","\u002Fdocs\u002Ffeatures","docs\u002F4.features",[76,80,84,88,92,96,100,104,108,112,116,120,124],{"title":77,"path":78,"stem":79,"icon":23},"Browsing","\u002Fdocs\u002Ffeatures\u002Fbrowsing","docs\u002F4.features\u002F01.browsing",{"title":81,"path":82,"stem":83,"icon":23},"Search","\u002Fdocs\u002Ffeatures\u002Fsearch","docs\u002F4.features\u002F02.search",{"title":85,"path":86,"stem":87,"icon":23},"Tags","\u002Fdocs\u002Ffeatures\u002Ftags","docs\u002F4.features\u002F03.tags",{"title":89,"path":90,"stem":91,"icon":23},"Albums","\u002Fdocs\u002Ffeatures\u002Falbums","docs\u002F4.features\u002F04.albums",{"title":93,"path":94,"stem":95,"icon":23},"People and faces","\u002Fdocs\u002Ffeatures\u002Fpeople","docs\u002F4.features\u002F05.people",{"title":97,"path":98,"stem":99,"icon":23},"Groups","\u002Fdocs\u002Ffeatures\u002Fgroups","docs\u002F4.features\u002F06.groups",{"title":101,"path":102,"stem":103,"icon":23},"Duplicates and stacks","\u002Fdocs\u002Ffeatures\u002Fduplicates-and-stacks","docs\u002F4.features\u002F07.duplicates-and-stacks",{"title":105,"path":106,"stem":107,"icon":23},"NSFW","\u002Fdocs\u002Ffeatures\u002Fnsfw","docs\u002F4.features\u002F08.nsfw",{"title":109,"path":110,"stem":111,"icon":23},"Trash","\u002Fdocs\u002Ffeatures\u002Ftrash","docs\u002F4.features\u002F09.trash",{"title":113,"path":114,"stem":115,"icon":23},"Home and the dashboard","\u002Fdocs\u002Ffeatures\u002Fhome-and-dashboard","docs\u002F4.features\u002F10.home-and-dashboard",{"title":117,"path":118,"stem":119,"icon":23},"Live updates and offline","\u002Fdocs\u002Ffeatures\u002Flive-updates","docs\u002F4.features\u002F11.live-updates",{"title":121,"path":122,"stem":123,"icon":23},"Appearance and the app","\u002Fdocs\u002Ffeatures\u002Fappearance","docs\u002F4.features\u002F12.appearance",{"title":125,"path":126,"stem":127,"icon":23},"Places","\u002Fdocs\u002Ffeatures\u002Fplaces","docs\u002F4.features\u002F13.places",{"title":129,"icon":130,"path":131,"stem":132,"children":133,"page":36},"Administration","sliders","\u002Fdocs\u002Fadministration","docs\u002F5.administration",[134,138,142],{"title":135,"path":136,"stem":137,"icon":23},"Users and sign-in","\u002Fdocs\u002Fadministration\u002Fusers-and-sign-in","docs\u002F5.administration\u002F1.users-and-sign-in",{"title":139,"path":140,"stem":141,"icon":23},"API keys","\u002Fdocs\u002Fadministration\u002Fapi-keys","docs\u002F5.administration\u002F2.api-keys",{"title":143,"path":144,"stem":145,"icon":23},"Processing settings","\u002Fdocs\u002Fadministration\u002Fprocessing-settings","docs\u002F5.administration\u002F3.processing-settings",{"title":147,"icon":148,"path":149,"stem":150,"children":151,"page":36},"Self-hosting","server","\u002Fdocs\u002Fself-hosting","docs\u002F6.self-hosting",[152,156,160,164,167,171,175,179,183,187],{"title":153,"path":154,"stem":155,"icon":23},"Architecture","\u002Fdocs\u002Fself-hosting\u002Farchitecture","docs\u002F6.self-hosting\u002F1.architecture",{"title":157,"path":158,"stem":159,"icon":23},"Telemetry","\u002Fdocs\u002Fself-hosting\u002Ftelemetry","docs\u002F6.self-hosting\u002F10.telemetry",{"title":161,"path":162,"stem":163,"icon":23},"Sharing one GPU","\u002Fdocs\u002Fself-hosting\u002Fgpu","docs\u002F6.self-hosting\u002F2.gpu",{"title":62,"path":165,"stem":166,"icon":23},"\u002Fdocs\u002Fself-hosting\u002Fstorage","docs\u002F6.self-hosting\u002F3.storage",{"title":168,"path":169,"stem":170,"icon":23},"Backups","\u002Fdocs\u002Fself-hosting\u002Fbackups","docs\u002F6.self-hosting\u002F4.backups",{"title":172,"path":173,"stem":174,"icon":23},"Updating","\u002Fdocs\u002Fself-hosting\u002Fupdating","docs\u002F6.self-hosting\u002F5.updating",{"title":176,"path":177,"stem":178,"icon":23},"Scaling","\u002Fdocs\u002Fself-hosting\u002Fscaling","docs\u002F6.self-hosting\u002F6.scaling",{"title":180,"path":181,"stem":182,"icon":23},"HTTPS and a domain","\u002Fdocs\u002Fself-hosting\u002Freverse-proxy","docs\u002F6.self-hosting\u002F7.reverse-proxy",{"title":184,"path":185,"stem":186,"icon":23},"Troubleshooting","\u002Fdocs\u002Fself-hosting\u002Ftroubleshooting","docs\u002F6.self-hosting\u002F8.troubleshooting",{"title":188,"path":189,"stem":190,"icon":23},"The config file","\u002Fdocs\u002Fself-hosting\u002Fconfig-file","docs\u002F6.self-hosting\u002F9.config-file",{"title":192,"icon":193,"path":194,"stem":195,"children":196,"page":36},"Reference","book","\u002Fdocs\u002Freference","docs\u002F7.reference",[197,201,205,209,213],{"title":198,"path":199,"stem":200,"icon":23},"Environment variables","\u002Fdocs\u002Freference\u002Fenvironment","docs\u002F7.reference\u002F1.environment",{"title":202,"path":203,"stem":204,"icon":23},"Worker roles","\u002Fdocs\u002Freference\u002Fworker-roles","docs\u002F7.reference\u002F2.worker-roles",{"title":206,"path":207,"stem":208,"icon":23},"API","\u002Fdocs\u002Freference\u002Fapi","docs\u002F7.reference\u002F3.api",{"title":210,"path":211,"stem":212,"icon":23},"Keyboard shortcuts","\u002Fdocs\u002Freference\u002Fkeyboard-shortcuts","docs\u002F7.reference\u002F4.keyboard-shortcuts",{"title":214,"path":215,"stem":216,"icon":23},"Models","\u002Fdocs\u002Freference\u002Fmodels","docs\u002F7.reference\u002F5.models",{"title":218,"icon":219,"path":220,"stem":221,"children":222,"page":36},"Hubstruct Cloud","cloud","\u002Fdocs\u002Fcloud","docs\u002F8.cloud",[223,227,231],{"title":224,"path":225,"stem":226,"icon":23},"Getting started with the cloud","\u002Fdocs\u002Fcloud\u002Fgetting-started","docs\u002F8.cloud\u002F1.getting-started",{"title":228,"path":229,"stem":230,"icon":23},"Plans and billing","\u002Fdocs\u002Fcloud\u002Fplans-and-billing","docs\u002F8.cloud\u002F2.plans-and-billing",{"title":232,"path":233,"stem":234,"icon":23},"Moving between cloud and self-hosted","\u002Fdocs\u002Fcloud\u002Fmoving","docs\u002F8.cloud\u002F3.moving",{"id":236,"title":89,"body":237,"description":703,"extension":704,"eyebrow":71,"icon":23,"meta":705,"navigation":706,"path":90,"seo":707,"stem":91,"__hash__":708},"docs\u002Fdocs\u002F4.features\u002F04.albums.md",{"type":238,"value":239,"toc":682},"minimark",[240,244,261,266,287,291,312,315,318,328,386,398,405,410,417,442,445,449,452,456,463,489,493,515,519,526,537,540,544,547,561,565,575,579,586,618,624,628,634,671,675],[241,242,243],"p",{},"An album is a collection of media you name. Media gets into an album in two ways, and an album can use both:",[245,246,247,255],"ul",{},[248,249,250,254],"li",{},[251,252,253],"strong",{},"By hand",": you add it, from a media's page, the right-click menu or the selection bar.",[248,256,257,260],{},[251,258,259],{},"By rules",": the album's rules pick media for you, and keep picking as the library changes.",[262,263,265],"h2",{"id":264},"the-albums-page","The Albums page",[241,267,268,270,271,275,276,278,279,282,283,286],{},[251,269,89],{}," lists the library's albums as cards (each with its mosaic, name and count) or as a table. Open one to see its media as a list you can ",[272,273,274],"a",{"href":78},"search, filter, sort and select",". An album's page has three tabs: ",[251,277,52],{},", ",[251,280,281],{},"Rules"," and ",[251,284,285],{},"Settings",".",[262,288,290],{"id":289},"adding-media-by-hand","Adding media by hand",[245,292,293,299,305],{},[248,294,295,296,298],{},"On a media's page, use the ",[251,297,89],{}," card.",[248,300,301,302,286],{},"Right-click media, or a selection, and choose ",[251,303,304],{},"Add to album…",[248,306,307,308,311],{},"With media selected, use ",[251,309,310],{},"Add to album"," in the selection bar.",[241,313,314],{},"You can make a new album from the same dialog. Media added by hand stays until you remove it, whatever the rules say.",[262,316,281],{"id":317},"rules",[241,319,320,321,324,325,327],{},"A ",[251,322,323],{},"rule"," describes media the album should have. Open the album's ",[251,326,281],{}," tab and add one. Each rule is a card in the list, saying what it asks for and what it matches; click it to open it in its editor. A rule is built from parts:",[329,330,331,344],"table",{},[332,333,334],"thead",{},[335,336,337,341],"tr",{},[338,339,340],"th",{},"Part",[338,342,343],{},"Matches",[345,346,347,362,376],"tbody",{},[335,348,349,354],{},[350,351,352],"td",{},[251,353,81],{},[350,355,356,357,361],{},"Media similar in meaning to some words, such as ",[358,359,360],"code",{},"dogs playing in snow",". All of a media's text counts: titles, descriptions, the text in it, tags, as well as its picture.",[335,363,364,369],{},[350,365,366],{},[251,367,368],{},"Like these",[350,370,371,372,375],{},"Media similar to ",[251,373,374],{},"key media"," you choose, from the media you've added to the album by hand.",[335,377,378,383],{},[350,379,380],{},[251,381,382],{},"Filters",[350,384,385],{},"The same filters as the media page: type and file type; tags, all or any of them; people, any or all of them, by confirmed faces or not; other albums, in all or any of them; when it was taken; favorites, NSFW and failed steps, yes or no.",[241,387,388,389,393,394,397],{},"A rule can have a search ",[390,391,392],"em",{},"or"," key media (it compares against one target), plus any filters. ",[251,395,396],{},"Every part a rule has must pass."," A rule with no parts matches nothing; it never means \"everything\".",[241,399,400,401,404],{},"There's ",[251,402,403],{},"no limit"," on how many media a rule picks: it matches everything that passes.",[406,407,409],"h3",{"id":408},"similarity-thresholds","Similarity thresholds",[241,411,412,413,416],{},"A rule with a search or key media matches at a ",[251,414,415],{},"similarity threshold",". In its editor, a slider sits over a histogram of how similar the whole library is to the rule's target, and as you move it, the rule shows:",[245,418,419,422,429,436],{},[248,420,421],{},"how many media it would match,",[248,423,424,425,428],{},"its ",[251,426,427],{},"strongest matches",",",[248,430,431,432,435],{},"the ",[251,433,434],{},"weakest still in",", and",[248,437,438,439,286],{},"the ones that ",[251,440,441],{},"just miss",[241,443,444],{},"Hubstruct also suggests a threshold where the similarity drops away. Similarity is a continuum (everything is a little like everything), so there's no right answer. Set it where the edge looks right to you.",[406,446,448],{"id":447},"previews","Previews",[241,450,451],{},"Every rule previews live as you edit it: its matches, and how many only it brings in, appear in its editor before you save. Save it, or cancel, from the editor; closing it with changes asks first. Switching a rule on or off, moving it and removing it save straight away, from its card. Once saved, the worker fills the album.",[406,453,455],{"id":454},"several-rules","Several rules",[241,457,458,459,462],{},"Rules don't claim media. The album's rule picks are the ",[251,460,461],{},"union"," of its switched-on rules' matches: a media in by two rules stays as long as either still matches. You can:",[245,464,465,471,477,483],{},[248,466,467,470],{},[251,468,469],{},"Switch a rule off"," to stop it picking without deleting it. Switched-off rules are still evaluated and counted, so you can see what they would do.",[248,472,473,476],{},[251,474,475],{},"Reorder"," rules: the album's default order lists each rule's picks in turn, best first.",[248,478,479,482],{},[251,480,481],{},"Duplicate"," a rule to start a similar one: it opens as a new rule below it.",[248,484,485,488],{},[251,486,487],{},"Remove"," a rule. Its picks leave the album, unless another rule or your own hand has them.",[406,490,492],{"id":491},"albums-from-albums","Albums from albums",[241,494,495,496,499,500,503,504,507,508,278,511,514],{},"A rule's filter can include ",[251,497,498],{},"other albums",": \"in ",[390,501,502],{},"Holidays"," and in ",[390,505,506],{},"Family","\", or \"in any of ",[390,509,510],{},"2023",[390,512,513],{},"2024","\". The album is then refreshed whenever an album it includes gains or loses media, after that album, so it always sees its latest members. Hubstruct refuses a rule that would make an album include itself, directly or through others.",[262,516,518],{"id":517},"how-albums-stay-up-to-date","How albums stay up to date",[241,520,521,522,525],{},"The worker's ",[251,523,524],{},"albums"," pass keeps rule picks current:",[245,527,528,531,534],{},[248,529,530],{},"When you save an album's rules, it's refreshed straight away.",[248,532,533],{},"Every 15 minutes, every album with rules is refreshed in full, because new media, new tags and new embeddings change what rules match.",[248,535,536],{},"Albums that include other albums refresh when those change.",[241,538,539],{},"New media joins the albums it matches once its steps have run. A media whose embedding isn't made yet is found by filters only, not by searches or key media.",[262,541,543],{"id":542},"taking-media-out","Taking media out",[241,545,546],{},"Removing a media from an album:",[245,548,549,555],{},[248,550,551,554],{},[251,552,553],{},"Added by hand",": it's simply removed.",[248,556,557,560],{},[251,558,559],{},"Picked by a rule",": it's removed, and the album remembers. The rules won't pick it again, so a rule that's slightly too broad doesn't keep putting back what you took out.",[406,562,564],{"id":563},"why-is-this-media-in-or-not","Why is this media in, or not?",[241,566,567,568,570,571,574],{},"On a media's page, the ",[251,569,89],{}," card shows each album it's in and ",[390,572,573],{},"how",": by hand, or by which rules. For any album, you can see every one of its rules judged against this media: whether it matches, and if not, why. Either its similarity falls short of what the rule needs (shown on a bar around the threshold), or a filter fails. Each links to the album's rules, so you can adjust them.",[262,576,578],{"id":577},"its-order","Its order",[241,580,581,582,585],{},"An album's default order is the media you added by hand first, then each rule's picks in turn. You can give it ",[251,583,584],{},"its own order"," instead:",[245,587,588,602,612],{},[248,589,590,593,594,597,598,601],{},[251,591,592],{},"Keep a sort",": sort the album by anything (date taken, title, views…) and choose ",[251,595,596],{},"Keep"," in the toolbar's ",[390,599,600],{},"Album order"," group. That becomes the album's own order, whatever the list is sorted by, until you reset it.",[248,603,604,607,608,611],{},[251,605,606],{},"Place one media",": choose ",[251,609,610],{},"Set position…"," from its menu on the album's Media page and give it a number. 1 is first.",[248,613,614,617],{},[251,615,616],{},"Reset"," returns to the default order.",[241,619,620,621,623],{},"In the table view, ",[251,622,600],{}," is a column you can sort by.",[262,625,627],{"id":626},"its-look","Its look",[241,629,630,631,633],{},"In the album's ",[251,632,285],{},":",[245,635,636,645,655,665],{},[248,637,638,282,641,644],{},[251,639,640],{},"Name",[251,642,643],{},"description"," (up to 200 and 2,000 characters).",[248,646,647,650,651,654],{},[251,648,649],{},"Color",": the album's color, which marks it everywhere: its dot, the wash over its picture and its page's header. Leave it on ",[251,652,653],{},"Auto"," to have one picked from the name.",[248,656,657,660,661,664],{},[251,658,659],{},"Cover",": the media shown first in the album's picture. Choose ",[251,662,663],{},"Make album cover"," from a media's menu on the album's Media page; clear it to go back to the album's first media.",[248,666,667,670],{},[251,668,669],{},"Delete"," the album. Its media isn't deleted, only the album.",[406,672,674],{"id":673},"the-albums-picture","The album's picture",[241,676,677,678,681],{},"An album's picture is a ",[251,679,680],{},"mosaic"," of its first few media, made on the server. It's remade only when the media in it change, so it's cached in your browser the rest of the time. NSFW media in a mosaic are drawn as their blurred placeholders when NSFW hiding is on. Tags and people have mosaics too.",{"title":683,"searchDepth":684,"depth":684,"links":685},"",3,[686,688,689,695,696,699,700],{"id":264,"depth":687,"text":265},2,{"id":289,"depth":687,"text":290},{"id":317,"depth":687,"text":281,"children":690},[691,692,693,694],{"id":408,"depth":684,"text":409},{"id":447,"depth":684,"text":448},{"id":454,"depth":684,"text":455},{"id":491,"depth":684,"text":492},{"id":517,"depth":687,"text":518},{"id":542,"depth":687,"text":543,"children":697},[698],{"id":563,"depth":684,"text":564},{"id":577,"depth":687,"text":578},{"id":626,"depth":687,"text":627,"children":701},[702],{"id":673,"depth":684,"text":674},"Albums by hand and albums with rules. How rules match, similarity thresholds, previews, why a media is or isn't in, an album's own order, and its look.","md",{},true,{"title":89,"description":703},"soaLpdOWjwycC7LC6uWa5PyNsqvKmqA5wkaoSAARmGk",[710,712],{"title":85,"path":86,"stem":87,"description":711,"children":-1},"Regular and smart tags. How the classifier scores them, how thresholds and locks work, and renaming, merging and deleting.",{"title":93,"path":94,"stem":95,"description":713,"children":-1},"How faces are found, how people are suggested and grow, the review queue, confirming and correcting faces, and real versus drawn faces.",1795744072721]