ProfileStatusSyncer - A tool to synchronize user profile status of Github and Netease CloudMusic

ProfileStatusSyncer

A tool to synchronize user profile status of GitHub and Netease CloudMusic

Features

  • Synchronize user profile status between GitHub and NeteaseCloud Music
  • Automatically maintain your NeteaseCloud Music profile status to avoid it being cancelled after three days

Quick start

Preparations

  1. GitHub Access Token (Generate from Settings -> Developer settings -> Personal access tokens)

  2. Your NeteaseCloud Music Cookie (Only needs the MUSIC_U field)

The NeteaseCloud Music Cookie can be taken from your browser's cookie storage.Or you can also use the QuickLogin tool to get it.

Configuration

GitHub Action

  1. Fork the ProfileStatusSyncer repository.

  2. Go to settings -> secrets -> Actions

  3. Add a secret called TOKEN and set the value to your GitHub access token.

  4. Add a secret called MUSIC_U and set the value to your NeteaseCloud Music Cookie.

Then you can then run the action named syncer manually and check the output log to see if it works.

The action will run automatically at 21:00 UTC time every day by default, if you want to change this setting, please edit .github/workflows/syncer.yml file.

Command Line

Download the latest release from here and run the following command:

$ chmod +x ./ProfileStatusSyncer
$ GITHUB_TOKEN=<your GitHub access token> MUSIC_U=<your NeteaseCloud Music Cookie> ./ProfileStatusSyncer

Mode Configuration

It is possible to run the tool in three modes:

  1. Set the environment variable MODE to GitHub2Netease to sync GitHun profile status to NeteaseCloud Music.

  2. Set the environment variable MODE to Netease2GitHub to sync NeteaseCloud Music profile status to GitHub.

  3. Set the environment variable MODE to KeepNeteaseStatus to maintain the profile status of NeteaseCloud Music.

Notice that if you don't set the MODE variable, the tool will run in GitHub2Netease mode by default.And if you run it on GitHub Action, just add a secret called MODE and set its value.

Similar Resources

Cloudinsight Agent is a system tool that monitors system processes and services, and sends information back to your Cloudinsight account.

Cloudinsight Agent 中文版 README Cloudinsight Agent is written in Go for collecting metrics from the system it's running on, or from other services, and

Nov 3, 2022

A GNU/Linux monitoring and profiling tool focused on single processes.

A GNU/Linux monitoring and profiling tool focused on single processes.

Uroboros is a GNU/Linux monitoring tool focused on single processes. While utilities like top, ps and htop provide great overall details, they often l

Dec 26, 2022

A system and resource monitoring tool written in Golang!

A system and resource monitoring tool written in Golang!

Grofer A clean and modern system and resource monitor written purely in golang using termui and gopsutil! Currently compatible with Linux only. Curren

Jan 8, 2023

A tool to list and diagnose Go processes currently running on your system

gops gops is a command to list and diagnose Go processes currently running on your system. $ gops 983 980 uplink-soecks go1.9 /usr/local/bin/u

Dec 27, 2022

pprof is a tool for visualization and analysis of profiling data

Introduction pprof is a tool for visualization and analysis of profiling data. pprof reads a collection of profiling samples in profile.proto format a

Jan 8, 2023

Changelog management tool, avoid merge conflicts and generate markdown changelogs.

chalog This is chalog, a changelog management tool. With chalog you can manage your project's changelog in a simple markdown format, split across mult

Jul 7, 2022

checkah is an agentless SSH system monitoring and alerting tool.

CHECKAH checkah is an agentless SSH system monitoring and alerting tool. Features: agentless check over SSH (password, keyfile, agent) config file bas

Oct 14, 2022

Simple Golang tool for monitoring linux cpu, ram and disk usage.

Simple Golang tool for monitoring linux cpu, ram and disk usage.

Mar 19, 2022

The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.

The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.

The open-source platform for monitoring and observability. Grafana allows you to query, visualize, alert on and understand your metrics no matter wher

Jan 3, 2023
A simple utility tool to profile go code
A simple utility tool to profile go code

A simple utility tool to profile go code. Profile timer that works like a stop w

Jul 23, 2022
A helper tool to work with profile.proto (pprof) files

qpprof qpprof complements the pprof tool. Commands Use qpprof command --help to get more information. Flat aggregation Alternative flat aggregations a

Sep 15, 2022
Gowl is a process management and process monitoring tool at once. An infinite worker pool gives you the ability to control the pool and processes and monitor their status.
Gowl is a process management and process monitoring tool at once. An infinite worker pool gives you the ability to control the pool and processes and monitor their status.

Gowl is a process management and process monitoring tool at once. An infinite worker pool gives you the ability to control the pool and processes and monitor their status.

Nov 10, 2022
Backend APIs for Hello Profile

Hello Profile Backend Service Backend application for Hello profile. Description This is the backend application for Hello profile. The application is

Dec 12, 2021
Distributed, lock-free, self-hosted health checks and status pages
Distributed, lock-free, self-hosted health checks and status pages

Checkup is distributed, lock-free, self-hosted health checks and status pages, written in Go. It features an elegant, minimalistic CLI and an idiomati

Dec 30, 2022
Github-workflow-dashboard - WEB and CLI dashboard for github action workflows
Github-workflow-dashboard - WEB and CLI dashboard for github action workflows

CLI capable of retrieving github action workflows stats Example usage Dashboard

Aug 30, 2022
User-friendly Go library for building Grafana dashboards

Grabana Grabana provides a developer-friendly way of creating Grafana dashboards. Whether you prefer writing code or YAML, if you are looking for a wa

Dec 16, 2022
Tiny structured logging abstraction or facade for various logging libraries, allowing the end user to plug in the desired logging library in main.go
Tiny structured logging abstraction or facade for various logging libraries, allowing the end user to plug in the desired logging library in main.go

Tiny structured logging abstraction or facade for various logging libraries, allowing the end user to plug in the desired logging library in main.go.

Dec 7, 2022
Test case to fix a bug in github.com/golang/glog

glog Library Pollutes Global Flags List This problem has been reported quite a few times, over the years; see it reported at golang-nuts mailing list,

Feb 10, 2022
Request-logging-tool - A tool logs the md5 codes of the responses of the given domains in parameter

request-logging-tool Application to send http requests and log the md5 responses

Jan 7, 2022