Welcome to the repository for bankstatementparser.com, the digital presence of Bank Statement Parser, a Python library built for Finance and Treasury Professionals.
Setting up and running the website locally is easy and quick with the Shokunin Static Site Generator (SSG).
Ensure you have the Rust toolchain installed. If not, follow the guide on the Rust website to set it up.
- Install Shokunin SSG:
cargo install ssg --version 0.0.20- Clone the repository
git clone https://github.com/sebastienrousseau/bankstatementparser.github.io.git- Change into the repository directory:
cd bankstatementparser.github.io- Generate the static site for bankstatementparser.com:
ssg -n=docs -c=_posts -t=_layouts -o=docs -s=public
node tools/fix-pwa-assets.mjs
cp _layouts/main.js docs/main.jsNote: The
cp _layouts/main.jsstep is required because the SSG generates its ownmain.jswhich does not include thelocation.protocolguard for analytics. The source_layouts/main.jsonly loads Google Analytics on HTTPS, preventingERR_UNSAFE_REDIRECTerrors on localhost.
The repository includes Lighthouse CI in GitHub Actions for both mobile and desktop audits.
Run the same checks locally:
npx @lhci/cli@0.13.x autorun --config=.lighthouserc.json
npx @lhci/cli@0.13.x autorun --config=.lighthouserc.json --collect.settings.preset=desktopThe default quality gates fail the run when category scores drop below:
- Performance:
1.00 - Accessibility:
1.00 - Best Practices:
1.00 - SEO:
1.00
