Claude Opus 4.8
Deploy PagsDark — site 24/7 (sem túnel, perf otimizada, OAuth e login Google corrigidos)
e0454ce Download src/platforms/index.js from pagsdark/web: direct link, hf CLI and curl.
- Browser
- Download file 526 Bytes
-
https://huggingface.co/spaces/pagsdark/web/resolve/main/src/platforms/index.js
- Command line
-
hf download hf://spaces/pagsdark/web/src/platforms/index.js
-
curl -L -o index.js https://huggingface.co/spaces/pagsdark/web/resolve/main/src/platforms/index.js
526 Bytes
| // Registro central das plataformas. Cada modulo expoe a mesma interface: | |
| // name, label, manual, connectUrl(state), handleCallback(query), publish({...}) | |
| import * as youtube from './youtube.js'; | |
| import * as instagram from './instagram.js'; | |
| import * as facebook from './facebook.js'; | |
| import * as tiktok from './tiktok.js'; | |
| export const platforms = { youtube, instagram, facebook, tiktok }; | |
| export const PLATFORM_LIST = Object.values(platforms).map((p) => ({ | |
| name: p.name, label: p.label, manual: Boolean(p.manual), | |
| })); | |