Skip to content

Dias1c/ascii-art-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ASCII-ART-WEB

The program ascii-art-web is the implementation of the ascii-art project in the form of a web server.

This is our first web project in golang

ascii-art-web preview


How to run?

Just run in the root folder

go run .

If You Want to use Docker, Run: sh ./run_docker.sh After that, the console will have an address where you can view the server By default, it runs on localhost:8080


How to use it?

The site has a control panel, and an output panel Just select a font and click on one of the Download or Show buttons.

  • On click Show: The result of your input will appear in the Art-result part
  • On click Download: The file is downloaded without output to Art-result

Examples

Results by fonts:

  • standard:
 ______                                      _         
|  ____|                                    | |        
| |__    __  __   __ _   _ __ ___    _ __   | |   ___  
|  __|   \ \/ /  / _` | | '_ ` _ \  | '_ \  | |  / _ \ 
| |____   >  <  | (_| | | | | | | | | |_) | | | |  __/ 
|______| /_/\_\  \__,_| |_| |_| |_| | .__/  |_|  \___| 
                                    | |                
                                    |_|                
  • zigzag
·······························································
▓/▓/▓/▓/···········································▓/··········
▓/·······▓/····▓/···▓/▓/▓/·▓/▓/▓/··▓/▓/···▓/▓/▓/···▓/···▓/▓/···
▓/▓/▓/·····▓/▓/···▓/····▓/·▓/····▓/····▓/·▓/····▓/·▓/·▓/▓/▓/▓/·
▓/·······▓/····▓/·▓/····▓/·▓/····▓/····▓/·▓/····▓/·▓/·▓/·······
▓/▓/▓/▓/·▓/····▓/···▓/▓/▓/·▓/····▓/····▓/·▓/▓/▓/···▓/···▓/▓/▓/·
··········································▓/···················
··········································▓/···················
  • thinkertoy
                               
o--o                     o     
|                        |     
O-o  \ /  oo  o-O-o o-o  | o-o 
|     o  | |  | | | |  | | |-' 
o--o / \ o-o- o o o O-o  o o-o 
                    |          
                    o          

The program was written: