GanjoorService
وب سرویس و سایت گنجور
GanjoorService powers the Ganjoor Persian poetry website and museum
GanjoorService is the backend and frontend code for ganjoor.net and the Ganjoor museum, built with ASP.NET Core Web API and Razor Pages. It is written in C# and licensed under GPL-3.0.
What the code includes
The repository holds the backend, an ASP.NET Core Web API, and the frontend, built with Razor Pages. The README points to api.ganjoor.net for a list of the available API functions, so the same codebase both serves web pages and exposes a public programming interface for the poetry data.
Running it locally
A separate RUNNING_LOCALLY.md file gives a step by step guide that covers cloning, database setup, and Visual Studio configuration. The README stresses that the production database is never published because it holds private and user linked data. What is published instead is a git repository of the poetry content itself.
Where the poems come from
A fresh local install can pull real content from the ganjoor-data repository through an admin import step. The README notes this import also runs automatically the first time the site is started against an empty database, so a new deploy can begin with actual poets, categories, and poems rather than an empty shell.
Editorial conclusion
The service is written in C# and licensed under GPL-3.0, and the poetry content itself lives in the separate ganjoor-data repository.
Community notes