-
Notifications
You must be signed in to change notification settings - Fork 146
Getting started with ALwrity AI writer
- Python 3.10+ (3.12 recommended)
- Microsoft Visual C++ Build Tools 14.0 or greater
- Install with:
winget install Microsoft.VisualStudio.2022.BuildTools --silent --override "--wait --quiet --add Microsoft.VisualStudio.Workload.VCTools --includeRecommended"
- Install with:
- Rust Compiler
- Install with:
Invoke-WebRequest -Uri https://static.rust-lang.org/rustup/dist/x86_64-pc-windows-msvc/rustup-init.exe -OutFile rustup-init.exe; ./rustup-init.exe -y
- Install with:
- Python 3.10+ (3.12 recommended)
- C/C++ compiler and development tools
- Install with:
sudo apt update && sudo apt install build-essential python3-dev
- Install with:
- Rust Compiler
- Install with:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y; source $HOME/.cargo/env
- Install with:
-
Clone the repository:
git clone https://github.com/AJaySi/AI-Writer.git cd AI-Writer
-
Install dependencies:
pip install -r requirements.txt
-
Run the application:
streamlit run alwrity.py
-
Visit the Alwrity UI in your browser at
http://localhost:8501
Alwrity uses a configuration system that allows you to customize various aspects of the platform:
- API Keys: Add your API keys for various services (OpenAI, Google, etc.)
- Language Settings: Configure your preferred language and region
- UI Preferences: Customize the user interface
- Storage Settings: Configure where your content is stored
Step 0๏ธโฃ: Pre-requisites: Git, Python3
Installing Python on Windows:๐๐ช
-
Open PowerShell as admin: Press
Windows Key + X
, then select "Windows PowerShell (Admin)". -
Type
python
. If Python is not installed, Windows will prompt you to 'Get Python'. -
If Python is installed, you should see '>>>>>'.
-
Download this project:
- Click the green "Code" button above
- Select "Download ZIP"
- Extract the ZIP file to your desired location (e.g., Desktop)
-
Run the installer:
- Navigate to Getting Started Folder
- Double-click
install.bat
in the extracted folder - If Windows asks for permission, click "Yes"
- Follow the on-screen instructions
- Wait for the installation to complete
-
Start ALwrity:
- Open Command Prompt (Windows + R, type "cmd", press Enter)
- Navigate to the ALwrity folder:
cd path\to\ALwrity
- Type
alwrity
and press Enter
If the one-click installer doesn't work, follow these steps:
-
Install Python 3.11:
- Visit Python 3.11.6 Download Page
- Click "Windows installer (64-bit)"
- Run the installer
- โ IMPORTANT: Check "Add Python 3.11 to PATH"
- Click "Install Now"
- Wait for installation to complete
-
Install ALwrity:
- Open Command Prompt (Windows + R, type "cmd", press Enter)
- Navigate to the ALwrity folder:
cd path\to\ALwrity
- Run the installation:
python setup.py install
- Follow any on-screen instructions
-
Start ALwrity:
- In the same Command Prompt window, type:
alwrity
- Press Enter
- In the same Command Prompt window, type:
- Python 3.10+ (3.12 recommended)
- Microsoft Visual C++ Build Tools 14.0 or greater
- Install with:
winget install Microsoft.VisualStudio.2022.BuildTools --silent --override "--wait --quiet --add Microsoft.VisualStudio.Workload.VCTools --includeRecommended"
- Install with:
- Rust Compiler
- Install with:
Invoke-WebRequest -Uri https://static.rust-lang.org/rustup/dist/x86_64-pc-windows-msvc/rustup-init.exe -OutFile rustup-init.exe; ./rustup-init.exe -y
- Install with:
- Python 3.10+ (3.12 recommended)
- C/C++ compiler and development tools
- Install with:
sudo apt update && sudo apt install build-essential python3-dev
- Install with:
- Rust Compiler
- Install with:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y; source $HOME/.cargo/env
- Install with:
1). git clone https://github.com/AJaySi/AI-Writer.git 2). pip install -r requirements.txt 3). streamlit run alwrity.py 4). Visit Alwrity UI in a Browser & Start generation AI personalized content.
You can run the install_dependencies.py script to check for system dependencies and assist with installation: python install_dependencies.py
This script will help verify that all necessary system dependencies are installed and guide you through the installation process.
1). Git pull 2). pip install -U -r requirements.txt 3). streamlit run alwrity.py
Still stuck, Open issue here & Someone will bail you out.
-
"Python is not recognized"
- Solution: Restart your computer after installing Python
- Make sure you checked "Add Python 3.11 to PATH" during installation
-
"Visual C++ Build Tools not found"
- Solution: Run this command in an administrative PowerShell:
winget install Microsoft.VisualStudio.2022.BuildTools --silent --override "--wait --quiet --add Microsoft.VisualStudio.Workload.VCTools --includeRecommended"
- Solution: Run this command in an administrative PowerShell:
-
"Rust compiler not found"
- Solution: Run these commands in PowerShell:
Invoke-WebRequest -Uri https://static.rust-lang.org/rustup/dist/x86_64-pc-windows-msvc/rustup-init.exe -OutFile rustup-init.exe ./rustup-init.exe -y
- Solution: Run these commands in PowerShell:
-
Installation Errors
- Check the
install_errors.log
file in the ALwrity folder - Share the error message with our support team
- Check the
- Open an issue on GitHub
- Join our support community
- Contact our support team
- Windows 10 or later
- Python 3.11.x
- At least 4GB RAM
- 2GB free disk space
After installation:
- The first time you run ALwrity, it will ask for your API keys
- Follow the on-screen instructions to enter your keys
- Your keys will be saved securely for future use
To update to the latest version:
- Download the latest release
- Run
install.bat
again - Follow the on-screen instructions
Installing Git on Windows:๐บ
-
Open PowerShell or Windows Terminal: Press
Windows Key + X
, then select "Windows Terminal". -
Paste or type and press enter:โ.โ.
winget install --id Git.Git -e --source winget
-
Wait for download bars to finish
Note for Linux Users: If you're on Linux and can't install these, hmmmmmm ๐งโ๏ธ
Step 1๏ธโฃ: Clone this repository to your local machine.
To clone the repository to your local machine, perform the following steps:
1. **Open Windows PowerShell as Administrator:** Press `Windows Key + X` and select "Windows PowerShell (Admin)" from the menu.
2. **Navigate to the Desired Directory:** Use the `cd` command to move to the directory where you want to clone the repository.
3. **Clone the Repository:** Run the following command in PowerShell to clone the repository:
`git clone https://github.com/AJaySi/AI-Writer.git`
This command will download all the files from the repository to your local machine.
4. **Verify the Clone:** After the cloning process is complete, navigate into the newly created directory using:
`cd AI-Writer`
Once you've cloned the repository, you can proceed with the next steps for installation and setup.
Step 2๏ธโฃ: Install required dependencies:
- Open the command prompt on your local machine: Press
Windows Key + R
, typecmd
, then press Enter. - Navigate to the folder from Step 1
- Run:
pip install -r requirements.txt
Step 3๏ธโฃ: Run the script:
- Execute:
streamlit run alwrity.py
Step 4๏ธโฃ: The tool will guide you through setting up your APIs.
Step 1๏ธโฃ: Fork this repository to your own GitHub account.
Step 2๏ธโฃ: Follow this guide: Running GitHub Repositories on Replit ๐