TutorLoom
The learning platform for companies, colleges and training institutes. Free and open source, with an Enterprise edition.
翻译准备中
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证A satellite globe of real fossil finds (GBIF, PBDB, Macrostrat) where fossil hunters can log their own and the community identifies them.
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗A map of the world's fossil finds, and a place for fossil hunters to log their own.
Live at fossiltrace.vercel.app
FossilTrace puts real fossil records on a satellite globe. Zoom anywhere to see museum specimens and research sites, click one to learn what it is, or tap bare ground to see the bedrock under your feet and whether collecting is allowed there. Signed-in users can log their own finds, and the community helps identify them, much like iNaturalist does for living things.
Explore
Log finds
Browser (index.html, app.js, finds.js, style.css)
| \
| /api/proxy?url=... \ Supabase JS (publishable key)
v v
Vercel edge function Supabase (Postgres + PostGIS, Auth, Storage)
(api/proxy.js) finds, profiles, identifications, reports
| cached 4 days on Vercel's CDN, 2 more days stale-while-revalidate
v
GBIF · PBDB · Macrostrat · Protected Planet · Wikipedia · Nominatim
api/proxy.js, sits in front of the public data APIs. It only forwards to an allowlist of hosts and lets Vercel's CDN cache each answer, so all visitors share results and the APIs see about one call per URL every few days.security definer functions (map_finds, find_identifications) that never return exact locations or notes.| Path | What it is |
|---|---|
index.html | Page shell and script tags |
app.js | Map, data layers, filters, specimen and site panels |
finds.js | Sign-in, logging finds, community ID, reporting |
style.css | Styles |
api/proxy.js | Vercel edge function: allowlisted, CDN-cached API proxy |
supabase/migrations/ | Database schema, in the order it was applied |
npm i -g vercel
vercel dev
Then open http://localhost:3000. The map works without any setup. Logging finds talks to the production Supabase project; sign-in links and the Turnstile CAPTCHA are tied to fossiltrace.vercel.app, so use the live site to test those.
The Vercel project is connected to this repo. Every push to main deploys to production at fossiltrace.vercel.app, and every pull request gets its own preview link (previews need a Vercel login). To undo a bad release, use Instant Rollback on an earlier deployment in the Vercel dashboard.
supabase/migrations/ in order (SQL editor, or supabase db push with the Supabase CLI).finds.js.TURNSTILE_SITE_KEY in finds.js.Moderation today is done in the Supabase table editor: set finds.hidden to hide a find, or profiles.banned to block an account.
.github/workflows/backup.yml dumps the database every Monday, encrypts it, and keeps it as a workflow artifact for 90 days. It needs two repository secrets (Settings > Secrets and variables > Actions):
SUPABASE_DB_URL: the Session pooler connection string from Supabase (Connect button), with the database password filled in. The direct connection doesn't work from GitHub's runners because it is IPv6 only.BACKUP_PASSPHRASE: a long random string. Keep a copy somewhere safe; without it the backups can't be opened.To restore, download the artifact from the workflow run, then:
gpg --decrypt fossiltrace-YYYY-MM-DD.dump.gpg > backup.dump
pg_restore --no-owner --no-privileges --dbname "$NEW_DB_URL" backup.dump
Photos in the find-photos storage bucket are not included yet.
index.html loads Vercel Web Analytics (page views, referrers, countries; no cookies). It starts counting once Web Analytics is enabled for the project in the Vercel dashboard.
Fossil records: GBIF (each record keeps its dataset's license; see the GBIF link in the panel) and the Paleobiology Database (CC BY 4.0). Geology: Macrostrat (CC BY 4.0). Protected areas: Protected Planet / WDPA. Images and descriptions: Wikipedia and Wikimedia Commons. Imagery: Esri, Maxar, Earthstar Geographics. Place search: OpenStreetMap Nominatim.