Skip to content

CAT5NEKO/np2misk

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

np2misk

image

日本語ドキュメント

A bot for posting Spotify's Now Playing status to Misskey.

This project adapts Yude's Mastodon Now Playing bot for use with Misskey.

Setup

Please refer to .env.example and set the required values in .env.

Note on SPOTIFY_REFRESH_TOKEN: When running np2misk on a remote server, please be aware:

This software is designed to obtain the refresh_token in a local environment.

Set the callback URL of your Spotify Web API application to http://127.0.0.1:3496/callback, run the np2misk binary locally to obtain the refresh_token, and set this value in .env.

For local np2misk, you will need an .env file with values other than SPOTIFY_REFRESH_TOKEN configured.

Usage

Build and run the binary.

go build
./np2misk
[Unit]
Description=np2misk - Spotify Now Playing to Misskey
After=network.target

[Service]
Type=simple
WorkingDirectory=/path/to/your/np2misk
ExecStart=/path/to/your/np2misk/np2misk
Restart=on-failure
RestartSec=10

[Install]
WantedBy=multi-user.target

About

Bot that posts Spotify Now Playing to Misskey/Sharkey

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages

  • Go 100.0%