Skip to content

konjoinfinity/random-unicode-text-generator

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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

18 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Random Unicode Text Generator ๐Ÿš€๐Ÿˆธโœจ๐Ÿ’œ

A GitHub Action for creating random unicode text from an input range ๐Ÿˆฏ๏ธ

Tests GitHub Workflow Status (with event) GitHub Release Date - Published_At coverage badge GitHub Marketplace GitHub package.json dynamic Dynamic YAML Badge Code Style: prettier Code Linter: ESLint GitHub top language GitHub contributors GitHub Discussions GitHub Release (with filter) GitHub code size in bytes GitHub repo size GitHub package.json dynamic MIT

About ๐Ÿ“ฐ

A random unicode text generator GitHub action. Creates a unicode string based on an input range and length.

Usage โŒจ๏ธ

In your workflow, to use this github action add a step like this to your workflow:

- name: Run Unicode Generator
  uses: konjoinfinity/[email protected]
  id: generate-unicode
  with:
   numOfChars: "50" # Optional - Number of unicode characters to output - Default = "100"
   startRange: "0x1F300" # Optional - Unicode character start range - Default = "0"
   endRange: "0x1F4FF" # Optional - Unicode character end range - Default = "50000"        
Example Output โ–ถ๏ธ
๐Ÿ‘’๐ŸŽ๐Ÿ‡๐Ÿ‘ฟ๐Ÿœ๐Ÿ’ด๐Ÿ๐Ÿ“ธ๐ŸŒค๐ŸŽ›๐Ÿ’Œ๐Ÿ“…๐Ÿ™๐ŸŒฌ๐Ÿฟ๐Ÿพ๐Ÿด๐ŸŽต๐Ÿก๐Ÿ’ฉ๐Ÿ‘—๐Ÿ˜๐Ÿฉ๐ŸŽ๐Ÿ€๐Ÿข๐Ÿฟ๐Ÿ’ง๐Ÿ’ง๐Ÿ’ด๐Ÿญ๐ŸŒ˜๐Ÿ“Œ๐Ÿž๐ŸŽก๐ŸŽด๐Ÿ‘‘๐Ÿ’ต๐Ÿ‰๐ŸŽฑ๐ŸŒ„๐Ÿ‘ฆ๐ŸŒ‰๐Ÿ‘ผ๐Ÿš๐Ÿด๐Ÿ“บ๐Ÿ๐Ÿ’๐Ÿ›

Requirements ๐Ÿ”ง

No extra configuration required to run this GitHub Action.

Inputs โฌ…๏ธ

Name Type Description Requried? Default
numOfChars String Number of unicode characters to output. No "100"
startRange String Unicode character start range. Can be an hexadecimal or number (Ex. "2345", "0x1F300") No "0"
endRange String Unicode character end range. Can be an hexadecimal or number (Ex. "25000", "0x1F4FF") No "50000"

Outputs โžก๏ธ

Name Description How To Access
output Unicode text ouput generated by the action. ${{ steps.<your-step>.outputs.output}}

Accessing Outputs ๐Ÿ‘ˆ๐Ÿป

- name: Show Output
  run: |
    echo ${{ steps.<your-step>.outputs.output }}

Example ๐Ÿ“˜

Link to workflow

name: Create Random Chinese From Unicode

on: push

jobs:
  generate-unicode:
    runs-on: ubuntu-latest
    steps:

      - name: Create Random Chinese
        id: createchinese
        uses: konjoinfinity/[email protected]
        with:
          numOfChars: "50"
          startRange: "0x4e00"
          endRange: "0x9fff"

      - name: Show Output
        run: |
          echo ${{ steps.createchinese.outputs.output }}
Example Output โœ…
ๅผๅฒช่จธ้“ช่ด ๅ‚ฉๆ”šๆŽๆŠ‰่กจๆจธ้Ž…ๅ‹ๅ‚’่ฐฆๆซฅๆ“ๅ‚ๅปžๆฆป่ธๆ…บ้ฏ้ฒบๅฑ—็ฉ€้ฃพ้ˆพๆฅŸๆƒ’ๅจ›ๅฎ–ๅ™ฒๆทค็˜ไผนๆ˜‡้ผ‹ๅผ›่žŸๅœๅ…ˆ้“Šๅฅ‡็ถ‘ๅš ๆถซๅ™ๆ€ฒๅทณ

Credits ๐Ÿ…

Inspired By โญ๏ธ

Packages

No packages published

Languages

  • TypeScript 97.9%
  • Shell 2.1%