Skip to content

GitHub Action for automatically generating 5mods description from a README.md

License

Notifications You must be signed in to change notification settings

justalemon/5desc

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

5desc
GitHub Actions Patreon PayPal Discord

5desc (codename REGB) is a simple Python tool that can be used standalone or as a GitHub Action to convert a README.md into a format compatible with 5mods html tag limitations (only <b>, <i>, <u>, <a>, <ul>, <ol> and <li> is allowed) and that can be copy pasted to avoid the broken input text box ("Invalid character in description").

Download

Installation

GitHub Action

To use 5desc in the description, add the step to your job:

      - uses: justalemon/5desc@v1.0
        env:
          GITHUB_TOKEN: ${{ github.token }}

Windows Executable

Extract the .exe files from the Windows folder in the compressed file somewhere in your system.

Python Wheel

Extract the .whl file from the Python folder in the compressed files and then run:

pip install 5desc-[VERSION]-py3-none-any.whl

That will install the Python Wheel and all of it's requirements.

Docker Container

Run the following command in a terminal to pull the Docker container:

docker pull ghcr.io/justalemon/5desc

Usage

Open a terminal/console and run 5desc. This will automatically convert your README.md to a README.html compatible with 5mods.

For Docker, you can use the following command to run 5desc in the current working directory in Windows:

docker run --rm -it -v "%cd%":/files ghcr.io/justalemon/5desc

You can specify the name of the input file as the first parameter and the name of the output file as the second parameter. For GitHub Actions, This would be specified in the with key, called input and output respectively.

To list the available command line arguments, run 5desc with the --help parameter.

About

GitHub Action for automatically generating 5mods description from a README.md

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages