{"id":13402809,"url":"https://github.com/rosano/joybox","last_synced_at":"2025-07-23T10:33:37.443Z","repository":{"id":60577129,"uuid":"353051077","full_name":"rosano/joybox","owner":"rosano","description":"A pinboard for audiovisual media.","archived":false,"fork":false,"pushed_at":"2024-03-02T20:52:00.000Z","size":302,"stargazers_count":25,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-14T00:30:01.953Z","etag":null,"topics":["0data","fission","local-first","offline-first","remotestorage","unhosted"],"latest_commit_sha":null,"homepage":"https://joybox.rosano.ca","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rosano.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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},"funding":{"open_collective":"rosano"}},"created_at":"2021-03-30T15:31:44.000Z","updated_at":"2025-01-27T15:32:57.000Z","dependencies_parsed_at":"2024-01-16T10:35:08.579Z","dependency_job_id":"f87319fe-ce0e-42f6-9420-89b335805e4e","html_url":"https://github.com/rosano/joybox","commit_stats":{"total_commits":308,"total_committers":2,"mean_commits":154.0,"dds":0.009740259740259716,"last_synced_commit":"1d8e09decd378b857b639104e43234dc7b7c04a5"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rosano/joybox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rosano%2Fjoybox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rosano%2Fjoybox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rosano%2Fjoybox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rosano%2Fjoybox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rosano","download_url":"https://codeload.github.com/rosano/joybox/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rosano%2Fjoybox/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265749126,"owners_count":23822281,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["0data","fission","local-first","offline-first","remotestorage","unhosted"],"created_at":"2024-07-30T19:01:21.142Z","updated_at":"2025-07-23T10:33:37.415Z","avatar_url":"https://github.com/rosano.png","language":"JavaScript","readme":"\u003ca href=\"https://joybox.rosano.ca\"\u003e\u003cimg alt=\"Project logo\" src=\"https://static.rosano.ca/joybox/identity.svg\" width=\"64\" /\u003e\u003c/a\u003e\n\n# [Joybox](https://joybox.rosano.ca)\n\n_A pinboard for audiovisual media_\n\n\u003ca href=\"https://joybox.rosano.ca\"\u003eJoybox\u003c/a\u003e makes it simple to play media from multiple platforms in the same place. Read the \u003ca href=\"https://joybox.rosano.ca/guide\"\u003eguide\u003c/a\u003e for more details.\n\n\u003ca href=\"https://joybox.rosano.ca/play\"\u003e\u003cimg alt=\"Open app\" src=\"http://static.rosano.ca/_shared/_RCSAppButton.svg\" /\u003e\u003c/a\u003e\n\n## Architecture\n\nThe project follows a [Universal folder structure](https://rosano.hmm.garden/01f71kp52knc5nnv08qr9kzj3m) and is a large collection of mostly small modules or functions that are put together using [Svelte](https://svelte.dev) and [Rollup](https://rollupjs.org). With the exception of a few 'global' or 'magic' things such as the localization function `OLSKLocalized`, most resources used by a module should be in the same folder or referenced by path name.\n\nRouting, rendering markdown content, and serving pages is done via a Node.js server (usually configured in the *controller.js* files).\n\n## Development Setup\n\n(For a deeper dive, watch [the tutorial](https://rosano.hmm.garden/01f62t5yseb053m024v1mczbzy)).\n\nInstall [Node.js and npm](https://nodejs.org/en/download/), then:\n\n```\nnpm run setup\n```\n\nThis should create an `.env` file if there is none. If you encounter errors referring to this file, you can find missing variables in `.env-sample`.\n\n## Running\n\n### Start the Rollup process to build and reload automatically\n\n```\nnpm run watch\n```\n\n### Start the Node.js server to view in the browser\n\n```\nnpm start\n```\n\nIt should be accessible at \u003ca href=\"http://localhost:3000\" target=\"_blank\"\u003ehttp://localhost:3000\u003c/a\u003e.\n\n## Testing\n\nSee [Testing logic and interfaces](https://rosano.hmm.garden/01f7v3hk3txz5d0v9ms467x8bz) for a tutorial.\n\n### Run logic tests\n\n```\nnpm test \n```\n\n### Run interface tests\n\n```\nnpm test ui\n```\n\nTo filter interface test paths by string:\n\n```\nnpm test ui match=detail\n```\n\nTo filter interface test paths by JavaScript regular expressions:\n\n```\nnpm test ui match='/(vitrine|guide)/'\n```\n\n## ❤️\n\nHelp me keep creating projects that are public, accessible for free, and open-source.\n\n\u003ca href=\"https://rosano.ca/back\"\u003e\u003cimg alt=\"Become a backer\" src=\"https://static.rosano.ca/_shared/_RCSBackButton.svg\" /\u003e\u003c/a\u003e\n\n## License\n\nThe code is released under a [Hippocratic License](https://firstdonoharm.dev), modified to exclude its use for surveillance capitalism and also to require large for-profit entities to purchase a paid license.\n\n## Questions\n\nFeel free to reach out on [Mastodon](https://rosano.ca/mastodon) or [Twitter](https://rosano.ca/twitter).\n","funding_links":["https://opencollective.com/rosano"],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frosano%2Fjoybox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frosano%2Fjoybox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frosano%2Fjoybox/lists"}