Coder Social home page Coder Social logo

hsn's Introduction

Hoshino-cli

安装方法

Windows的简单粗暴方法:下载release中的对应文件,改名为hsn.exe扔到C:\Windows\System32 (只要给hsn.exe添加到环境变量Path路径就行了)

Linux的简单粗暴方法:下载release中的对应文件,改名为hsn扔到\bin文件夹下 (只要有环境变量就行了)

使用方法

设置CLI

hsn set

  • -p (--path) : 填写Hoshino工程目录的绝对路径,或者填写 . 将使用当前目录
  • -i (--image) : 设置使用Github的镜像源地址,默认为 https://github.com
  • --pip : 设置安装python依赖工具,默认为 pip3

例如

  • hsn set --path=/root/hoshino
  • hsn set -i=https://github.com
  • hsn set --pip="python38 -m pip"

可用镜像源

  • https://hub.fastgit.org
  • https://github.com.cnpmjs.org
  • https://github.bajins.com
  • https://github.rc1844.workers.dev

获取可用插件列表

hsn list

获取已适配插件列表及其序号

安装Hoshino插件

hsn install

请确保安装了git, python

例如 hsn install music

可以通过序号安装

例如 hsn install 1

更新CLI

hsn update

生成发布插件的json文件

hsn export [plugin name]

然后填写仓库地址,所需依赖和资源文件就行了

bucket文件夹保存了已适配插件的信息, 你可以向本项目提交issue或pr来发布您的插件到hsn插件仓库 插件适配指南

hsn's People

Contributors

wdvxdr1123 avatar oyuanchu avatar coldthunder11 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.