{"repo":"psychonautwiki/bifrost","free":true,"listed":false,"github":"https://github.com/psychonautwiki/bifrost","clone":"git clone https://github.com/psychonautwiki/bifrost.git","description":"The PsychonautWiki API.","language":"Rust","stars":83,"topics":["psychonautwiki","graphql","api"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Bifrost GraphQL API server for PsychonautWiki. Fetches substance data from the wiki's MediaWiki API and exposes it through a typed GraphQL interface with stale-while-revalidate caching. Quick Start Open http://localhost:3000 for the GraphiQL playground. Example Queries Configuration Variable Default Description ---------- --------- ------------- PORT 3000 Server port CACHE TTL MS 86400000 (24h) Cache TTL in milliseconds PLEBISCITE (unset) Enable Erowid experience reports (requires MongoDB) MONGO URL - MongoDB connection string (required if PLEBISCITE set) MONGO DB bifrost MongoDB database name MONGO COLLECTION plebiscite MongoDB collection name CLI Options Architecture - axum + async-graphql for the HTTP/GraphQL layer - Stale-while-revalidate cache with request coalescing - returns stale data immediately while refreshing in the background - Upstream data from PsychonautWiki's MediaWiki API (parsed from wikitext) - Optional MongoDB integration for Erowid experience reports via the erowid query License MIT - Copyright (c) 2016-2025 Kenan Sulayman / PsychonautWiki","default_branch":null,"files":null,"tree":[],"storefront":"/r/psychonautwiki","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/psychonautwiki/bifrost/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}