pokemon-showdown-client/replay.pokemonshowdown.com
Guangcong Luo 94a1876f61 Support non-full builds in testclient
Non-Preact testclients don't deal well with non-full builds anymore,
now that battledata includes data/text.js. This fixes it so that
they're usable (although no longer being able to edit battle-dex etc
without an initial full build still sucks, it's unavoidable).
2025-04-26 06:02:06 -07:00
..
src Preact: Improve screenreader support 2025-04-25 11:38:45 +00:00
theme Redesign website top navigation 2025-04-01 18:21:04 +00:00
.htaccess Update replay download link 2025-04-13 08:12:44 +00:00
404.html Redesign website top navigation 2025-04-01 18:21:04 +00:00
apple-touch-icon.png Deploy New Replays 2023-11-05 23:37:14 +00:00
check-login.php Deploy New Replays 2023-11-05 23:37:14 +00:00
dirindex Improve directory indexes and 404 pages 2025-03-29 13:11:44 +00:00
download.html Update replay download link 2025-04-13 08:12:44 +00:00
favicon.ico Deploy New Replays 2023-11-05 23:37:14 +00:00
index.template.php Split off replays-index.tsx 2025-04-09 01:36:52 +00:00
README.md Improve Replays testclient documentation 2025-04-03 16:38:44 +00:00
replay-manage.php Replays: Restore edit function 2024-02-15 16:41:41 -06:00
replay.log.php Replays: Support easier ways of getting inputlogs 2025-04-06 17:58:29 +00:00
replays.lib.php Replays: Restore edit function 2024-02-15 16:41:41 -06:00
testclient.html Support non-full builds in testclient 2025-04-26 06:02:06 -07:00

PS replays database

This is the code powering https://replay.pokemonshowdown.com/

JSON API

The replays database has a JSON API, documented at:

https://github.com/smogon/pokemon-showdown-client/blob/master/WEB-API.md

Testing local changes

We now have a testclient.html for testing local changes.

  1. npm install <- you only have to do this the first time
  2. ./build
  3. open testclient.html in a browser.

And then repeat every time you make changes.

Features requiring login (private replay search, auto-self) won't work, but everything else should.