Skip to content

xkcd client for X11 written in Fortran 2018

License

Notifications You must be signed in to change notification settings

rajkumardongre/fortran-xkcd

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fortran-xkcd

An fpm example project written in Fortran 2018 that displays the latest xkcd comic inside an X window. As a limitation, only images in PNG format are supported (no JPEG). The alt text will be printed to console.

The program depends on X11, libcairo, libcurl, as well as the following Fortran libraries:

You can pass the xkcd number to view a specific comic strip:

$ ./xkcd 292

Screen Shot

screen shot

Build Instruction

Just clone the repository and build the executable with fpm:

$ git clone https://github.com/interkosmos/fortran-xkcd
$ cd fortran-xkcd/
$ fpm build --profile=release
$ fpm run

The binary xkcd will be written to build/<compiler>/app/.

Licence

ISC

About

xkcd client for X11 written in Fortran 2018

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Fortran 100.0%