{"id":51110351,"url":"https://github.com/orvn/some-visualizations","last_synced_at":"2026-06-24T17:01:22.802Z","repository":{"id":358588162,"uuid":"1234070727","full_name":"orvn/some-visualizations","owner":"orvn","description":"Just some visualizations of concepts and data","archived":false,"fork":false,"pushed_at":"2026-05-26T01:46:34.000Z","size":2596,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-26T03:28:17.476Z","etag":null,"topics":["d3js","data-visualization","math","statistics"],"latest_commit_sha":null,"homepage":"https://somevisuals.com","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/orvn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-09T17:58:19.000Z","updated_at":"2026-05-26T01:46:34.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/orvn/some-visualizations","commit_stats":null,"previous_names":["orvn/some-visualizations"],"tags_count":0,"template":false,"template_full_name":"undone-labs/astro-starter","purl":"pkg:github/orvn/some-visualizations","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orvn%2Fsome-visualizations","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orvn%2Fsome-visualizations/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orvn%2Fsome-visualizations/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orvn%2Fsome-visualizations/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/orvn","download_url":"https://codeload.github.com/orvn/some-visualizations/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orvn%2Fsome-visualizations/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34741320,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-24T02:00:07.484Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["d3js","data-visualization","math","statistics"],"created_at":"2026-06-24T17:01:21.383Z","updated_at":"2026-06-24T17:01:22.692Z","avatar_url":"https://github.com/orvn.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Alpine.js](https://img.shields.io/badge/Alpine.js-8BC0D0?style=flat\u0026logo=alpinedotjs\u0026logoColor=black) ![Astro](https://img.shields.io/badge/Astro-FF5D01?style=flat\u0026logo=astro\u0026logoColor=white) ![D3.js](https://img.shields.io/badge/D3.js-F9A03C?style=flat\u0026logo=d3dotjs\u0026logoColor=black) ![Bun](https://img.shields.io/badge/Bun-000000?style=flat\u0026logo=bun\u0026logoColor=white)\n\n# Some Visualizations\n\nA collection of frontend interactive data visualization. Built with [Astro](https://astro.build) and [Alpine.js](https://alpinejs.dev).\n\n### See at _**[somevisuals.com](https://somevisuals.com)**_\n\n\u003cimg src=\"/public/og-image.png\" alt=\"Some Visualizations\" width=\"500\"\u003e\n\n\n\n## Quickstart\n\n```bash\nbun install    # node 22+\nbun dev        # local development\nbun build      # outputs to ./dist\nbun preview    # preview the ./dist\n```\n\n## Stack\n\n- Astro 6\n- Alpine.js\n- Various visualization libs, like:\n  - chart.js\n  - d3.js\n  \n## Content\n\nAll page content lives in `src/content/` as [TOON](https://toonformat.dev) files, a compact, human-readable format. Each page file follows a consistent three-section structure: `meta`, `options`, and `content`.\n\n\n### Global content\n\n`src/content/global.toon` holds site-wide values used across all pages: site name, default description, default graph image, title postfix appended to page titles, etc.\n\n\n### Adding a content file for a new page\n\nCreate `src/content/my-page.toon`, then load it in the corresponding `.astro` file:\n\n```astro\n---\nimport BaseLayout from '../layouts/BaseLayout.astro';\nimport { loadPage } from '../lib/content';\n\nconst { meta, options, content } = loadPage('my-page');\nconst c = content as { heading: string; body: string };\n---\n\n\u003cBaseLayout\n  title={meta.title ?? undefined}\n  description={meta.description}\n  noindex={options?.noindex ?? false}\n\u003e\n  \u003ch1\u003e{c.heading}\u003c/h1\u003e\n  \u003cp\u003e{c.body}\u003c/p\u003e\n\u003c/BaseLayout\u003e\n```\n\n`loadGlobal()` is available for components that need site-wide values (name, URL, etc.).\n\n## Configuration\n\n### Site metadata\n\nEdit `src/content/global.toon` to set the site name, description, URL, and title postfix before deploying.\n\n### Local development server\n\nConfigured in `astro.config.mjs`:\n\n```js\nserver: {\n  port: 14300,\n},\n```\n\n### Sitemap\n\nGenerated automatically at build time by `@astrojs/sitemap`. The output file is `dist/sitemap-index.xml`. It will 404 in dev, this is expected.\n\n\n## Deployment\n\nAssuming a static site host like Cloudflare Pages, Github Pages, Netlify, etc.\n\n- Build command: `bun run build`\n- Set output directory: `dist`\n- Ensure Node version is set to **22** or higher in environment settings\n- Add any environment variables (none by default)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forvn%2Fsome-visualizations","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Forvn%2Fsome-visualizations","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forvn%2Fsome-visualizations/lists"}