mirror of
https://github.com/direct-img/vibegif.direct-img.link.git
synced 2026-10-29 03:34:51 +00:00
Add minimalist creature sections, 50 black-and-white and 50 colored
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@
|
||||
// tile images get ?v=<hash> so browsers drop old copies when a file changes, links stay clean for hotlinking
|
||||
import{readdirSync as rd,readFileSync as rf}from'fs'
|
||||
import{createHash}from'crypto'
|
||||
const sections=['bw','color','anime','manga']
|
||||
const sections=['bw','color','anime','manga','mini','minicolor']
|
||||
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]
|
||||
|
||||
Reference in New Issue
Block a user