Skip to content

a program for displaying text in a special banner style

Notifications You must be signed in to change notification settings

Tlepkali/ascii-art-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ASCII-ART-WEB-STYLIZE

ascii-art-web is a webpage, that allows create ascii representation of input string

Usage/Examples

Clone the repository and run docker container

docker build . docker images


| | | | You will see | REPOSITORY TAG IMAGE ID CREATED SIZE | | table like this | cb45c286cf70 9 seconds ago 1GB | | and you need | asciiartwebdockerize latest 077f36111734 5 hours ago 1GB | | to copy IMAGE ID | golang latest f7d4f5578ce3 9 days ago 992MB | ||______________________________________________________|

docker run -p 8080:8080 {IMAGE ID} ## you can use any port before ':', paste the copied IMAGE ID instead {IMAGE ID}

go to http://127.0.0.1:8080/

1.Write your input string

2.Choose one of the ascii-template

3.Press SUBMIT button

Implementation details

main.go Creates multiplexer and starts server on 8080 port. When the request reaches the server, a multiplexer will inspect the URL being requested and redirect the request to the correct handler fucntion

handlers.go

Handlers fucntions process requests. When the processing is complete, the handler passes the data to the template engine, which will use templates to generate HTML to be returned to the client.

Authors

@Tlep - https://github.com/Tlepkali

About

a program for displaying text in a special banner style

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published