11 Commits
Author SHA1 Message Date
remco d9ed87ec59 chore(deps): update All dependencies
CI / check (pull_request) Successful in 26s
CI / release (pull_request) Skipped
CI / deploy (pull_request) Skipped
2026-08-04 17:00:36 +00:00
openhands 2e87e5bf09 chore: remove test-cf.ts (puppeteer no longer used)
CI / check (push) Successful in 25s
CI / release (push) Skipped
CI / deploy (push) Successful in 56s
2026-08-04 18:46:31 +02:00
openhands b87c9a5b8d chore: remove puppeteer CF bypass (not working for Leet/Hubbly/Habblet)
CI / check (push) Failing after 14s
CI / release (push) Skipped
CI / deploy (push) Skipped
Cloudflare has strengthened protection on these hotels.
Puppeteer-based bypass returns HTML instead of JSON.
cloudscraper has dependency issues with Node.js v26.

Reverted to simple HTTP fetch with clear error messages.
2026-08-04 18:45:10 +02:00
openhands 5c60ce364c chore: remove cf-fetch.ts (puppeteer CF bypass not working for Leet/Hubbly/Habblet)
Cloudflare has strengthened protection on these hotels.
Puppeteer-based bypass returns HTML instead of JSON.
cloudscraper has dependency issues with Node.js v26.

Reverting to simple HTTP fetch with clear error messages.
2026-08-04 18:42:20 +02:00
openhands cef068ff3c fix: remove stealth plugin to eliminate rimraf crash, use plain puppeteer
CI / check (push) Successful in 26s
CI / release (push) Skipped
CI / deploy (push) Successful in 45s
2026-08-04 18:36:52 +02:00
openhands 7137b046d7 fix: improve error handling in CF bypass to prevent server crashes
CI / check (push) Successful in 24s
CI / deploy (push) Successful in 43s
CI / release (push) Skipped
2026-08-04 18:28:35 +02:00
openhands c565351c2f fix: improve CF challenge detection and add timeout in cf-fetch
CI / check (push) Successful in 24s
CI / release (push) Skipped
CI / deploy (push) Successful in 1m1s
2026-08-04 18:17:20 +02:00
openhands 847febbe64 fix: handle cleanup errors gracefully in cf-fetch
CI / check (push) Successful in 25s
CI / release (push) Skipped
CI / deploy (push) Successful in 46s
2026-08-04 18:13:41 +02:00
openhands 0bf6133775 fix: add puppeteer packages to serverExternalPackages to prevent Next.js build errors
CI / check (push) Successful in 25s
CI / release (push) Skipped
CI / deploy (push) Successful in 49s
2026-08-04 18:09:08 +02:00
openhands af8b59e024 fix: use dynamic imports for puppeteer to prevent Next.js build errors
CI / check (push) Successful in 24s
CI / release (push) Skipped
CI / deploy (push) Successful in 48s
puppeteer-extra cannot be statically imported in Next.js server bundles.
Using dynamic import() so puppeteer is only loaded at runtime, not at build time.
2026-08-04 18:05:01 +02:00
openhands a338f9cb72 feat: add Cloudflare bypass to fetchSourceFurnidata using puppeteer
CI / check (push) Successful in 23s
CI / release (push) Skipped
CI / deploy (push) Failing after 41s
- Add cf-fetch.ts with puppeteer-extra + stealth plugin for CF bypass
- Modify fetchSourceFurnidata to detect CF challenge and retry with puppeteer
- Restore Leet, Hubbly, and Habblet City to clone sources (now CF-protected)
2026-08-04 18:02:16 +02:00
4 changed files with 386 additions and 935 deletions

No files matched your search

