Stock & Museum Archives
제작: refern
앱refern 제작
Search The Met Open Access, NASA, Unsplash and Pexels, and import original-size images with creator credits. The Met and NASA need no key.
refern에 포함버전 1.0.0
스크린샷
소개
Search open image archives and import the original files into refern, with the creator, the source page and the archive's caption.
| Archive | Key | Imports |
|---|---|---|
| The Met Open Access (CC0) | none | primaryImage |
| NASA Image and Video Library | none | the ~orig file |
| Unsplash | free access key | urls.raw |
| Pexels | free API key | src.original |
Paste the Unsplash or Pexels key on the Extensions page. The key stays in
the operating system's credential store: the plugin sends
{{secret:unsplashAccessKey}} in a header and the host fills it in.
How it works
- Every request goes through
refern.net.fetch, limited to the hosts inmanifest.json. Thumbnails come back as bytes and show fromblob:URLs. - Only
https:images on the archive's own image host are fetched or imported (safeUrlinsrc/providers.ts). - Results already in the workspace show "In library", from
refern.imports.checkOriginswith the sourceplugin:refern.stock-import:v1:<met|nasa|unsplash|pexels>and the archive's id. - Import sends the originals to
refern.imports.enqueueUrlsin small batches, into the folder chosen at the bottom left (or the folder in the dialog's context,{ folderId }). Each item getscreator,sourceUrl,sourceNameand itsimportOrigin; the caption is then set as the item's description. Unsplash's download counter is called before each Unsplash import, as its API terms require. - The Met retired
/v1/searchon 2026-10-01. This plugin uses/v1.1/search(paged byoffsetandlimit) and reads each object from/v1/objects/<id>.
Build
node plugins/stock-import/build.mjs # dist/search.html, .js, .css
버전 기록
- 1.0.0refern 1.13.0 이상 필요