The official FieldFuckers website that provides design guidelines and offers various logo designs and wallpapers for download. The site displays team members automatically synced from the Steam community group. The website is a static site build with the static site generator Hugo.
The website is statically generated with Hugo and simple HTML build with the Sugar CSS framework. To run the website locally for development use the Hugo development server:
cd source
hugo server -DThis starts a local development server with draft content enabled. The site will be available at http://localhost:1313 by default.
To work on the scripts/members.py script that syncs Steam group members:
-
Create and activate a virtual environment:
python3 -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install the required packages:
pip install -r scripts/requirements.txt
-
Set the
STEAM_API_KEYenvironment variable with your Steam API key:export STEAM_API_KEY=your_api_key_here -
Run the script:
python3 scripts/members.py > source/data/members.json
The repository uses GitHub Actions for automated deployment and data synchronization:
Steam Sync Workflow (steam.yaml)
- Runs automatically every hour via cron schedule
- Fetches the current list of Steam group members using the Steam API
- Updates
source/data/members.jsonwith the latest member information - Commits changes back to the repository
Upload Workflow (upload.yaml)
- Triggers on every push to the
mainbranch - Builds the Hugo static site with minification
- Deploys the generated site to Cloudflare R2 for hosting
The website is hosted on Cloudflare R2, and the deployment pipeline ensures that any changes pushed to the main branch are automatically built and uploaded to the hosting bucket.