GithubHelp home page GithubHelp logo

mrnaif2018 / extension-directory Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fossbilling/extension-directory

0.0 0.0 0.0 789 KB

The extension directory of FOSSBilling

Home Page: https://extensions.fossbilling.org

License: Apache License 2.0

JavaScript 1.60% TypeScript 56.38% CSS 42.01%

extension-directory's Introduction

FOSSBilling extension directory

image

This is the FOSSBilling extension directory. It is a collection of extensions for FOSSBilling. It is still under ongoing development, but we have a few extensions available for download right now.

You can find the extension directory at https://extensions.fossbilling.org.

How to install an extension

Automatically (recommended)

  1. Log into your FOSSBilling admin panel
  2. Go to the Extensions page
  3. Click on the "Install" button next to the extension you want to install

Manually

  1. Download the extension archive from the extension directory
  2. Create a folder named the ID of the extension in the modules folder of your FOSSBilling installation
  3. Extract the archive there
  4. Go to the Extensions page in your FOSSBilling admin panel and enable the extension

How to submit an extension

Currently, the backend doesn't rely on a database, so you can't submit extensions through the website. You can submit extensions by creating a pull request on GitHub. We keep a list of extensions in the data/data.ts file. You can add your extension to the list by adding a new Extension object to the array.

The badge API

We provide an API that renders badges for your extension. You can use these badges on your README or on your website.

The API is available at https://extensions.fossbilling.org/api/extension/:id/badges/:type. The :id parameter is the ID of your extension. The :type parameter is the type of badge you want to render. Currently, we support the following types:

Type Description Example
version Renders the latest version of your extension badge
min_fossbilling_version Renders the minimum version of FOSSBilling your extension supports badge
license Renders the license of your extension badge

Optionally, you can add a ?color= parameter to the URL to change the color of the badge. The parameter also accepts a three or six-character hex color code.

Example: https://extensions.fossbilling.org/api/extension/Example/badges/version?color=orange

badge

How to contribute

If you want to contribute to the extension directory, you can do so by creating a pull request on GitHub. You can also create an issue if you have any questions or suggestions.

You also might want to join our Discord server if you want to get in touch with us.

Running a local development server

Running the extension directory locally is fairly easy.

Install the dependencies

npm i

Start the development server

npm run dev

Most of your changes will be reflected instantly without needing to restart the development server.

License

Each module is licensed under the terms set by the author. Please see the LICENSE file in each module for more information. The extension directory website is licensed under the Apache 2.0 license. See the LICENSE file for more information.

extension-directory's People

Contributors

admdly avatar bellenottelling avatar dependabot[bot] avatar evrifaessa avatar jaapmarcus 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.