Giter Club home page Giter Club logo

shelter-template's Introduction

[Your name here]'s shelter plugins

If you're reading this you should either change this README, or you should run npx degit uwu/shelter-template shelter-plugins!

Getting started

You should be using pnpm with this template ideally.

To install the dependencies and debug hello-world run:

pnpm i 
pnpm lune dev plugins/hello-world

Ensure that Lune Dev Mode is enabled in Discord so that lune can connect to it.

Now you can start debugging. The plugin will automatically reload after every change.

Installing

To then install your finished plugin in shelter you can either rely on GitHub pages and it's workflow or you can build and host them here temporarily.

Building locally

To build and host your plugins locally run:

pnpm lune ci
npx http-server dist/ --cors

Then you can install your plugin in shelter with this URL http://localhost:8080/hello-world.

Publishing via GitHub

If you have published this repo on GitHub the plugins will be built after every commit.

For the GitHub action to run flawlessly, make sure you have the following setting enabled: Repo settings > Actions > General > Workflow permissions > Read and write permissions

And for it to be hosted correctly you need to configure the gh-pages branch after its been created by the GitHub action. You can do this in Repo settings > Pages > Branch.

If this worked, you will be able to install the plugin via https://<username>.github.io/<repo>/hello-world.

shelter-template's People

Contributors

ioj4 avatar yellowsink avatar

Stargazers

 avatar  avatar  avatar

Forkers

yellowsink kyza

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.