Git Product home page Git Product logo

librey's Introduction

librey's People

Contributors

ahwxorg avatar amogusussy avatar codedipper avatar davidovski avatar dehlirious avatar delendum avatar extravi avatar flowfield-dev avatar hnhx avatar hukasx0 avatar juniorbotelho avatar lunaslibre avatar nekusfemboy avatar nembenike avatar nik012003 avatar nohoster avatar norrlandxyz avatar nur1popcorn avatar oshekharo avatar pablouser1 avatar prplwtf avatar rafalohaki avatar reprovedc0medown1nch1ng avatar sectorv5 avatar stacelive avatar terryiscool160 avatar unixfox avatar vars1ty avatar whoisyoges avatar wint3rmute avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

librey's Issues

Previews

There is this awesome feature by some browser extensions, that lets you see a preview image of all the websites that are found my the engine.

Screenshot_20231014_172842

The extension that is doing that, is sadly non-free.

Can we do this open source, and for this engine specifically? ๐Ÿ˜ƒ

Potential for phishing attacks

When searching for text or video results over the api, LibreY sends two urls: url which is the url for the result and base_url, the first part of the result url, including the scheme and hostname. The base_url is the one that is displayed above each search result and will likely be the one that the user will use to judge the location of the result that they are about to click.

Since base_url is being provided by the api, during instance fallback, a malicious instance could inject an innocent looking base_url onto a less innocent url, which may fool users into thinking that a result is legitimate.

proposed solution

base_url should be ommited entirely and determining the base url should be handed over to the logic that prints the text results. This way the responsibility is shifted to the instance that the user trusts, rather than some other third-party instance.

No instance list

Since the repo for libreX seems to be dead for now, it might be worth migrating the instances table in README and all of instances.json.

The list of instances in instances.json is important for the librex fallback feature when a google search fails, so as many as possible LibreX instances should be listed in there.

As for the README, maybe a table could be made listing all the LibreX and LibreY instances, with a flag or something indicating that one is running LibreX. Maybe this could be moved to a new page (or even generated via instances.json on the instance itself?)

Contacted LibreX Hosters

Domain Method Contacted Updated
LibreY List
search.ahwx.org Matrix โœ… โŒ
librex.me/librex.revvy.de None โœ… โœ…
search.davidovski.xyz None โœ… โœ…
LibreX List
librex.zzls.xyz Matrix โœ… โŒ
s.dyox.in Site Down โŒ โŒ
lx.vern.cc Matrix โœ… โŒ
search.spaceint.fr/librey.spaceint.fr Discord โœ… โœ…
search.madreyk.xyz Site Down โŒ โŒ
search.pabloferreiro.es Email โœ… โŒ
librex.pufe.org No Longer Hosts - -
librex.ratakor.com Email โœ… โŒ
search.tildevarsh.in Email โœ… โŒ
librex.myroware.eu No Site Content/Blocks Tor (?) โŒ โŒ
librex.bloatcat.tk Email โœ… โŒ
librex.retro-hax.net Email โœ… โŒ
funami.tech No Contact โŒ โŒ
search.zeroish.xyz Email โœ… โŒ
librex.baczek.me Email โœ… โŒ
librex.yogeshlamichhane.com.np Email โœ… โŒ
lx.benike.monster Email โœ… โŒ
librex.nohost.network Email โœ… โŒ
search.decentrala.org Email โœ… โŒ
LibreX Pull Requests
lx.owo.si No Contact Info โŒ โŒ
lx.articexploit.xyz Email โœ… โŒ
librex.pardesicat.xyz Email โœ… โŒ

[Feature Request] Alternative to Youtube Front End

I've been using LibreY for some days, but i don't use invidious, instead I've been using piped.video, its way better than invidious, I've looked around here in issues and not found someone asking this question, so I've made it.

No results anymore

I did a fresh update, set it up according to the wiki editing my config.php and opensearch.xml.
We are getting zero search results now. Not sure what happened. I can get image results but zero text results show using either google or duckduckgo.

Deprecated: Creation of dynamic property

Hi
I follow procedure for host my own instance
Everything working
Except for every search i do i have this on search result page :

Deprecated: Creation of dynamic property TextSearch::$query is deprecated in /home/runner/LibreY/engines/text/text.php on line 4

Deprecated: Creation of dynamic property TextSearch::$page is deprecated in /home/runner/LibreY/engines/text/text.php on line 5

