]>
| description | The Swap Shop - a simple website for organizing MMiaH collabs |
| owner | Chris |
| last change | Sun, 31 May 2026 12:14:51 +0000 (08:14 -0400) |
| URL | https://littlesong.place/git/swapshop.git |
This is a little PHP app for collecting a list of names in a random order. All of the magic happens in index.php.
It uses a sqlite database with two tables: one for "events" (called "swap lists" on the site), and one for "peeps" (the individual names in the lists). Each entry in the 'peeps' table has a name (shown on the page), and a random number generated when joining that's used to sort the list.
And that's pretty much it! Creating a new swap list adds a new row to the events table, and joining a list adds a row to peeps.
| 2 weeks ago | master | shortlog | log | tree |