- TypeScript 100%
| src | ||
| .gitignore | ||
| bun.lock | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
poslanecka-snemovna-fulltext-scraper
How to download
Go to Releases and download the correct version for your computer:
- If you use Windows, it's
psfs_windows_x64.exe - If you use Linux, it's
psfs_linux_x64 - If you use macOS, it depends:
- if you computer has Apple Silicone (eg. M1 to M5 chip), it's
psfs_mac_arm64 - otherwise, it's
psfs_mac_x64
- if you computer has Apple Silicone (eg. M1 to M5 chip), it's
Move the file to some folder where you want to use it (in this tutorial, we'll
assume you moved it to your Desktop), and rename it to psfs. Then, follow
instructions for your platform.
macOS
Open your Terminal app, then navigate to the folder containing psfs, for
example:
cd Desktop
Now, you need to make the program executable by running the following two commands. You only need to do this once.
chmod +x ./psfs
xattr -d com.apple.quarantine ./psfs
Now, you can use the app.
Linux
Follow the macOS tutorial, except for the xattr command: you only need to run
the chmod one.
Windows
Ask your IT support, hahah.
How to use
In your terminal, navigate to the folder where psfs lives.
To list all available options, do this:
./psfs fetch --help
To download all mentions of Ukraine from the year 2025 and save them into the
2025.docx Word document, do this:
./psfs fetch "Ukrajin" --all-time --filter-year 2025 --format docx --output 2025.docx
How to update
Delete the psfs file you already have, and follow the How to download
tutorial again.
How to develop
To install dependencies:
bun install
To run:
bun run index.ts
This project was created using bun init in bun v1.3.11. Bun
is a fast all-in-one JavaScript runtime.