Getting Started
Post-installation steps to get started with Genie.
Prerequisite You should have installed Python 3.6 or higher.
Initial setup
I know you’re excited to get started with Genie, but before you do, let’s set up your environment. Make sure you have the following with you:
- OpenAI API Key
You can get your API key by signing up on the OpenAI website.
- Gemini API Key
You can get your API key by signing up on the Gemini website.
- SSID
The SSID is the __Secure-1PSID
cookie value from the browser after logging into the Gemini website.
- Ignore List Path
This is something which is very very important. Let’s talk more about this below.
- Replicate API Key
You can get your API key by signing up on the Replicate website.
Ignore List Path
When configuring the Genie CLI, you can specify ignore patterns to exclude certain files or directories from processing. This can be useful for skipping test files, build directories, or other irrelevant content.
The ignore list is a file that contains a list of files and directories that you want to exclude from your project. This is highly important to reduce the token count and improve the performance of the analysis. Create an ignore list file anywhere on your system and store the path with you.
This is a text file with the name ignorelist.txt that contains a list of files and directories to ignore. For example:
node_modules
build
dist
*.log
Configure Genie
Now that you have all the necessary information, you can configure Genie by running the following command:
genie init
This command will prompt you to enter the API keys and other information required to set up Genie. Follow the instructions on the screen to complete the configuration.
Reset Configuration
If you ever need to reset your API keys or configurations, you can do so by running the following command:
genie reset
This will reset all your configurations and prompt you to enter the API keys and other information again.
You can learn more about the reset
command here.
That’s it! 🎉 You’re all set to start using Genie. If you have any questions or need help, feel free to reach out to me at harshal@geniethetool.xyz