A full-stack Last.fm 1k dataset insights page using Go/ClickHouse/React

ugabuga1 pts0 comments

GitHub - el10savio/artistInsights: A full-stack Last.fm 1k dataset listening insights page for artists using Go/ClickHouse/React · GitHub

/" data-turbo-transient="true" />

Skip to content

Search or jump to...

Search code, repositories, users, issues, pull requests...

-->

Search

Clear

Search syntax tips

Provide feedback

--><br>We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Cancel

Submit feedback

Saved searches

Use saved searches to filter your results more quickly

-->

Name

Query

To see all available qualifiers, see our documentation.

Cancel

Create saved search

Sign in

/;ref_cta:Sign up;ref_loc:header logged out"}"<br>Sign up

Appearance settings

Resetting focus

You signed in with another tab or window. Reload to refresh your session.<br>You signed out in another tab or window. Reload to refresh your session.<br>You switched accounts on another tab or window. Reload to refresh your session.

Dismiss alert

{{ message }}

el10savio

artistInsights

Public

Notifications<br>You must be signed in to change notification settings

Fork

Star

main

BranchesTags

Go to file

CodeOpen more actions menu

Folders and files<br>NameNameLast commit message<br>Last commit date<br>Latest commit

History<br>2 Commits<br>2 Commits

cmd

cmd

frontend

frontend

migrations

migrations

src

src

.dockerignore

.dockerignore

.gitignore

.gitignore

Dockerfile

Dockerfile

Makefile

Makefile

README.md

README.md

docker-compose.yml

docker-compose.yml

go.mod

go.mod

go.sum

go.sum

showcase.png

showcase.png

View all files

Repository files navigation

Artist Insights

This is a full-stack project to visualize and provide reports and insights on the Last.fm song listening history dataset and to provide insights for artists so that they can infer and improve on their fan base.

Overview

The repository is built mainly by importing the Last.fm dataset and then adding it to ClickHouse, which stores the listening data points for each user (which song they listen to and when). ClickHouse is connected to it as a core server, which exposes its reports as an API and a React frontend using Recharts to present this to the user.

Prerequisites

Get the dataset from http://ocelma.net/MusicRecommendationDataset/lastfm-1K.html and add to the root as dataset folder and unzip.

Getting Started

Provision ClickHouse and the Go Server using the makefile commands.

make provision

and to load the data into Clickhouse

make load-full

Finally, start the frontend server using.

npm run dev

And head to http://localhost:5173/ to view the Insights page where you can search for each artist and view their reports.

Future Scope

Extend to simulate real-time insights like current plays and users.

More artist-specific reports.

Observability via oTel for both app and ClickHouse metrics.

References

http://ocelma.net/MusicRecommendationDataset/lastfm-1K.html

https://clickhouse.com/docs/install/docker

https://clickhouse.com/docs/engines/table-engines/mergetree-family

About

A full-stack Last.fm 1k dataset listening insights page for artists using Go/ClickHouse/React

Resources

Readme

Uh oh!

There was an error while loading. Please reload this page.

Activity

Stars

stars

Watchers

watching

Forks

forks

Report repository

Releases

No releases published

Packages

Uh oh!

There was an error while loading. Please reload this page.

Contributors

Uh oh!

There was an error while loading. Please reload this page.

Languages

Go<br>55.7%

TypeScript<br>34.0%

CSS<br>4.9%

Makefile<br>4.3%

JavaScript<br>0.6%

HTML<br>0.3%

Dockerfile<br>0.2%

You can’t perform that action at this time.

clickhouse insights dataset page last using

Related Articles