A library browser plugin for Familiar that visualizes your music collection by release year.
- Interactive timeline visualization
- Bar chart showing tracks per year
- Decade quick-select buttons
- Hover tooltips with track/album/artist counts
- Click to filter library by year
In Familiar:
- Go to Settings > Plugins
- Enter this repository URL:
https://github.com/seethroughlab/familiar-plugin-timeline - Click Install
# Install dependencies
npm install
# Build the plugin
npm run build
# Watch for changes during development
npm run watchThis plugin demonstrates the Familiar Browser API:
// Access the global API
const { React, registerBrowser, useQuery, api } = window.Familiar;
// Query hook for data fetching
const { data, isLoading, error } = useQuery({
queryKey: ['library-year-distribution'],
queryFn: () => api.library.getYearDistribution(),
});
// Register the browser
registerBrowser(metadata, Component);interface BrowserProps {
onGoToYear: (year: number) => void;
onGoToYearRange: (startYear: number, endYear: number) => void;
}MIT