Skip to content

evasseure/trendme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

trendme

Site screenshot

A small website that aggregates github trending repos.
It's my first project in clojure, so hopefuly the code is not too bad.

By default you will have the languages: javascript, typescript, python, html, clojure.
To display specific languages you have to use the url parameter l with a comma separated list of languages.
ex: https://trendme.evass.co/?l=c,zig,rust

Visit the website here: Trendme

Prerequisites

You will need Leiningen 2.0.0 or above installed.

Commands

To run lein ring server-headless
To build lein ring uberjar
to run build java -jar target/trendme-0.1.0-SNAPSHOT-standalone.jar

Run on server

These infos are mostly for me, but i guess you can use them too if you want to run it on systemd. 🤷‍♂️

Create systemd file
sudo touch /usr/lib/systemd/system/trendme.service

with this content:

[Unit]
Description=webserver Daemon

[Service]
ExecStart=java -jar /home/erwan/trendme/target/trendme-0.1.0-SNAPSHOT-standalone.jar

[Install]
WantedBy=multi-user.target

Run with sudo service trendme start
Restart with sudo service trendme restart
Enable on start sudo service trendme enable
Disable on start sudo service trendme disable

About

A small website that aggregates github trending repos.

Topics

Resources

Stars

Watchers

Forks