diff --git a/cgi-bin/gemlikes/add-comment b/cgi-bin/gemlikes/add-comment new file mode 100755 index 0000000..1fe4d9c Binary files /dev/null and b/cgi-bin/gemlikes/add-comment differ diff --git a/cgi-bin/gemlikes/gemlikes.toml b/cgi-bin/gemlikes/gemlikes.toml new file mode 100644 index 0000000..fe764e4 --- /dev/null +++ b/cgi-bin/gemlikes/gemlikes.toml @@ -0,0 +1,27 @@ +# Alter this and rename it to gemlikes.toml +# Put it in the same directory as the binaries + +# Where to store data: +data = "/root/go/bin/gemlikesDATA" +# It should be somewhere the server won't serve. +# It must be accessible to the user that the CGI script runs under. +# Directories will be created as needed, don't create them yourself. + +# The list of directories where files exist that can be liked and commented on: +dirs = ["/var/www/konsthol/log", "/var/www/konsthol/mblog"] +# IMPORTANT: There can't be any files with same name in any of these directories, +# if you want gemlikes to work with them. +# Nothing bad will happen, but if you try and view the likes and comments, you'll get an error page. +# Note that subdirectories must be specified manually, it is not recursive. +# Note that paths should be absolute. +# Note that the user that the binary is run under must have read access to the files +# in those directories. + +# How many comments can one IP address make: +max_comments = 5 +# If this is missing, or is 0 or < -1, then 5 is the default. +# Setting it to -1 disables comments globally. + +# Disables Likes for all files +disable_likes = false +# Must be true or false diff --git a/cgi-bin/gemlikes/like b/cgi-bin/gemlikes/like new file mode 100755 index 0000000..ea170a7 Binary files /dev/null and b/cgi-bin/gemlikes/like differ diff --git a/cgi-bin/gemlikes/view b/cgi-bin/gemlikes/view new file mode 100755 index 0000000..f48b130 Binary files /dev/null and b/cgi-bin/gemlikes/view differ diff --git a/index.html b/index.html index d167419..c4f9279 100644 --- a/index.html +++ b/index.html @@ -157,8 +157,8 @@ callFrame.src=user_string;

I accept donations for any reason

Donate

Daily Unique Visitors

-Saturday 21/12/24 15:51:01 -2 +Sunday 22/12/24 16:26:34 +3

Also on the web 🕸️

http website

diff --git a/log/choose_wpgtk_over_just_pywal-17-08-2022.gmi b/log/choose_wpgtk_over_just_pywal-17-08-2022.gmi index 656b8a9..44c66c1 100644 --- a/log/choose_wpgtk_over_just_pywal-17-08-2022.gmi +++ b/log/choose_wpgtk_over_just_pywal-17-08-2022.gmi @@ -16,4 +16,6 @@ After creating a script to be run after every use of the program to theme applic Just give it a shot! Maybe I'll upload my postWPG script in my gitea instance sometime soon and create an actual tutorial on how to use wpgtk +=> gemini://konsthol.eu/cgi-bin/gemlikes/view?choose_wpgtk_over_just_pywal-17-08-2022.gmi View likes and comments! + => .. diff --git a/log/easy_file_sharing-12-09-2021.gmi b/log/easy_file_sharing-12-09-2021.gmi index f6d3401..2875480 100644 --- a/log/easy_file_sharing-12-09-2021.gmi +++ b/log/easy_file_sharing-12-09-2021.gmi @@ -28,4 +28,6 @@ You should definetely read more about it on Croc's github page and set up your o => https://github.com/schollz/croc +=> gemini://konsthol.eu/cgi-bin/gemlikes/view?easy_file_sharing-12-09-2021.gmi View likes and comments! + => .. diff --git a/log/the_magic_of_wake_on_lan-19-12-2024.gmi b/log/the_magic_of_wake_on_lan-19-12-2024.gmi index 00f9179..825a104 100644 --- a/log/the_magic_of_wake_on_lan-19-12-2024.gmi +++ b/log/the_magic_of_wake_on_lan-19-12-2024.gmi @@ -22,4 +22,6 @@ I would suggest anyone to take a look at my project's repo and if they find that => https://git.konsthol.eu/konsthol/WOL-Ly WOL-Ly +=> gemini://konsthol.eu/cgi-bin/gemlikes/view?the_magic_of_wake_on_lan-19-12-2024.gmi View likes and comments! + => .. diff --git a/log/webcall-25-02-2023.gmi b/log/webcall-25-02-2023.gmi index e80f4d9..038fc49 100644 --- a/log/webcall-25-02-2023.gmi +++ b/log/webcall-25-02-2023.gmi @@ -18,4 +18,6 @@ You should give it a shot and see if it works for you. The source code is at a l => https://timur.mobi +=> gemini://konsthol.eu/cgi-bin/gemlikes/view?webcall-25-02-2023.gmi View likes and comments! + => ..