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
-Saturday 21/12/24 15:51:01 -2 +Sunday 22/12/24 16:26:34 +3