Skip to content

Gkiokan/hb-store-cdn-cli-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HB-Store CDN CLI Server

ko-fi os commits_since_release version
downloads last_commit

This is the new HB-Store CDN Server [cli-version].

HB-Store CDN CLI Server

Features

  • Interactive CLI Usage
  • Show, Edit and Modify Configuration though cli
  • Custom Network Interface and Port
  • Select base path to scan all pkgs (deep scan)
  • Integrated node express server
  • Maps file paths correctly, even with special character and empty spaces
  • Public Domain Host support
  • Auto check Server Binaries on Server Start
  • Added retroNAS Support (v1.3.0+)
  • Added PS5 Support (v1.4.1+)

ToDo

  • More Tweaks
  • Add integrated cluster Support
  • Supercharge application with pm2
  • Add Server Ressource overview
  • Add dedicated logging

How To

Run the binary from your command line and follow the steps.
1.) You should first download the Server Binaries
1.1) [hint]: Server Binaries will be loaded automatically when started with parameter start
2.) Use the Generate configuration menu to create the config
3.) Start the server or run the start command

How to configure HB-Store

1.) Open HB-Store app on your PS4
2.) Set the given CDN Address as your CDN
3.) Save Settings
4.) Close the HB-Store on PS4 by pressing options button and open it again
-- settings needs to be done once --
5.) Open HB-Store on PS4. You should see the content from your Server now.

Command reference

Command Description
./hb-store-cli-server Starts the Default Server with Interactive Menu
./hb-store-cli-server start  Downloads binary files automatically and starts the Server with the pre-configured config.ini
./hb-store-cli-server init   Creates a empty basic config.ini file
./hb-store-cli-server setup  Starts the Interactive Menu, equal to no params
./hb-store-cli-server check-bin   Checks Binaries for update and downloads them
./hb-store-cli-server download-bin  Force Download Binaries and update

Development flow

If you want to develop this without building you need to call npm run dev.
This starts a dev watcher, which compiles your code to /build.
Then you can run node apps.js to start the application which is equal to ./hb-store-cli-server.
For params you do the same node apps.js init which is equal to ./hb-store-cli-server init.

Support

If you want to Support me and my development, you can do this here.

ko-fi