CoolFace
Apppublic

TeoCavi/ProfileHub-BK

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes
App README

ProfileHub: DOI Metadata API

A lightweight Flask API that receives a DOI and returns metadata using CrossRef.

✨ Features

  • —Accepts DOI via GET query parameter
  • —Returns title, journal, year, type
  • —Designed to be used as backend for dynamic academic profile sites

📦 How to use

Example:

GET /metadata?doi=10.1016/j.compmedimag.2024.102302

Returns:

json
{
  "title": "...",
  "journal": "...",
  "year": 2024,
  "type": "Research Article"
}

🚀 Deploy on Hugging Face Spaces

  1. 1.Create a new Space → SDK: Flask
  2. 2.Upload app.py, requirements.txt, LICENSE, README.md
  3. 3.Wait for automatic build (few seconds)
  4. 4.Use endpoint: https://<username>.hf.space/metadata?doi=...

MIT Licensed — Matteo Cavicchioli, 2025