Skip to content

Dynamic realtime profile ReadMe linked with Yandex Music / Last.fm

Notifications You must be signed in to change notification settings

error-ident/gylm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Set Up Guide

Yandex

  • Open YM settings
  • Import music collections -> Link Last.fm account

Last.fm

Server

KEY=9b69**************************** | lastfm api key 
SECRET=de01**************************** | lastfm shared secret      
USERNAME=error_ident | lastfm username
LIMIT= 10 | the number of results to fetch per page 
YANDEX_URL=https://music.yandex.ru/users/Invisible-sleeper/artists | YM profile url
  • Build for linux arch: GOOS=linux GOARCH=amd64 go build -o gylm

  • Add gylm.conf to /etc/nginx/sites-available

server {
    server_name 92.119.90.17;
    location / {
        proxy_pass http://localhost:1984/yandex;
	expires    0;
    }
}
  • Create symlink: sudo ln -s /etc/nginx/sites-available/gylm.conf /etc/nginx/sites-enabled/

  • Restart Nginx: sudo systemctl restart nginx

ReadMe

You can now use the following in your readme:

[![yandex](http://92.119.90.17)](https://music.yandex.ru/users/Invisible-sleeper/albums)

About

Dynamic realtime profile ReadMe linked with Yandex Music / Last.fm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published