Skip to content

SuperNerdEric/runelogs

Repository files navigation

Runelogs

Runelogs is a combat log analysis tool for Old School RuneScape that works with the Combat Logger plugin to help players review fights, track performance, and improve strategy. It offers leaderboards, detailed breakdowns, and visualizations powered by parsed in-game data.

Hosted on https://www.runelogs.com/

Available Scripts

In the project directory, you can run:

npm run dev

Starts the app in development mode using the Vite dev server.
Open http://localhost:3000 to view it in the browser.

The page reloads automatically on changes.
You’ll also see any build or lint errors in the console.

npm test

Runs the test suite using Vitest.

npm run build

Builds the app for production into the build folder.
The build is optimized and minified for best performance.

npm run preview

Locally serves the production build using Vite.
Useful for verifying the output before deploying.

Data Sync Scripts

This project relies on regularly updated data files from the OSRS Wiki for equipment and NPC/item ID mappings:

npm run generateEquipment

Fetches item equipment data from the OSRS Wiki via its SMW API and generates src/lib/equipment.json, including item stats and metadata. It also downloads icons for display in the UI.

npm run createIdMaps

Fetches item and NPC ID mappings from chisel.weirdgloop.org and generates:

  • src/lib/itemIdMap.ts – maps item IDs to item names
  • src/lib/npcIdMap.ts – maps NPC IDs to names and sizes

These scripts run automatically via GitHub Actions:

  • Every hour on a scheduled cron job
  • On manual dispatch (via the Actions tab)

If any data changes, a pull request is automatically opened with the updated files. You can review and merge these PRs to keep the data fresh without manual intervention.

Contribute

About

Combat analysis for Oldschool RuneScape

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages