Skip to content

tgpholly/EUS-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EUS-web is the current frontend of EUS, my public screenshot server.

CodeFactor

Setup

EUS-web requires an installation of EUS to work, see the EUS Setup guide for more details. Once EUS is installed drop EUS-web's files into the EUS/files folder and it should show on the server.

API Usage

EUS-web makes use of the EUS API and therefore can not be used without EUS. The endpoints EUS-web makes use of are /api/get-stats and api/get-info

Adding pages

Along with making a new html file you will also need to add an entry to the buttons array in navbarHelper.js. When navbarHelper is initialised on a page you can define what page it is, this is used for highlighting which page you are on in the navbar.

For example the home page's initialiser looks like this

  <script>
      // Page initialiser
      navbar("Home");
      fetchStatsFromAPI();
  </script>

About

EUS-web is the current frontend of EUS, my public screenshot server.

Resources

License

Code of conduct

Stars

Watchers

Forks

Contributors