User-friendly interface for quick interaction with any AI provider or other internet resources.
- Choice of AI Resources: Users can select the AI resources they need based on their requirements.
- Quick Window Display: The interface allows for rapid opening and closing windows.
- Easy Switching Between Resources: Users can swiftly switch between different resources without delays -
Ctrl+Tab
. - Customization via JavaScript and CSS: Ability to execute JavaScript scripts and inject CSS styles upon loading resources for personalization (in case this is allowed by the resource).
This program is a primitive browser specifically designed for interacting with neural networks and simplifying the use of resources. It allows users to quickly open pre-rendered websites and provides the ability to input custom JavaScript code for automating actions, such as moving the cursor to the appropriate input window.
Before using the program, please carefully review the terms of use of the web resources you intend to interact with. Some resources may prohibit the injection of JavaScript code and CSS styles, and violating these terms may result in legal consequences.
The author of the program is not responsible for any actions taken by users that may violate the terms of use of third-party resources. The use of this program is entirely at your own discretion, and you assume all risks associated with its use.
We recommend adhering to ethical standards and legislation, as well as respecting the rights of content owners. If you have any doubts about the legality of your actions, please consult a legal professional.
- Make sure you have
python
version >= 3.6:
python --version
- Clone the repository by running this command:
git clone https://github.com/Klipar/FastGPT.git
cd FastGPT
- Create a virtual environment.
If you are using
bash
:
python -m venv .venv && source .venv/bin/activate
Or if you use fish
:
python -m venv .venv && source .venv/bin/activate.fish
After finishing the use of the program, you can exit the virtual environment by entering the following command (for fish
& bash
):
deactivate
- To install the dependencies, run the following command:
pip install -r requirements.txt
- Launch the program (Attention, this will create a standard configuration in the project directory, that you can edit):
bash start.sh
You can also specify the path to the configuration file by using the --config
or -c
key in start script.
- Set a keyboard shortcut that will execute the script
show.sh
:
bash show.sh
And add the execution of the start.sh
script at system startup.
bash start.sh
- It's done! 🎉 Now, with the script running, you can press the keyboard shortcut to toggle the program window.
To use your resources, you need to configure the configuration file. An example of such a file will appear upon the first run of the script in the directory FastGPT/FastGPT/config.json
bash start.sh
To add or remove resources, use the resources
array where you can specify:
- Link to the resource:
"url"
. - Path to the script that will be executed when the site is loaded and updated:
"JavaScript to execute on loading"
. - Path to the script that will be executed each time the program window is shown (for example, focusing the cursor on the input field):
"JavaScript to execute on every opening"
. - Path to the file with styles that will be injected before rendering the resource:
"css to inject before rendering"
.
Tip:
You can also specify your own location for the configuration file by adding an argument to start.sh
--config <path/to/file>
or -c <path/to/file>