ad-oliviero / uwufetch

A meme system info tool for Linux, based on nyan/uwu trend on r/linuxmasterrace.
GNU General Public License v3.0
737 stars 48 forks source link

Frontend and backend separation #203

Closed ad-oliviero closed 1 year ago

ad-oliviero commented 1 year ago

This splits the code in two main files (and a header):

  1. fetch.c has all the algorithms to get system info (this is the backend)
  2. uwufetch.c is the frontend, so it gets the info from libfetch and prints it in the terminal (this is the frontend)
  3. fetch.h contains all the necessary code to use fetch.c as a library.

This will make building fetch programs (#200) based on uwufetch (now libfetch) a lot easier.

Also suggestions for the name of the library are welcome.