Deprecated: Creation of dynamic property TextSearch::$opts is deprecated in /home/runner/LibreY/engines/text/text.php on line 6

Deprecated: Creation of dynamic property TextSearch::$engine is deprecated in /home/runner/LibreY/engines/text/text.php on line 8

Deprecated: Creation of dynamic property GoogleRequest::$query is deprecated in /home/runner/LibreY/misc/search_engine.php on line 6

Deprecated: Creation of dynamic property GoogleRequest::$page is deprecated in /home/runner/LibreY/misc/search_engine.php on line 7

Deprecated: Creation of dynamic property GoogleRequest::$mh is deprecated in /home/runner/LibreY/misc/search_engine.php on line 8

Deprecated: Creation of dynamic property GoogleRequest::$opts is deprecated in /home/runner/LibreY/misc/search_engine.php on line 9

Deprecated: Creation of dynamic property GoogleRequest::$url is deprecated in /home/runner/LibreY/misc/search_engine.php on line 11

Deprecated: Creation of dynamic property GoogleRequest::$ch is deprecated in /home/runner/LibreY/misc/search_engine.php on line 18

Deprecated: Creation of dynamic property TextSearch::$engine_request is deprecated in /home/runner/LibreY/engines/text/text.php on line 18

Deprecated: Creation of dynamic property WikipediaRequest::$query is deprecated in /home/runner/LibreY/misc/search_engine.php on line 6

Deprecated: Creation of dynamic property WikipediaRequest::$page is deprecated in /home/runner/LibreY/misc/search_engine.php on line 7

Deprecated: Creation of dynamic property WikipediaRequest::$mh is deprecated in /home/runner/LibreY/misc/search_engine.php on line 8

Deprecated: Creation of dynamic property WikipediaRequest::$opts is deprecated in /home/runner/LibreY/misc/search_engine.php on line 9

Deprecated: Creation of dynamic property WikipediaRequest::$wikipedia_domain is deprecated in /home/runner/LibreY/engines/special/wikipedia.php on line 4

Deprecated: Creation of dynamic property WikipediaRequest::$url is deprecated in /home/runner/LibreY/misc/search_engine.php on line 11

Deprecated: Creation of dynamic property WikipediaRequest::$ch is deprecated in /home/runner/LibreY/misc/search_engine.php on line 18

Deprecated: Creation of dynamic property TextSearch::$special_request is deprecated in /home/runner/LibreY/engines/text/text.php on line 35

What is i do wrong ?
Thank you .
( With latest Libre X commit i don't have this.
I merge to Libre Y and this errors appairing )

.git/refs/heads/main - No such file or directory

At this file,

$hash = file_get_contents(".git/refs/heads/main");
is present, but if you download the Git, it doesn't exist.

If you git clone https://github.com/Ahwxorg/LibreY.git , it does.

My suggestion: either do

if (file_exists($filename)) {
    $hash = file_get_contents(".git/refs/heads/main");
} 

or get latest commit via

https://api.github.com/repos/Ahwxorg/LibreY/git/refs/heads/main

Add more tabs

It would be just convenient if the search results tabs match with the ones in Google, i.e. Maps (could be OpenStreetMaps for privacy), , Shopping..etc

This is when searching for any keyword in Google, that could have a shopping option as well
image

this is when searching for an address in Google
image

I searched for the same address above, and no Maps option :(
image

Crash when saving settings twice.

Steps to reproduce:

  1. Go to /settings.php
  2. Make any sort of changes there.
  3. Save
  4. Go back to /settings.php
  5. Make any sort of changes there.
  6. Save, returns 502 Bad Gateway on client side.
  7. Issue repeats every time you try again, unless you clear data.

Error:
2023/09/23 03:15:40 [error] 1126332#1126332: *308760 upstream sent too big header while reading response header from upstream, client: 127.106.15.158, server: revekebotog64xrrammtsmjwtwlg3vqyzwdurzt2pu6botg4bejq.b32.i2p, request: "POST /settings.php HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "revekebotog64xrrammtsmjwtwlg3vqyzwdurzt2pu6botg4bejq.b32.i2p"

Version:
217601a

Search Results in Incorrect Languages

When languages such "Portuguese (Brazil)" and "Portuguese (Portugal)" are selected, the search results are not displayed on these languages, but in "Portuguese" they are. I don't know if this happens with other languages. The preferred search engine used was Google.

Spam

We need something to block spamming with the same queries, because I have the same IP spamming for porn through the API :')
image
image
image

And there's a lot more of IP addresses, so for now I'm just blocking them with NGINX, but we need to block porn queries on the API

Basic customization?

Using this in a docker container and was surprised by the lack of a config file for things like CSS, logos, footer text. Does something like this already exist?

Outdated Locales

The locale strings for nl and sv are outdated. This can cause missing pieces of text, as shown below.
The most common strings I've noticed missing are category_maps, api_unavailable, and settings_preferred_engine, but there may be others.
As a temporary bandage to minimize breakage, we can just put the missing strings in English.
@norrlandxyz @Ahwxorg

Screenshot_2023-12-29_18-09-31

Added by @Ahwxorg:

  • Add needed changes to Dutch (NL) locale file (@Ahwxorg)
  • Add needed changes to Swedish (SV) locale file (@norrlandxyz)

nginx tries to bind port 80

I don't get why I have this error at startup:
nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)

