SlowBooks Pro
Windows·Mac·Linux용 무료 회계 소프트웨어, 급여·재고·무제한 청구·다중 사용자 서버 에디션 포함, 클라우드·구독 없음
펑크난 타이어·왜곡 휠? ZDiT·자체 AC 계산기, 3장 사진 검증·PDF 손해 신고서 자동 생성
Przebita opona, krzywa felga? Kalkulator ZDiT vs własne AC, weryfikator 3 wymaganych zdjęć i gotowe zgłoszenie szkody z oświadczeniem świadka w PDF.
금융JavaScript · HTMLGitHub @Parsa-Rezaei온라인운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기Odszkodowanie za dziurę w drodze w Łodzi – kreator zgłoszenia szkody ZDiT/PZU ze zdjęciami i oświadczeniem świadka (PDF).
저장소 README에서 가져옴
README 전체를 불러오는 중입니다.
README 전문 보기 ↗A Polish website for drivers who damaged a tyre, rim or suspension in a pothole in Łódź. It shows where to file (ZDiT or GDDKiA), compares claiming from the city's insurer against the driver's own AC policy, checks the 3 photos ZDiT requires, and generates a ready-to-sign A4 PDF: the claim letter, a witness statement and a photo appendix.
Form data and photos stay in the visitor's browser (form in sessionStorage, photos in IndexedDB, auto-deleted after 24 h). The only server code is functions/api/verify.js, which asks Stripe whether a checkout session was paid. The calculators, photo check and claim preview are free; the generated PDF package costs 9,99 zł (BLIK).
| Path | What it is |
|---|---|
public/ | The website (the only thing published): index.html, assets/ (app.js, config.js, styles.css), vendor/ (pdfmake), _headers, robots.txt, sitemap.xml, favicon, OG image |
functions/api/verify.js | Cloudflare Pages Function: server-side Stripe payment check |
src/input.css | Tailwind source for public/assets/styles.css |
tests/ | verify.test.mjs (payment check, node --test), e2e.test.js (Playwright end-to-end) |
public. The functions/ folder is deployed automatically.STRIPE_SECRET_KEY = rk_live_… – a restricted key with only Checkout Sessions: Read. A full sk_… key is refused.PAYMENT_LINK_ID = plink_… (Stripe → Payment Links → the link's details).EXPECTED_AMOUNT = 999 (price in grosze; must match the Stripe price and price in config.js).MAX_AGE_DAYS (default 30). ALLOW_TEST_MODE=true only while testing with Stripe test mode – never in production.https://DOMAIN/?platnosc=sukces&session_id={CHECKOUT_SESSION_ID}public/assets/config.js: paymentUrl = the https://buy.stripe.com/… link, seller = your name/company, address and e-mail (shown in the Regulamin and Polityka prywatności). Never put any key in config.js – it is public.https://DOMAIN/api/verify?ping=1 returns {"ready":true}. If it does not, the site refuses to send buyers to Stripe ("Sprzedaż chwilowo niedostępna – nie pobraliśmy żadnych środków").How the payment works: the browser creates a random order id, stores it in localStorage and sends it to Stripe as client_reference_id; the form is kept in sessionStorage and photos in IndexedDB so they survive the redirect. After returning, the site calls /api/verify, which checks with Stripe that the session is paid, complete, in PLN, for the expected amount, from this Payment Link, live mode, not older than 30 days, and that its client_reference_id matches. Only then is the PDF generated and downloaded. Editing the URL or localStorage does not unlock anything.
Demo mode (free PDF) runs only on localhost / 127.0.0.1 while paymentUrl is empty.
public/assets/config.js| Setting | What it does |
|---|---|
paymentUrl | Stripe Payment Link (BLIK). Empty = sales off (demo mode only on localhost). |
verifyEndpoint | /api/verify – leave as is. |
price | 9.99 – shown on the page; must equal EXPECTED_AMOUNT / 100. |
seller | name, address, email for the Regulamin and Polityka prywatności (required by Polish consumer law). |
adContactEmail, adContactPhone | Contact shown in the partner box for businesses that want to advertise. |
partners | Real, paid local ads only. Empty = neutral "Miejsce dla partnera – kontakt" box. |
Cloudflare Pages → Custom domains. Then replace the old github.io address in public/index.html, public/robots.txt and public/sitemap.xml, and set siteUrl in config.js.
The city's insurer data (PZU S.A., policy 1077814389) covers incidents from 2023–2026. When Łódź publishes the insurer for 2027, update PZU in public/assets/app.js and the texts in public/index.html.
npm install
npm run build # compiles Tailwind CSS to public/assets/styles.css and copies pdfmake to public/vendor/
npm test # payment-check unit tests + end-to-end test in Chromium (needs Playwright and poppler-utils)