Running a blossom server using npx

Author: hzrd149
Published:
Format: Markdown (kind 30023)
Identifier:
naddr1qvzqqqr4gupzqfngzhsvjggdlgeycm96x4emzjlwf8dyyzdfg4hefp89zpkdgz99qqxnzde3xvunjwphxs6nwvfjmxep59

NOTE: this is just a quick technical guide. sorry for the lack of details

Install NodeJS

Download it from the official website
https://nodejs.org/en/download

Or use nvm
https://github.com/nvm-sh/nvm?tab=readme-ov-file#install--update-script

wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
nvm install 20

Clone example config.yml

wget https://raw.githubusercontent.com/hzrd149/blossom-server/master/config.example.yml -O config.yml

Modify config.yml

nano config.yml
# or if your that type of person
vim config.yml

Run blossom-server

npx blossom-server-ts
# or install it locally and run using npm
npm install blossom-server-ts
./node_modules/.bin/blossom-server-ts

Now you can open http://localhost:3000 and see your blossom server

And if you set the dashboard.enabled option in the config.yml you can open http://localhost:3000/admin to see the admin dashboard

Comments (0)

No comments yet.