mirror of
https://github.com/schollz/cowyo.git
synced 2023-08-10 21:13:00 +03:00
Updated about text
Former-commit-id: a8ebda0ccd5e5996ca4d493a4e61453aefb60db3 [formerly 948290532c75652e75bd3ee0e5ff83d2fde5b7e1] [formerly 4774556a850f46b83a25c48941a477c388441bc9 [formerly f467ed9c291ab5069623917c7f1a467f9128439b [formerly558fb85041
]]] Former-commit-id: b4eb5d060738586733ecf5276b8af08619860309 [formerly d7dd49eca7b891f9e34288dab694e696e48bc5ca] Former-commit-id: bc41db746e723f8ab01e63d9cb52cf17c20e7c70 Former-commit-id:2a13b715d0
This commit is contained in:
parent
9ad57d2f54
commit
da46271f77
34
utils.go
34
utils.go
@ -26,32 +26,28 @@ func init() {
|
||||
adjectives = []string{"lulling", "vile", "foul", "cheerful", "messy", "dreadful", "uneven", "stinky", "young", "sparkling", "sweltering", "verdant", "hideous", "friendly", "blistering", "rambunctious", "carefree", "fat", "sloppy", "gloomy", "awful", "anemic", "minute", "stiff", "benevolent", "ceaseless", "large", "quick", "round", "glassy", "rusty", "scarce", "odd", "shining", "even", "dowdy", "solemn", "scorching", "brief", "rotten", "new", "plush", "cozy", "meandering", "apologetic", "nimble", "busy", "strong", "great", "brilliant", "piercing", "creepy", "miniature", "narrow", "whimsical", "fantastic", "cowardly", "disgusting", "marvelous", "snug", "stern", "stingy", "angry", "spiky", "cheeky", "gorgeous", "mysterious", "flat", "clever", "charming", "dismal", "meek", "somber", "sour", "thin", "beautiful", "stubborn", "crazy", "challenging", "gaunt", "salty", "indifferent", "huge", "daring", "awkward", "picturesque", "copious", "glowing", "truthful", "rude", "petite", "cranky", "ornery", "brazen", "modest", "purring", "filthy", "rotund", "short", "splendid", "hasty", "deafening", "crawling", "furious", "tall", "mute", "ghastly", "still", "arrogant", "crabby", "haughty", "curly", "voiceless", "hot", "courageous", "late", "microscopic", "vast", "stifling", "good", "disrespectful", "bashful", "moaning", "towering", "adventurous", "idyllic", "careless", "shocking", "erratic", "heavy", "square", "hard", "jagged", "gullible", "hushed", "revolting", "content", "thrifty", "sluggish", "eternal", "greedy", "pleasant", "small", "demanding", "greasy", "enormous", "hostile", "terrible", "chilly", "speedy", "massive", "loud", "puny", "striking", "clumsy", "soaring", "brave", "fast", "delicious", "effortless", "bland", "thick", "little", "ancient", "silent", "wonderful", "stuffed", "grimy", "bitter", "muggy", "shallow", "ridiculous", "absent-minded", "fuzzy", "peculiar", "mangy", "wide", "kind", "squeaky", "screeching", "silly", "squealing", "spoiled", "gigantic", "happy", "steep", "ingenious", "modern", "juicy", "gentle", "medium", "brawny", "curved", "lumpy", "afraid", "amusing", "thundering", "cooing", "oppressive", "swollen", "grave", "sturdy", "average", "proud", "rancid", "absurd", "entertaining", "annoyed", "fussy", "precise", "subtle", "gilded", "slow", "delinquent", "nervous", "hopeful", "rich", "adequate", "shrill", "plump", "freezing", "nasty", "endless", "lavish", "worried", "courteous", "bulky", "fair", "diminutive", "groggy", "miserable", "horrid", "crooked", "monstrous", "superb", "contrary", "lazy", "fidgety", "menacing", "swift", "stale", "quarrelsome", "quiet", "askew", "tough", "simple", "sweet", "hardworking", "frosty", "whispering", "famished", "crispy", "caring", "capable", "tiny", "immense", "startled", "lovely", "high-pitched", "tasteless", "decrepit", "tense", "lousy", "straight", "excited", "ugly", "stunning", "parched", "wild", "ripe", "lonely", "optimistic", "obnoxious", "cavernous", "different", "harsh", "creaky", "grand", "difficult", "temporary", "eccentric", "muffled", "alert", "delicate", "timid", "infamous", "enchanting", "anxious", "humble", "edgy", "severe", "repulsive", "desolate", "sleepy", "slimy", "irritable", "vigilant", "generous", "rapid", "old-fashioned", "hilly", "easy", "righteous", "joyful", "surprised", "starving", "big", "early", "compassionate", "moody", "perpetual", "dishonest", "serious", "foolish", "soft", "old", "scared", "mighty", "trendy", "curious", "hissing", "savage", "dense", "steaming", "broad", "slick", "creative", "icy", "adorable", "slight", "terrified", "intense", "noisy", "cautious", "sizzling", "blithe", "fluttering", "faint", "delighted", "smelly", "lively", "frightened", "gauzy", "long", "strict", "bored", "calm", "melodic", "spicy", "relaxed", "triangular", "dull", "wise", "dangerous", "smooth", "cruel", "creeping", "dawdling", "intimidating", "exhausted", "deep", "tasty", "obtuse", "graceful", "tranquil", "raspy", "selfish", "sullen", "malicious", "ecstatic", "wrinkly", "opulent", "polite", "fetid", "husky", "prudent", "skinny", "tricky", "impatient", "loyal", "fresh"}
|
||||
aboutPageText = `![Logo](/static/img/awwkoala.png)
|
||||
|
||||
# [AwwKoala](/)
|
||||
|
||||
# AwwKoala
|
||||
## A Websocket Wiki and Kind Of A List Application
|
||||
![Version 1.0](https://img.shields.io/badge/version-1.0-brightgreen.svg)
|
||||
|
||||
This is a self-contained wiki webserver that makes sharing easy and *fast*. You can make any page you want, and any page is editable by anyone. Pages load instantly for editing, and have special rendering for whether you want to view as a web page or view as list.
|
||||
This is a self-contained wiki webserver that makes sharing easy and _fast_. You can make any page you want, and any page is editable by anyone. Pages load instantly for editing, and have special rendering for whether you want to view as a web page or view as list.
|
||||
|
||||
#### Basics
|
||||
# Features
|
||||
## Just type.
|
||||
To jot a note, simply load the page at [` + "`" + `/` + "`" + `](http://AwwKoala.com/) and just start typing. No need to press edit, the browser will already be focused on the text. No need to press save - it will automatically save when you stop writing. The URL at [` + "`" + `/` + "`" + `](http://AwwKoala.com/) will redirect to an easy-to-remember name that you can use to reload the page at anytime, anywhere. But, you can also use any URL you want, e.g. [` + "`" + `/AnythingYouWant` + "`" + `](http://AwwKoala.com/AnythingYouWant).
|
||||
|
||||
To jot a note, simply load the page at [` + "`" + `/` + "`" + `](/) and just start typing. No need to press edit, the browser will already be focused on the text. No need to press save - it will automatically save when you stop writing. The URL at [` + "`" + `/` + "`" + `](/) will redirect to an easy-to-remember name that you can use to reload the page at anytime, anywhere. But, you can also use any URL you want, e.g. [` + "`" + `/AnythingYouWant` + "`" + `](/AnythingYouWant).
|
||||
## Views
|
||||
All pages can be rendered into HTML by adding ` + "`" + `/view` + "`" + `. For example, the page [` + "`" + `/AnythingYouWant` + "`" + `](http://AwwKoala.com/AnythingYouWant) is rendered at [` + "`" + `/AnythingYouWant/view` + "`" + `](http://AwwKoala.com/AnythingYouWant/view). You can write in HTML or [Markdown](https://daringfireball.net/projects/markdown/) for page rendering. Math is supported with [Katex](https://github.com/Khan/KaTeX) using ` + "`" + `$\frac{1}{2}$` + "`" + ` for inline equations and ` + "`" + `$$\frac{1}{2}$$` + "`" + ` for regular equations.
|
||||
|
||||
#### Views and Lists
|
||||
## Lists
|
||||
If you are writing a list and you want to tick off things really easily, just add ` + "`" + `/list` + "`" + `. For example, after editing [` + "`" + `/grocery` + "`" + `](http://AwwKoala.com/grocery), goto [` + "`" + `/grocery/list` + "`" + `](http://AwwKoala.com/grocery/list). In this page, whatever you click on will be striked through and moved to the end. This is helpful if you write a grocery list and then want to easily delete things from it.
|
||||
|
||||
All pages can be rendered into HTML by adding ` + "`" + `/view` + "`" + `. For example, the page [` + "`" + `/AnythingYouWant` + "`" + `](/AnythingYouWant) is rendered at [` + "`" + `/AnythingYouWant/view` + "`" + `](/AnythingYouWant/view). You can write in HTML or [Markdown](https://daringfireball.net/projects/markdown/) for page rendering. Math is supported with [Katex](https://github.com/Khan/KaTeX) using ` + "`" + `$\frac{1}{2}$` + "`" + ` for inline equations and ` + "`" + `$$\frac{1}{2}$$` + "`" + ` for regular equations.
|
||||
## Automatic versioning
|
||||
All previous versions of all notes are stored and can be accessed by adding ` + "`" + `?version=X` + "`" + ` onto ` + "`" + `/view` + "`" + ` or ` + "`" + `/edit` + "`" + `. If you are on the ` + "`" + `/view` + "`" + ` or ` + "`" + `/edit` + "`" + ` pages the menu below will show the most substantial changes in the history. Note, only the _current_ version can be edited (no branching allowed, yet).
|
||||
|
||||
If you are writing a list and you want to tick off things really easily, just add ` + "`" + `/list` + "`" + `. For example, after editing [` + "`" + `/grocery` + "`" + `](/grocery), goto [` + "`" + `/grocery/list` + "`" + `](/grocery/list). In this page, whatever you click on will be striked through and moved to the end. This is helpful if you write a grocery list and then want to easily delete things from it.
|
||||
|
||||
#### Versioning
|
||||
|
||||
All previous versions of all notes are stored and can be accessed by adding ` + "`" + `?version=X` + "`" + ` onto ` + "`" + `/view` + "`" + ` or ` + "`" + `/edit` + "`" + `. If you are on the ` + "`" + `/view` + "`" + ` or ` + "`" + `/edit` + "`" + ` pages the menu below will show the most substantial changes in the history. Note, only the *current* version can be edited (no branching allowed, yet).
|
||||
|
||||
#### Disclaimer
|
||||
|
||||
Be cautious about writing sensitive information in the notes as anyone with the URL has access to it. For more information, or if you'd like to edit the code, [use the github](https://github.com/schollz/AwwKoala).
|
||||
|
||||
### Contact
|
||||
|
||||
If you'd like help or find a bug, please submit [an issue](https://github.com/schollz/AwwKoala/issues). Any other comments, quetions or anything at all, just <a href="https://twitter.com/intent/tweet?screen_name=zack_118" class="twitter-mention-button" data-related="zack_118">tweet me @zack_118</a>
|
||||
# Contact
|
||||
If you'd like help, go ahead and clone and send a pull request. If you find a bug, please submit [an issue](https://github.com/schollz/AwwKoala/issues). Any other comments, questions or anything at all, just <a href="https://twitter.com/intent/tweet?screen_name=zack_118" class="twitter-mention-button" data-related="zack_118">tweet me @zack_118</a>
|
||||
|
||||
Have fun.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user