Fireshare provides two complementary systems for organizing and discovering media. Games group videos and images by title, with rich cover art pulled from SteamGridDB. Tags are lightweight, color-coded labels that cut across game boundaries and let you surface clips by theme, play style, or any other category that matters to you.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/ShaneIsrael/fireshare/llms.txt
Use this file to discover all available pages before exploring further.
Game Organization
The Games View
The/games route displays all games that have at least one linked video or image. Each game card shows the game’s banner art, hero image, and logo fetched from SteamGridDB. Clicking a game card opens a filtered view of all clips associated with that game at /games/<steamgriddb_id>.
Public visitors see only games that have at least one public (non-private) video or image linked. Authenticated users see all games regardless of the privacy state of their linked media.
Linking a Video to a Game
A video is linked to a game by creating aVideoGameLink record that maps a video_id to a game_id in the GameMetadata table. Each video can be linked to at most one game at a time. You can link, update, or remove the link through the video detail edit panel in the UI, or via the API:
Folder Rules: Automatic Game Assignment
A folder rule maps a specific subfolder of/videos to a game. Once a rule is in place, every video placed into that folder — whether scanned from disk or moved via the file manager — is automatically linked to the associated game.
POST /api/video/move/<id>, Fireshare checks whether a folder rule exists for the target folder and applies the game link immediately.
Rules are stored in the FolderRule model (folder_path → game_id). You can view, create, and delete rules from the Games settings panel in the admin UI. When a rule is created, Fireshare immediately backfills all existing videos in that folder to the new game (both updating existing links and creating new ones). Deleting a rule does not remove existing game links from videos already in that folder; it only stops future videos from being linked automatically.
An equivalent ImageFolderRule model and its corresponding endpoints (/api/image-folder-rules) apply the same automatic assignment to images.
SteamGridDB Integration
SteamGridDB is a community-maintained database of game artwork. Fireshare uses it to fetch hero images, banner art, logos, and icons for each game you add to your library.Setup
- Create a free account at steamgriddb.com.
- Generate an API key from your account settings.
- Add the key to your Fireshare instance:
- Environment Variable
- Settings UI
The SteamGridDB API key is free to obtain. Without it, game art cannot be fetched and the game organization feature is limited to name-based grouping only.
How Game Art Is Stored
When a game is added (viaPOST /api/games), Fireshare downloads the following asset types and saves them in /data/game_assets/<steamgriddb_id>/:
| Slot filename | Asset type | Used for |
|---|---|---|
hero_1.webp | Hero image | Game card background |
hero_2.webp | Banner | Wide banner strip |
logo_1.webp | Logo | Game title overlay |
icon_1.webp | Icon | Small game badge |
Updating Game Art
Individual asset slots can be replaced through the admin UI’s Edit Game Art panel or via the API:asset_type values are hero, banner, logo, and icon. The URL must point to the cdn2.steamgriddb.com or cdn.steamgriddb.com domain.
Game Suggestions
During directory scanning, Fireshare attempts to match subfolder names against SteamGridDB to produce automatic game suggestions. Suggestions are stored in/data/game_suggestions.json and surfaced in the UI as dismissible prompts next to unlinked videos. Accepting a suggestion creates the game and the VideoGameLink in one step; dismissing it records the rejection so the suggestion does not reappear.
Custom Tags
Tags are color-coded labels that can be applied to any number of videos (and images). Unlike game links, a video can have multiple tags, and the same tag can span videos from many different games.Creating and Managing Tags
Tags are created from the Tags management panel in the admin UI. Each tag has aname (up to 12 characters, spaces replaced with underscores) and an optional hex color. Tag names must be unique across the instance.
?delete_videos=true query parameter that removes all videos linked to the tag rather than just unlinking them.
Applying Tags to Videos
Tags can be applied one at a time from the video detail edit panel, or in bulk from the file manager:Browsing by Tag
The/tags route displays all tags that have at least one public video linked. Each tag card shows a random preview video and the total video count. Clicking a tag opens a filtered library view of all videos carrying that tag at /tags/<tag_id>.
Tag Search
In the dashboard search bar, prefix any word with# to filter by tag name:
clutch that also match the keyword warzone in their title or game name.
Video Library
Learn how the library scan populates the video grid that game and tag filters operate on.
Image Library
Game and tag linking works identically for screenshots and artwork.
File Manager
Bulk-move videos between folders and apply folder rules from the admin file manager.
Environment Variables
Configure your STEAMGRIDDB_API_KEY to enable automatic game art downloads.