+2 -3
View File
@@ -42,6 +42,7 @@
"@hookform/resolvers": "^5.7.1",
"@tanstack/react-virtual": "^3.14.9",
"class-variance-authority": "^0.7.1",
"cloudscraper": "^4.6.0",
"clsx": "^2.1.1",
"cmdk": "^1.1.1",
"croner": "^10.0.1",
@@ -66,6 +67,7 @@
"react": "^19.2.8",
"react-dom": "^19.2.8",
"react-hook-form": "^7.84.0",
"request": "^2.88.2",
"resend": "^6.18.1",
"server-only": "^0.0.1",
"sharp": "^0.35.3",
@@ -92,9 +94,6 @@
"lint-staged": "^17.3.0",
"pino-pretty": "^13.1.3",
"postcss": "^8.5.25",
"puppeteer": "^25.5.0",
"puppeteer-extra": "^3.3.6",
"puppeteer-extra-plugin-stealth": "^2.11.2",
"tailwindcss": "^4.3.3",
"tsx": "^4.23.5",
"typescript": "^7.0.2",
+377 -694
View File
File diff suppressed because it is too large. Load diff
-231
View File
@@ -1,231 +0,0 @@
import { writeFileSync } from "node:fs";
import puppeteer from "puppeteer-extra";
import StealthPlugin from "puppeteer-extra-plugin-stealth";
puppeteer.use(StealthPlugin());
const UA =
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) " +
"AppleWebKit/537.36 (KHTML, like Gecko) " +
"Chrome/120.0.0.0 Safari/537.36";
interface CloneSource {
id: string;
name: string;
furnidataUrl: string;
nitroBaseUrl: string;
iconBaseUrl: string;
}
const sources: CloneSource[] = [
{
id: "default-habbo",
name: "Habbo",
furnidataUrl:
"https://raw.githubusercontent.com/Izzxt/habbo-resource/master/gamedata/furnidata.json",
nitroBaseUrl: "",
iconBaseUrl: "",
},
{
id: "default-wibbo",
name: "Wibbo",
furnidataUrl: "https://assets.wibbo.org/gamedata/FurnitureData.json",
nitroBaseUrl: "https://assets.wibbo.org/bundled/furniture",
iconBaseUrl: "https://assets.wibbo.org/icons",
},
{
id: "default-hubba",
name: "Hubba.cc",
furnidataUrl: "https://nitro.hubba.cc/gamedata/FurnitureData.json",
nitroBaseUrl: "https://nitro.hubba.cc/bundled/furniture",
iconBaseUrl: "",
},
{
id: "default-leet",
name: "Leet",
furnidataUrl: "https://www.leet.ws/gamedata/furnidata.json",
nitroBaseUrl: "https://www.leet.ws/nitro/bundled/furniture",
iconBaseUrl: "https://www.leet.ws/nitro/icons",
},
{
id: "default-hubbly",
name: "Hubbly",
furnidataUrl: "https://www.hubbly.pw/gamedata/furnidata.json",
nitroBaseUrl: "https://www.hubbly.pw/nitro/bundled/furniture",
iconBaseUrl: "https://www.hubbly.pw/nitro/icons",
},
{
id: "default-habbaio",
name: "Habba.io",
furnidataUrl: "https://habba.io/gamedata/furnidata.json",
nitroBaseUrl: "https://habba.io/nitro/bundled/furniture",
iconBaseUrl: "https://habba.io/nitro/icons",
},
{
id: "default-habheights",
name: "Hab Heights",
furnidataUrl: "https://habheights.online/gamedata/furnidata.json",
nitroBaseUrl: "https://habheights.online/nitro/bundled/furniture",
iconBaseUrl: "https://habheights.online/nitro/icons",
},
{
id: "default-sodaho",
name: "Soda Ho",
furnidataUrl: "https://assets.sodaho.tel/gamedata/FurnitureData.json",
nitroBaseUrl: "https://sodaho.tel/nitro/bundled/furniture",
iconBaseUrl: "https://sodaho.tel/nitro/icons",
},
{
id: "default-habstar",
name: "Hab Star",
furnidataUrl: "https://habstar.nu/gamedata/furnidata.json",
nitroBaseUrl: "https://habstar.nu/nitro/bundled/furniture",
iconBaseUrl: "https://habstar.nu/nitro/icons",
},
{
id: "default-freshhotel",
name: "Fresh Hotel",
furnidataUrl: "https://fresh-hotel.org/gamedata/furnidata.json",
nitroBaseUrl: "https://fresh-hotel.org/nitro/bundled/furniture",
iconBaseUrl: "https://fresh-hotel.org/nitro/icons",
},
{
id: "default-habcrush",
name: "Hab Crush",
furnidataUrl: "https://habcrush.pw/gamedata/furnidata.json",
nitroBaseUrl: "https://habcrush.pw/nitro/bundled/furniture",
iconBaseUrl: "https://habcrush.pw/nitro/icons",
},
{
id: "default-zento",
name: "Zento",
furnidataUrl: "https://zento.wtf/gamedata/furnidata.json",
nitroBaseUrl: "https://zento.wtf/nitro/bundled/furniture",
iconBaseUrl: "https://zento.wtf/nitro/icons",
},
{
id: "default-habhub",
name: "Hab Hub",
furnidataUrl: "https://habhub.life/gamedata/furnidata.json",
nitroBaseUrl: "https://habhub.life/nitro/bundled/furniture",
iconBaseUrl: "https://habhub.life/nitro/icons",
},
{
id: "default-fobba",
name: "Fobba",
furnidataUrl: "https://fobba.net/gamedata/furnidata.json",
nitroBaseUrl: "https://fobba.net/nitro/bundled/furniture",
iconBaseUrl: "https://fobba.net/nitro/icons",
},
{
id: "default-playaura",
name: "Play Aura",
furnidataUrl: "https://playaura.net/gamedata/furnidata.json",
nitroBaseUrl: "https://playaura.net/nitro/bundled/furniture",
iconBaseUrl: "https://playaura.net/nitro/icons",
},
{
id: "default-hablet",
name: "Hablet",
furnidataUrl: "https://hablet.pw/gamedata/furnidata.json",
nitroBaseUrl: "https://hablet.pw/nitro/bundled/furniture",
iconBaseUrl: "https://hablet.pw/nitro/icons",
},
{
id: "default-eclipsehotel",
name: "Eclipse Hotel",
furnidataUrl: "https://eclipsehotel.me/gamedata/furnidata.json",
nitroBaseUrl: "https://eclipsehotel.me/nitro/bundled/furniture",
iconBaseUrl: "https://eclipsehotel.me/nitro/icons",
},
{
id: "default-habbletcity",
name: "Habblet City",
furnidataUrl: "https://www.habblet.city/gamedata/furnidata.json",
nitroBaseUrl: "https://www.habblet.city/nitro/bundled/furniture",
iconBaseUrl: "https://www.habblet.city/nitro/icons",
},
{
id: "default-habbocity",
name: "Habbo City",
furnidataUrl: "https://habbocity.fr/gamedata/furnidata.json",
nitroBaseUrl: "https://habbocity.fr/nitro/bundled/furniture",
iconBaseUrl: "https://habbocity.fr/nitro/icons",
},
];
async function testUrl(
page: any,
url: string,
): Promise<{ status: number; blocked: boolean }> {
try {
const response = await page.goto(url, {
waitUntil: "networkidle2",
timeout: 15000,
});
const status = response?.status() ?? 0;
const body = await page.content();
const blocked =
body.includes("Attention Required") ||
body.includes("Checking your browser") ||
body.includes("Just a moment");
return { status, blocked };
} catch (e: any) {
return { status: 0, blocked: true };
}
}
async function main() {
const browser = await puppeteer.launch({
headless: true,
args: [
"--no-sandbox",
"--disable-setuid-sandbox",
"--disable-web-security",
"--disable-blink-features=AutomationControlled",
"--user-agent=" + UA,
],
});
const results: Record<string, any> = {};
for (const src of sources) {
const page = await browser.newPage();
await page.setUserAgent(UA);
const entry: any = { name: src.name };
const tests: { url: string; status: number; blocked: boolean }[] = [];
const urls = [
src.furnidataUrl,
src.nitroBaseUrl ? `${src.nitroBaseUrl}` : null,
src.iconBaseUrl ? `${src.iconBaseUrl}` : null,
].filter((u): u is string => !!u && u.length > 0);
for (const url of urls) {
if (!url) continue;
const result = await testUrl(page, url);
tests.push({ url, ...result });
}
entry.tests = tests;
entry.working = tests.some((t) => t.status === 200 && !t.blocked);
results[src.id] = entry;
console.log(
`${entry.working ? "✓" : "❌"} ${src.name}` +
(tests.length > 0
? `: ${tests.map((t) => `${t.status}${t.blocked ? "B" : ""}`).join(" ")}`
: " (no URLs)"),
);
await page.close();
}
await browser.close();
writeFileSync("/tmp/clone-test.json", JSON.stringify(results, null, 2));
console.log("\nResults written to /tmp/clone-test.json");
}
void main().catch(console.error);
+7 -7
View File
@@ -38,6 +38,13 @@ export const DEFAULT_SOURCES: CloneSource[] = [
nitroBaseUrl: "https://nitro.hubba.cc/bundled/furniture",
iconBaseUrl: "",
},
{
id: "default-sodaho",
name: "Soda Ho",
furnidataUrl: "https://assets.sodaho.tel/gamedata/FurnitureData.json",
nitroBaseUrl: "",
iconBaseUrl: "",
},
{
id: "default-leet",
name: "Leet",
@@ -59,13 +66,6 @@ export const DEFAULT_SOURCES: CloneSource[] = [
nitroBaseUrl: "https://www.habblet.city/nitro/bundled/furniture",
iconBaseUrl: "https://www.habblet.city/nitro/icons",
},
{
id: "default-sodaho",
name: "Soda Ho",
furnidataUrl: "https://assets.sodaho.tel/gamedata/FurnitureData.json",
nitroBaseUrl: "",
iconBaseUrl: "",
},
];
export const DEFAULT_ICON_SOURCES: CloneSource[] = DEFAULT_SOURCES.filter(