{"id":24343477,"url":"https://github.com/devboidesigns/album-viewer","last_synced_at":"2025-10-16T08:14:36.635Z","repository":{"id":271816173,"uuid":"914466765","full_name":"DevboiDesigns/album-viewer","owner":"DevboiDesigns","description":"The album-viewer 💿 web component fetches and displays albums from a specified Bandcamp artist. When you pass an artist name to the component, it will display all the musician's albums in a horizontal scrolling view.","archived":true,"fork":false,"pushed_at":"2025-06-08T04:10:12.000Z","size":86,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-14T11:12:26.566Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/album-viewer","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DevboiDesigns.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}},"created_at":"2025-01-09T16:47:26.000Z","updated_at":"2025-09-15T12:14:58.000Z","dependencies_parsed_at":"2025-01-10T04:22:57.190Z","dependency_job_id":"898de398-8972-4da0-b429-e2ddc1e5944c","html_url":"https://github.com/DevboiDesigns/album-viewer","commit_stats":null,"previous_names":["devboidesigns/album-viewer"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/DevboiDesigns/album-viewer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevboiDesigns%2Falbum-viewer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevboiDesigns%2Falbum-viewer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevboiDesigns%2Falbum-viewer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevboiDesigns%2Falbum-viewer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DevboiDesigns","download_url":"https://codeload.github.com/DevboiDesigns/album-viewer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevboiDesigns%2Falbum-viewer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279169093,"owners_count":26118396,"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","status":"online","status_checked_at":"2025-10-16T02:00:06.019Z","response_time":53,"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":[],"created_at":"2025-01-18T08:36:44.332Z","updated_at":"2025-10-16T08:14:36.630Z","avatar_url":"https://github.com/DevboiDesigns.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Album Viewer Web Component\n\nThe `album-viewer` web component fetches and displays albums from a specified [Bandcamp](https://bandcamp.com) artist\n\n![version](https://img.shields.io/badge/v4.0.0-RELEASE-8A2BE2)\n\n---\n\n## Overview\n\nThe `album-viewer` web component fetches and displays albums from a specified Bandcamp artist. When you pass an artist name to the component, it will display all the musician's albums in a horizontal scrolling view. Please check the demo site below for an example.\n\n- [Demo Website](https://devboidesigns.github.io/album-viewer/)\n\n## Installation\n\nInclude the `album-viewer` component in your HTML file:\n\n```html\n\u003cscript type=\"module\" src=\"https://cdn.skypack.dev/album-viewer\"\u003e\u003c/script\u003e\n```\n\n## Specifying Versions\n\nYou can specify the version of the `album-viewer` component using the `@v^1.0.0` format. This allows you to control which version of the component you are using in your project. No version will default to latest.\n\n**Example with Version Specification**\n\n```html\n\u003cscript\n  type=\"module\"\n  src=\"https://cdn.skypack.dev/album-viewer@v^1.0.0\"\n\u003e\u003c/script\u003e\n```\n\nReplace `^1.0.0` with the desired version number to use a specific version of the component.\n\n## Usage\n\nAdd the `album-viewer` component to your HTML and pass the Bandcamp artist name as a property:\n\n```html\n \u003calbum-viewer name=\"artist name\"\u003e\u003c/album-viewer\u003e\n```\n\nExample:\n\n```html\n\u003c!DOCTYPE html\u003e\n\u003chtml lang=\"en\"\u003e\n  \u003chead\u003e\n    \u003cmeta charset=\"UTF-8\" /\u003e\n    \u003cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" /\u003e\n    \u003ctitle\u003eAlbum Viewer\u003c/title\u003e\n  \u003c/head\u003e\n  \u003cbody\u003e\n    \u003calbum-viewer name=\"artistName\"\u003e\u003c/album-viewer\u003e\n\n    \u003cscript type=\"module\" src=\"https://cdn.skypack.dev/album-viewer\"\u003e\u003c/script\u003e\n  \u003c/body\u003e\n\u003c/html\u003e\n```\n\n## Properties\n\n- `name`: artist to fetch albums for\n- `iframeWidth`: The width of the iframes displaying the albums. Default is `350px`.\n- `iframeHeight`: The height of the iframes displaying the albums. Default is `442px`.\n- `iframeBorder`: The border style of the iframes displaying the albums. Default is `0`.\n\n**Example with Name**\n\n```html\n\u003calbum-viewer\n  name=\"onhell\"\n  iframeWidth=\"400px\"\n  iframeHeight=\"500px\"\n  iframeBorder=\"1px solid black\"\n\u003e\u003c/album-viewer\u003e\n```\n\n## Styling\n\nThe component includes default styles for the horizontal scrolling view. You can customize the styles by targeting the `album-viewer` component and its internal elements.\n\n### Default Styles\n\n```css\nalbum-viewer .album-viewer {\n  display: flex;\n  justify-content: top;\n  overflow-x: auto;\n}\n```\n\n### Customizing Styles\n\nYou can override the default styles by adding custom CSS to your project. For example, to change the background color and add padding:\n\n```css\nalbum-viewer .album-viewer {\n  background-color: #f0f0f0;\n  padding: 10px;\n}\n```\n\n### Example with Custom Styles\n\n```html\n\u003c!DOCTYPE html\u003e\n\u003chtml lang=\"en\"\u003e\n  \u003chead\u003e\n    \u003cmeta charset=\"UTF-8\" /\u003e\n    \u003cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" /\u003e\n    \u003ctitle\u003eAlbum Viewer\u003c/title\u003e\n    \u003cstyle\u003e\n      album-viewer {\n        background-color: #f0f0f0;\n        padding: 10px;\n      }\n    \u003c/style\u003e\n  \u003c/head\u003e\n  \u003cbody\u003e\n    \u003calbum-viewer\n      name=\"omboi\"\n      iframeWidth=\"400px\"\n      iframeHeight=\"500px\"\n      iframeBorder=\"1px solid black\"\n    \u003e\u003c/album-viewer\u003e\n\n    \u003cscript type=\"module\" src=\"./src/album-viewer.js\"\u003e\u003c/script\u003e\n  \u003c/body\u003e\n\u003c/html\u003e\n```\n\n## Conclusion\n\nThe `album-viewer` web component is a simple and effective way to display albums from a Bandcamp artist in a horizontal scrolling view. By passing the artist name as a property, you can easily integrate this component into your web projects.\n\n## Coming Soon\n\nWe are actively working on adding new features and improvements. Here are some of the upcoming features you can expect:\n\n- **Vertical Scrolling View**: Option to display albums in a vertical scrolling view.\n- **Customizable Colors**: Ability to customize the background and text colors for better integration with your website's theme.\n- **Pagination**: Support for paginating through a large number of albums.\n- **Loading Indicators**: Visual indicators to show loading progress while fetching album data.\n- **Accessibility Improvements**: Enhancements to make the component more accessible to users with disabilities.\n\n![GitHub commit activity](https://img.shields.io/github/commit-activity/m/devboidesigns/album-viewer)\n\nWe welcome your feedback and suggestions to help us improve this component. Stay tuned for updates!\n\n## Star on GitHub 🤩\n\nIf you like this web component please take a moment to\n[star this project on GitHub](https://github.com/devboidesigns/album-viewer#start-of-content).\n\n[![GitHub stars](https://img.shields.io/github/stars/devboidesigns/album-viewer?style=social)](https://github.com/devboidesigns/album-viewer#start-of-content)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevboidesigns%2Falbum-viewer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevboidesigns%2Falbum-viewer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevboidesigns%2Falbum-viewer/lists"}