Small Bun fullstack app to extract attachment image URLs from Poe share links.
/serves a minimal UI where you paste a Poe share URL and press Enter./api/share?url=...fetches the share HTML and extracts attachment URLs from__NEXT_DATA__.- The browser downloads attachments directly and builds a zip locally with client-zip.
To install dependencies:
bun install --productionTo run locally:
bun run server.tsOpen http://localhost:3000.
To build a standalone executable:
bun run build.tsTo run:
./fullstackrailway env:
RAILPACK_BUILD_CMD="bun run build.ts"
RAILPACK_START_CMD="./fullstack"
RAILPACK_INSTALL_CMD="bun install --production"
RAILPACK_PACKAGES="bun@latest"
!TODO: in build.ts, programatically adjust "version" to git commit id, so we dont have to manually change.