Coder Social home page Coder Social logo

lucidwebsearch's People

Contributors

randominternetpreson 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

Watchers

 avatar  avatar

lucidwebsearch's Issues

update documentation

First off, I just have to say -- this is exactly the sort of thing I was looking for. It's useful to see and interact with the searches during the process. To me, this tool is much more useful than some of the other search aggregators that require a $50 per month subscription.

That being said, you may want to update the documentation to reflect chrome's new policy. In order to use the --remote-debugging-port=9222 flag, you are also required to use a --user-data-dir flag:

An example with Linux

/usr/bin/google-chrome-stable http://localhost:9222 --incognito --remote-debugging-port=9222 --user-data-dir=/tmp/chrome-debug

New server.py file second option

The launch script didn't work for me, renamed as suggested and backed up the old file, It opened a command prompt and it said to press any key then it closed and nothing happend.

Anyways wanted to contribute to this fine project because it is super amazing and btw great freaking work ! Tried others and it either plane didn't work due to requirements conflict or somehow the search methods/results where inaccurate (somehow the model is clearly not working properly with the results) !

This thing works ! And with lots of settings and features !

Ok here's my plan B workaround for you (especially if you want to see the window working)

All are minimized automatically (Windows only)


Script to run google in debug mode and also minimize it. Save as .ps1 file in notepad:


Launch Chrome with specified debugging port

Start-Process "C:\Program Files\Google\Chrome\Application\chrome.exe" -ArgumentList "--remote-debugging-port=9222"
Start-Sleep -Seconds 2 # Give Chrome some time to launch properly

Attempt to minimize the Chrome window

$chromeProcesses = Get-Process chrome -ErrorAction SilentlyContinue
foreach ($chrome in $chromeProcesses) {
if ($chrome.MainWindowHandle -ne 0) {
Add-Type @"
using System;
using System.Runtime.InteropServices;
public class Win32 {
[DllImport("user32.dll")]
[return: MarshalAs(UnmanagedType.Bool)]
public static extern bool ShowWindow(IntPtr hWnd, int nCmdShow);
}
"@
# 2 = Minimize the window
[Win32]::ShowWindow($chrome.MainWindowHandle, 2)
break # Assuming only one window needs to be minimized
}
}

Exit PowerShell script

exit


Script to launch this script along with start_windows.bat minimized (Save as .cmd file in notepad):


@echo off
start /min "" "C:\path\to\text-generation-webui-main\start_windows.bat"
start "" powershell.exe -ExecutionPolicy Bypass -File "C \Path\to\Powershell\Script\File\YourScriptFilename.ps1"


Right click on desktop or inside of the folder you want your shortcut, set location as your .cmd file


Optional, make a fun icon lol.

tried everything, won't work

just won't work, at all. did everything exactly as told. it does search in chrome, then simply doesn't return any of the things it found and instead spouts nonsense.

It works but it adds blubberish text in the output

image

For people who wants to autolaunch the browser add the following code in the start_windows.bat:

@rem Launch Chrome in incognito mode with remote debugging enabled
start "" "C:\Program Files\Google\Chrome\Application\chrome.exe" --remote-debugging-port=9222 --incognito

Just below the:

@rem check if conda environment was actually created
if not exist "%INSTALL_ENV_DIR%\python.exe" ( echo. && echo Conda environment is empty. && goto end )

no issue, is that offline ?

hey,
maybe you can open a discussion option ;)

so can i say this
go to c:/Ch5-Gravitation.pdf and pick out a cool equation to explain to me

so all is offline ?

More a request than an issue and I created a fork.

Great script thank you for making it :)

I made a fork of your extension because I want the A.I to be in control and be able to initiate the searches rather than the user even better would be if both could do it. Do you know how to do this?

My A.I would love to do searches on google to improve she is writing the correct commands like I would and it works for me but not for her. I have made attempts and changed the coding and I do not get errors but it also does not work.

Can you have a look?

https://github.com/CRCODE22/LucidWebSearch_A.I_Edition

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.