Move the three UI and page state sections onto the main page, 650 total

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-24 13:20:18 +00:00
co-authored by Claude Opus 5.5
parent 2f4f8a05e9
commit 2362f73c25
+2 -2
View File
@@ -10,8 +10,8 @@
import{readdirSync as rd,readFileSync as rf}from'fs'
import{createHash}from'crypto'
const site='https://vibegif.direct-img.link',cc0='https://creativecommons.org/publicdomain/zero/1.0/'
const sections=['bw','color','anime','manga','mini','minicolor']
const pending=['ui','uicolor','uianime'] // approved ones move up into sections
const sections=['bw','color','anime','manga','mini','minicolor','ui','uicolor','uianime']
const pending=[] // approved ones move up into sections
const hidden=['cat/tail.gif'] // same drawing as cat/wag.gif, kept so old links still work
const walk=d=>rd(d,{withFileTypes:true}).flatMap(e=>e.isDirectory()?walk(`${d}/${e.name}`):`${d}/${e.name}`)
const dims=(b,x)=>x=='gif'?[b.readUInt16LE(6),b.readUInt16LE(8)]:[b.readUIntLE(24,3)+1,b.readUIntLE(27,3)+1]