I'm using this docker image: ghcr.io/ahwxorg/librey:latest and ipv6 is disabled on the host machine.

If I look at docker/nginx.conf I see that It should bind port 8080 so why do I get this error related to port 80?

Can you add an env variable to have only ipv4 binding, otherwise can you explain to me how I can build the docker image disabling the ipv6 binding? - my best guess was that I had to modify the nginx.con file, but there I found a mismatch between the port stated in this file (8080) and the one bound at server start (80).

Thanks in advance.

currency conversion queries persist between sessions

Making a request, for example 12 usd to gbp on an instance will make a request to moneyconvert.net and give an appropriate result. Repeating this request with a different value, or a different currency conversion entirely will still show that the previous result.

[Feature Request] Ability to specify default theme

I'm not one for AMOLED, the ability to specify a CONFIG_... for default theme would be nice. Currently hijacked the Docker's entrypoint to sed replace ?? "amoled" to ?? "auto".

Edit for others (replace auto with whatever theme name you want, use the HTML value): entrypoint: /bin/sh -c "sed -i \"s/?? \\\"amoled\\\"/?? \\\"auto\\\"/g\" /var/www/html/misc/header.php; sed -i \"s/?? \\\"amoled\\\"/?? \\\"auto\\\"/g\" /var/www/html/misc/search_engine.php; docker/entrypoint.sh"

Remove librex.me and librex.revvy.de, including hidden services

Hello! Nice to see and speak to you guys again. My main server has been voluntarily taken down (former IP address 149.248.55.45). With very old backups, I am in possession the private keys for my Tor hidden services. I am in control of my Vultr (server) and Cloudflare (used for revvy.de DNS) accounts. I am currently locked out of my domain registrar's account, access "restricted", likely because I am signing in over Tor. As a result, I am unable to remove DNS records for all of my owned domains except for revvy.de, which may be dangerous if the IP address is reallocated quickly. I will begin restoring my server infrastructure and services soon, but for the forseeable future, librex.me and librex.revvy.de are down. I have set a DNS TXT record on revvy.de containing the string t\"K^>EWAixv6IvBHs82= to prove my identity.

Should donations to LibreX be removed?

If the author of LibreX is really deceased like this Github issue hnhx#274 claims it to be, wouldn't it be a waste of money, all those crypto currencies going to a wallet of a deceased person, which will never be accessed.

I know this is a really sad story if true, but I still think that for the survival of this project, the author would've probably wanted this, for the donations to go to LibreY so that it can continue to improve.

Localisation for User Interface text

LibreY supports fetching different language's results via the language option, however this does not affect elements on the LibreY page itself (ie search buttons etc)

It might be worth considering implementing some form of localisation to the project to allow more people globally to access the project.

What comes to mind when I think localisation is to use something like gettext to allow for localized strings. However it might be worth implementing a more minimal solution within our codebase itself, for example simply defining strings as an array with different languages as keys.

Auto updating?

It looks like LibreY is getting updates from time to time.

But the real question is, do we have to build some script or method to update the files for librey hosts' instance owners?

Otherwise, time-to-time updates will be painful.because Liby receives frequent updates.

espeacially non-dockers users

Search results are doubled

Whenever I search for anything, I see each result repeated twice, one with a description, and below it is another one to the same site with no description.

Once I click anyone, both of them will show colour as visited as well as shown below

image

image search doesn't works anymore

Looks like that Qwant image search has dropped support for the "lite" url or something similar, since image search as stopped working in any LibreY instance.

Removing my Instance

So i just thought itd say that i honestly want my Instance removed especially since i had lots of troubles maintaining it and even now i resetting it up on a new server i am just getting issues and so i just rather leave it in the dust
image

Depending on the Instance its either librex.retro-hax.net or librey.retro-hax.net but its probably one of those two

Instances in README

There are some instances listed in instances.json that aren't listed in README.md. Perhaps the list of instances in README.md should be removed since each instance will have its own list of instances generated from instances.json in instances.php. Having instances listed in one place should be much easier to manage.

Use youtube itself for generating video queries

Currently LibreY gets its video results from a configured invidious instance. However I am concerned that most instance maintainers don't update this to point to a different instance, which may cause unecessary extra load on that instance.

Other than the fact that invidious provides a clean API for video search, I don't see any reason why we shouldn't fetch video results from youtube.com directly, as we are already proxying requests to google.

Switch to bots for crawling Google as they seem to not be limited.

What:

I came to the idea today that Twitter(X), Discord and some other social platform usually index links to show the user approximately the contents of the website. I then looked up the headers and wrote the following script (this probably has a bug that I am not seeing??):

#!/usr/bin/env bash

x=0
valid=0
invalid=0

request () {
  # curl --socks5 127.0.0.1:9050 "https://ahwx.org?test=1234"
  if [[ $(  curl -I --silent --user-agent "Mozilla/5.0 (compatible; Twitterbot/1.0)" "https://www.google.com/search?q=$RANDOM" | grep "HTTP/2") == *"HTTP/2 200"* ]]; then
    valid=$((valid+1))
  else
    invalid=$((invalid+1))
  fi
  if [[ $(  curl -I --silent --user-agent "Mozilla/5.0 (compatible; Googlebot/1.0)" "https://www.google.com/search?q=$RANDOM" | grep "HTTP/2") == *"HTTP/2 200"* ]]; then
    valid=$((valid+1))
  else
    invalid=$((invalid+1))
  fi
  if [[ $(  curl -I --silent --user-agent "Mozilla/5.0 (compatible; YandexAccessibilityBot/3.0; +http://yandex.com/bots)" "https://www.google.com/search?q=$RANDOM" | grep "HTTP/2") == *"HTTP/2 200"* ]]; then
    valid=$((valid+1))
  else
    invalid=$((invalid+1))
  fi

  # curl -I --silent --user-agent "Mozilla/5.0 (compatible; Twitterbot/1.0)" "https://www.google.com/search?q=$RANDOM" | grep "HTTP/2"
  # curl -I --silent --user-agent "Mozilla/5.0 (compatible; YandexAccessibilityBot/3.0; +http://yandex.com/bots)" "https://www.google.com/search?q=$RANDOM" | grep "HTTP/2"
  x=$((x+3))
  clear
  echo -e "$valid/$x valid\n$invalid/$x invalid"
}

while true; do
  request
done

This returned the following numbers after a few minutes:

image

The images search also works without JS and thus we could easily scrape the images from Google as well!

The issue

The issue is that the Google UI is different and I don't have the motivation to change LibreY at the moment.

Looks something like this:
image

[Enhancement]: Add option to filter out results by date

Thanks for your effort, I am using LibreY now as my main search engine.

In many cases, users want to search a keyword and show only results in the last week or days, it is an option in Google search under "Tools" to show results in past hour / week . . . etc
Would be great if you support this in LibreY as well

504 Gateway Timeout Issue with nginx

As the Title implies im getting a Gateway timeout issue (which only happens sometimes weirdly enough) now switching back from librey to librex does not give me this issue at all same config everything so it is very confusing as to why that happens so if someone could get me an explanation and a potential fix thatd be amazing

also the instance link is still the same https://librex.retro-hax.net

[Bug/Feature Request] Add setting for base href

If you could add the ability to specify a base href (such as through ENV vars with Docker) that'd allow me to host under a subpath rather than trying to muck with ports. You could use OPEN_SEARCH_HOST (if set).

Dealing with spammers

I've noticed that quite often my instance gets barraded with hundreds of requests with identical queries. From inspecting these queries, I've come to the conclusion that they are being sent from an automated script of some sort. These spammed requests end up causing an instance to quickly ratelimited by Google and then with the fallback feature, other instances also fall victim.

While I do appreciate that LibreX/Y's api is a very simple and easy way to get search results, its important to understand that the amount of queries that it can handle is limited by how much Google will allow before ratelimiting any particular instance.

So to whoever is using LibreX/Y in their scripts/services: Please consider slowing down the amount of requests you are making, especially for the same query. Google will not give a different set of results if you give it the same query 7 times a second, so there is no need for you're script to be checking that much!

Annoyed rant aside, I think that it might be worth adding some more caching to LibreY, to combat this problem. If two queries have been made in a certain amount of time are identical, there is no reason we should be making an extra request to Google for it: the first result could be cached and served immediately if it was found. This could easily reduce the total number of requests being made by all LibreY instances towards Google, and greatly increase the chances of getting an actual result when you want to make a query.

I see how this could be a move against LibreX's original philosophy, since caching Google results could be seen as a privacy issue. However, I believe that if we cached only the results and the query/request url, then there is little way that it could be used to link them to a specific user. Furthermore, these results will only be cached for a limited amount of time and if implemented correctly, will only be stored in working memory (if that makes a difference)

Please let me know what you think and if some simple form of results caching should be implemented in LibreY or not, or if you have any other solutions for how to solve the spammer issue. Thank you!

Cannot add as search provider in Firefox

Right-clicking on the URL bar should allow the user to add LibreY as an open search provider.

Instead, we get an error message: Firefox could not download the search plugin from: https://search.example.com/opensearch.xml?method=POST where example.com is the correct domain where Librey is hosted.

Removing method=POST from header.php fixes the error message.

Tested in Firefox 117 and 118.

Can I disable qwant for images?

Hi. qwant does not work in my country and i cant view images on my self hosted librey instance. Can i disable qwant for images and use something else?

https://search.nxjoseph.com

Warning: Undefined array key 0 in /usr/local/www/LibreY/engines/qwant/image.php on line 23

Warning: Trying to access array offset on null in /usr/local/www/LibreY/engines/qwant/image.php on line 23

Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /usr/local/www/LibreY/engines/qwant/image.php on line 23

Warning: Undefined array key 0 in /usr/local/www/LibreY/engines/qwant/image.php on line 24

Warning: Trying to access array offset on null in /usr/local/www/LibreY/engines/qwant/image.php on line 24

Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /usr/local/www/LibreY/engines/qwant/image.php on line 24

Warning: Undefined array key 0 in /usr/local/www/LibreY/engines/qwant/image.php on line 25

Warning: Trying to access array offset on null in /usr/local/www/LibreY/engines/qwant/image.php on line 25

Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /usr/local/www/LibreY/engines/qwant/image.php on line 25

Warning: Undefined array key 1 in /usr/local/www/LibreY/engines/qwant/image.php on line 23

Warning: Trying to access array offset on null in /usr/local/www/LibreY/engines/qwant/image.php on line 23

Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /usr/local/www/LibreY/engines/qwant/image.php on line 23

Warning: Undefined array key 1 in /usr/local/www/LibreY/engines/qwant/image.php on line 24

Warning: Trying to access array offset on null in /usr/local/www/LibreY/engines/qwant/image.php on line 24

Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /usr/local/www/LibreY/engines/qwant/image.php on line 24

Warning: Undefined array key 1 in /usr/local/www/LibreY/engines/qwant/image.php on line 25

Warning: Trying to access array offset on null in /usr/local/www/LibreY/engines/qwant/image.php on line 25

Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /usr/local/www/LibreY/engines/qwant/image.php on line 25

Warning: Undefined array key 2 in /usr/local/www/LibreY/engines/qwant/image.php on line 23

Warning: Trying to access array offset on null in /usr/local/www/LibreY/engines/qwant/image.php on line 23

Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /usr/local/www/LibreY/engines/qwant/image.php on line 23

Warning: Undefined array key 2 in /usr/local/www/LibreY/engines/qwant/image.php on line 24

Warning: Trying to access array offset on null in /usr/local/www/LibreY/engines/qwant/image.php on line 24

Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /usr/local/www/LibreY/engines/qwant/image.php on line 24

Warning: Undefined array key 2 in /usr/local/www/LibreY/engines/qwant/image.php on line 25

Warning: Trying to access array offset on null in /usr/local/www/LibreY/engines/qwant/image.php on line 25

Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /usr/local/www/LibreY/engines/qwant/image.php on line 25

Warning: Undefined array key 3 in /usr/local/www/LibreY/engines/qwant/image.php on line 23

Warning: Trying to access array offset on null in /usr/local/www/LibreY/engines/qwant/image.php on line 23

Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /usr/local/www/LibreY/engines/qwant/image.php on line 23

Warning: Undefined array key 3 in /usr/local/www/LibreY/engines/qwant/image.php on line 24

Warning: Trying to access array offset on null in /usr/local/www/LibreY/engines/qwant/image.php on line 24

Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /usr/local/www/LibreY/engines/qwant/image.php on line 24

Warning: Undefined array key 3 in /usr/local/www/LibreY/engines/qwant/image.php on line 25

Warning: Trying to access array offset on null in /usr/local/www/LibreY/engines/qwant/image.php on line 25

Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /usr/local/www/LibreY/engines/qwant/image.php on line 25

Warning: Undefined array key 4 in /usr/local/www/LibreY/engines/qwant/image.php on line 23

Warning: Trying to access array offset on null in /usr/local/www/LibreY/engines/qwant/image.php on line 23

Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /usr/local/www/LibreY/engines/qwant/image.php on line 23

Warning: Undefined array key 4 in /usr/local/www/LibreY/engines/qwant/image.php on line 24

Warning: Trying to access array offset on null in /usr/local/www/LibreY/engines/qwant/image.php on line 24

Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /usr/local/www/LibreY/engines/qwant/image.php on line 24

Warning: Undefined array key 4 in /usr/local/www/LibreY/engines/qwant/image.php on line 25

Warning: Trying to access array offset on null in /usr/local/www/LibreY/engines/qwant/image.php on line 25

Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /usr/local/www/LibreY/engines/qwant/image.php on line 25

Warning: Undefined array key 5 in /usr/local/www/LibreY/engines/qwant/image.php on line 23

Warning: Trying to access array offset on null in /usr/local/www/LibreY/engines/qwant/image.php on line 23

Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /usr/local/www/LibreY/engines/qwant/image.php on line 23

Warning: Undefined array key 5 in /usr/local/www/LibreY/engines/qwant/image.php on line 24

Warning: Trying to access array offset on null in /usr/local/www/LibreY/engines/qwant/image.php on line 24

Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /usr/local/www/LibreY/engines/qwant/image.php on line 24

Warning: Undefined array key 5 in /usr/local/www/LibreY/engines/qwant/image.php on line 25

Warning: Trying to access array offset on null in /usr/local/www/LibreY/engines/qwant/image.php on line 25

Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /usr/local/www/LibreY/engines/qwant/image.php on line 25

Warning: Undefined array key 6 in /usr/local/www/LibreY/engines/qwant/image.php on line 23

Warning: Trying to access array offset on null in /usr/local/www/LibreY/engines/qwant/image.php on line 23

Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /usr/local/www/LibreY/engines/qwant/image.php on line 23

Warning: Undefined array key 6 in /usr/local/www/LibreY/engines/qwant/image.php on line 24

Warning: Trying to access array offset on null in /usr/local/www/LibreY/engines/qwant/image.php on line 24

Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /usr/local/www/LibreY/engines/qwant/image.php on line 24

Warning: Undefined array key 6 in /usr/local/www/LibreY/engines/qwant/image.php on line 25

Warning: Trying to access array offset on null in /usr/local/www/LibreY/engines/qwant/image.php on line 25

Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /usr/local/www/LibreY/engines/qwant/image.php on line 25

Warning: Undefined array key 7 in /usr/local/www/LibreY/engines/qwant/image.php on line 23

Warning: Trying to access array offset on null in /usr/local/www/LibreY/engines/qwant/image.php on line 23

Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /usr/local/www/LibreY/engines/qwant/image.php on line 23

Warning: Undefined array key 7 in /usr/local/www/LibreY/engines/qwant/image.php on line 24

Warning: Trying to access array offset on null in /usr/local/www/LibreY/engines/qwant/image.php on line 24

Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /usr/local/www/LibreY/engines/qwant/image.php on line 24

Warning: Undefined array key 7 in /usr/local/www/LibreY/engines/qwant/image.php on line 25

Warning: Trying to access array offset on null in /usr/local/www/LibreY/engines/qwant/image.php on line 25

Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /usr/local/www/LibreY/engines/qwant/image.php on line 25

Warning: Undefined array key 8 in /usr/local/www/LibreY/engines/qwant/image.php on line 23

Warning: Trying to access array offset on null in /usr/local/www/LibreY/engines/qwant/image.php on line 23

Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /usr/local/www/LibreY/engines/qwant/image.php on line 23

Warning: Undefined array key 8 in /usr/local/www/LibreY/engines/qwant/image.php on line 24

Warning: Trying to access array offset on null in /usr/local/www/LibreY/engines/qwant/image.php on line 24

Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /usr/local/www/LibreY/engines/qwant/image.php on line 24

Warning: Undefined array key 8 in /usr/local/www/LibreY/engines/qwant/image.php on line 25

Warning: Trying to access array offset on null in /usr/local/www/LibreY/engines/qwant/image.php on line 25

Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /usr/local/www/LibreY/engines/qwant/image.php on line 25

Warning: Undefined array key 9 in /usr/local/www/LibreY/engines/qwant/image.php on line 23

Warning: Trying to access array offset on null in /usr/local/www/LibreY/engines/qwant/image.php on line 23

Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /usr/local/www/LibreY/engines/qwant/image.php on line 23

Warning: Undefined array key 9 in /usr/local/www/LibreY/engines/qwant/image.php on line 24

Warning: Trying to access array offset on null in /usr/local/www/LibreY/engines/qwant/image.php on line 24

Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /usr/local/www/LibreY/engines/qwant/image.php on line 24

Warning: Undefined array key 9 in /usr/local/www/LibreY/engines/qwant/image.php on line 25

Warning: Trying to access array offset on null in /usr/local/www/LibreY/engines/qwant/image.php on line 25

Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /usr/local/www/LibreY/engines/qwant/image.php on line 25


2024-03-11-163212_1366x768_scrot

Pages don't work - Same results each time.

My setup: PHP8.3-fpm + nginx

Instance here, no matter what page is pressed, same results exist. What gives? I'm not too certain what the cause is.

I updated to the latest instance and this was an issue, previously the page buttons worked fine as you can test here , the previous instance works fine.

Other issues that I'd like to bring up to get resolved:
Video tab does not provide any thumbnails! with this err

PHP Warning:  
foreach() argument must be of type array|object, null given in LibreY/engines/invidious/video.php on line 14; 
PHP message: PHP Warning:  Undefined array key "host" in LibreY/engines/librex/fallback.php on line 56; 
...redacted....
PHP message: search3.ahwx.org" ,...
request: "GET /x/LibreY/search.php?p=10&q=test&t=2 HTTP/1.1" ...
PHP Fatal error:  Uncaught TypeError: Cannot access offset of type string on string in LibreY/engines/invidious/video.php:45
Stack trace:
#0 /x/LibreY/misc/search_engine.php(177): VideoSearch::print_results()
#1 /LibreY/search.php(75): fetch_search_results()
#2 {main}
  thrown in /x/LibreY/engines/invidious/video.php on line 45" , request: "GET /x/LibreY/search.php?p=10&q=test&t=2 HTTP/1.1"
PHP Warning:  Undefined variable $page in /var/tera/html/x/LibreY/engines/qwant/image.php on line 4" request: "GET /x/LibreY/search.php?q=test&p=0&t=1 HTTP/1.1", 
2023/12/30 00:23:33 [error] 10#10: *7410 FastCGI sent in stderr: "; PHP message: PHP Fatal error:  Uncaught TypeError: Cannot access offset of type string on string in /var/tera/html/x/LibreY/engines/invidious/video.php:45
Stack trace:
#0 /x/LibreY/misc/search_engine.php(177): VideoSearch::print_results()
#1 /x/LibreY/search.php(75): fetch_search_results()
#2 {main}
  thrown in /x/LibreY/engines/invidious/video.php on line 45" request: "GET /x/LibreY/search.php?q=test&p=0&t=2 HTTP/1.1"

I'm able to sort through and fix some myself but if I don't have to why bother, right?

Anyway can you guys update me with where you're at in the project, anything you'd need, things you want? If I can contribute in a usable way towards development whether it be optimization, bug fixing, new feature implementation, I'd like to but I need to know what is desired so I'm not just working towards things only my single instance will make use of.

New instance of Librey - https://librex.supernets.org

Appreciate it if you would add our instance to your list, we plan to keep this one up, updated frequent & and tor/i2p support soon.

The domain will remain librex, since it is established already, but it is currently running LibreY latest version.

Was running librex until @codedipper pointed out this fork to me

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.