fuckery

package module
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2021 License: GPL-3.0 Imports: 2 Imported by: 1

README ยถ

fuckery - General unicode tomfoolery.

Fuckery is a go library and cli tool for applying those ๐“Œโ„ฏ๐’พ๐“‡๐’น ๐•ฆ๐•Ÿ๐•š๐•”๐• ๐••๐•– ๐’”๐’•๐’š๐’๐’†๐’” to text. Your terminal's stdout may trim some of the styles, try printing to a file if you have issues.

Usage

Fuckery reads from stdin and prints to stdout.

fuckery [style]

styles:

  • Sฬถtฬถrฬถiฬถkฬถeฬถ
  • Uฬฒnฬฒdฬฒeฬฒrฬฒlฬฒiฬฒnฬฒeฬฒ
  • ๐—•๐—ผ๐—น๐—ฑ๐—ฆ๐—ฎ๐—ป๐˜€
  • ๐๐จ๐ฅ๐๐’๐ž๐ซ๐ข๐Ÿ
  • ๐˜๐˜ต๐˜ข๐˜ญ๐˜ช๐˜ค๐˜š๐˜ข๐˜ฏ๐˜ด
  • ๐ผ๐‘ก๐‘Ž๐‘™๐‘–๐‘๐‘†๐‘’๐‘Ÿ๐‘–๐‘“
  • ๐˜ฝ๐™ค๐™ก๐™™๐™„๐™ฉ๐™–๐™ก๐™ž๐™˜๐™Ž๐™–๐™ฃ๐™จ
  • ๐‘ฉ๐’๐’๐’…๐‘ฐ๐’•๐’‚๐’๐’Š๐’„๐‘บ๐’†๐’“๐’Š๐’‡
  • ๐”ป๐• ๐•ฆ๐•“๐•๐•–
  • ๐’ž๐“Š๐“‡๐“ˆ๐’พ๐“‹โ„ฏ
  • ๐”‰๐”ฏ๐”ž๐”จ๐”ฑ๐”ฒ๐”ฏ
  • Zฬ‘ฬ‚อƒฬธอ‚ฬœอ‡aฬตฬฝฬดอฌอ…ฬœอซlอœอšอฬ”ฬ€ฬ‚อซgอฎฬˆอฬฉฬ’ฬอoอ€ฬŠอ›ฬ—อ€อ›ฬท ฬฒฬฃฬ”อ„ฬ…ฬ’อข7อฬฃฬนอžฬŒฬฬ (Zalgo 7 -- greater numbers have more zalg)

Build and Install

Build dependencies:

  • golang
  • make
  • sed
  • scdoc

Optionally configure config.mk to specify a different install location.
Defaults to /usr/local/

sudo make install

Uninstall

sudo make uninstall

Documentation ยถ

Index ยถ

Constants ยถ

View Source
const (
	StrikeRune    rune = '\u0336'
	UnderlineRune rune = '\u0332'
)

Variables ยถ

This section is empty.

Functions ยถ

func BoldItalicSans ยถ

func BoldItalicSans(s string) string

BoldItalicSans modifies a unicode string to replace ASCII characters with their ๐™—๐™ค๐™ก๐™™ ๐™ž๐™ฉ๐™–๐™ก๐™ž๐™˜ ๐™จ๐™–๐™ฃ๐™จ version.

func BoldItalicSerif ยถ

func BoldItalicSerif(s string) string

BoldItalicSerif modifies a unicode string to replace ASCII characters with their ๐’ƒ๐’๐’๐’… ๐’Š๐’•๐’‚๐’๐’Š๐’„ ๐’”๐’†๐’“๐’Š๐’‡ version.

func BoldSans ยถ

func BoldSans(s string) string

BoldSans modifies a unicode string to replace ASCII characters with their ๐—ฏ๐—ผ๐—น๐—ฑ ๐˜€๐—ฎ๐—ป๐˜€ version.

func BoldSerif ยถ

func BoldSerif(s string) string

BoldSerif modifies a unicode string to replace ASCII characters with their ๐›๐จ๐ฅ๐ ๐ฌ๐ž๐ซ๐ข๐Ÿ version.

func Cursive ยถ

func Cursive(s string) string

Cursive modifies a unicode string to replace ASCII characters with their ๐’ธ๐“Š๐“‡๐“ˆ๐’พ๐“‹โ„ฏ version.

func Double ยถ

func Double(s string) string

Double modifies a unicode string to replace ASCII characters with ๐••๐• ๐•ฆ๐•“๐•๐•– ๐•ค๐•ฅ๐•ฃ๐•ฆ๐•”๐•œ version.

func Fraktur ยถ

func Fraktur(s string) string

Fraktur modifies a unicode string to replace ASCII characters with their ๐”ฃ๐”ฏ๐”ž๐”จ๐”ฑ๐”ฒ๐”ฏ version.

func ItalicSans ยถ

func ItalicSans(s string) string

ItalicSans modifies a unicode string to replace ASCII characters with their ๐˜ช๐˜ต๐˜ข๐˜ญ๐˜ช๐˜ค ๐˜ด๐˜ข๐˜ฏ๐˜ด version.

func ItalicSerif ยถ

func ItalicSerif(s string) string

ItalicSerif modifies a unicode string to replace ASCII characters with their ๐‘–๐‘ก๐‘Ž๐‘™๐‘–๐‘ ๐‘ ๐‘’๐‘Ÿ๐‘–๐‘“ version.

func Strike ยถ

func Strike(s string) string

Strike modifies a unicode string to insert a diacritical strikethrough after non newline runes.

func Underline ยถ

func Underline(s string) string

Underline modifies a unicode string to insert a diacritical underline after non newline runes.

func Zalgo ยถ

func Zalgo(s string, r *rand.Rand, zal int) string

Zalgo does horrific things to a unicode string. Make sure to seed it :) r := rand.New(rand.NewSource(time.Now().UnixNano()))

Types ยถ

type Offset ยถ

type Offset struct {
	// contains filtered or unexported fields
}

Offset represents a range of runes that can be shifted by a certain number of unicode places. Use a starting character, ending character, and a replacement for the starting character at the new shifted position.

Directories ยถ

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL