Git Product home page Git Product logo

deezer-badge's Introduction

Deezer Badge - Show your last played song

This golang Project allows you to create a badge to show off your great music taste to the world.

Deezer Now Playing

![Deezer Now Playing](https://example.com/badge/ffffffff-ffff-ffff-ffff-ffffffffffff)
<img src="https://example.com/badge/ffffffff-ffff-ffff-ffff-ffffffffffff" alt="Deezer Now Playing">

Be aware that this server stores your userId + an offline access token which does not expire. The access token also allows the server owner to query the /me endpoint end exfiltrate all data visible there. So pleas set up your own server or run one for your friends, don't use strangers server.

Leave me a star if you find this project helpful :)

Setup

You can run this app easy with docker compose:

git clone https://github.com/cli-ish/deezer-badge.git
cd deezer-badge/
docker compose build
cp .env.sample .env
# Now create a deezer app at https://developers.deezer.com/myapps
# Fill out the .env file with the APP_ID, APP_SECRET and RETURN_URL

docker compose up -d
# Its also highly recommended to use a ssl proxy such as caddy or nginx to upgrade the connection to ssl.
# If you want to configure it to an external http server just delete the "127.0.0.1:" from the docker-compose.yml file.

A nginx location for this project could look like this:

location /test/ {
    expires off;
    proxy_pass http://127.0.0.1:6969/;
    break;
}

deezer-badge's People

Contributors

cli-ish avatar

Stargazers

 avatar

Watchers

 avatar

deezer-badge's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.