Mirror of geniURL's source code https://github.com/Sv443/geniURL
|
2 bulan lalu | |
---|---|---|
.github | 4 bulan lalu | |
.vscode | 2 bulan lalu | |
src | 2 bulan lalu | |
test | 2 bulan lalu | |
www | 2 bulan lalu | |
.env.template | 2 bulan lalu | |
.gitignore | 4 bulan lalu | |
CHANGELOG.md | 4 bulan lalu | |
LICENSE.txt | 3 tahun lalu | |
README.md | 2 bulan lalu | |
eslint.config.mjs | 2 bulan lalu | |
jest.config.mjs | 2 bulan lalu | |
package.json | 2 bulan lalu | |
pnpm-lock.yaml | 2 bulan lalu | |
tsconfig.json | 2 bulan lalu |
Simple JSON and XML REST API to search for song metadata, the lyrics URL and lyrics translations on genius.com
Authorization is not required. Obtaining actual lyrics sadly isn't possible.
Disclaimer: this project is not affiliated with or endorsed by Genius.
[!NOTE]
Like using geniURL for free?
It's entirely reliant on donations so please consider supporting the development ❤️
The full documentation is available on this page: https://api.sv443.net/geniurl/v2/docs/
It will explain everything you need to know about using the REST API.
For trying out geniURL yourself, you can use this Postman workspace.
To download it and test locally, hover over the collection, click the three-dot-menu, then click "Export".
To set up geniURL locally, follow these steps:
npm -v
npm i -g pnpm
)pnpm i
in the project directory to install dependencies.env.template
to .env
and fill in the required valuespnpm start
to start the REST serverpnpm dev
to start the server and automatically recompile and restart when the code is changed.HOST_HOMEPAGE
is set to true
in .env
, then run pnpm dev-all
.scripts
in package.json
for a list of all commandsI recommend using a process manager like PM2 to keep the server running in the background, make it automatically restart on crashes and start on system boot.
Minor modifications to the server's behavior can be made in the file src/constants.ts
This project is licensed under the MIT License
The genius.com API is used to get the search results and song metadata. No actual lyrics are obtained.
This project is not affiliated with, sponsored or endorsed by genius.com.