8000 GitHub - h-lunah/aipedia: Create Wikipedia with AI, quickly!
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

h-lunah/aipedia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AIpedia

Create Wikipedia with AI, quickly!

Description

This is a Python web app that allows you to host an AI version of Wikipedia.

It supports Gemini 2.0 Flash models for content generation and gives you quick wikis on any topic.

How to setup

Get the Gemini API key

Create a .env file and add your Gemini API key:

touch .env
echo "GEMINI_API_KEY=[your Gemini API key here]" >> .env

If you don't have one, you can create a free API key here.

Get your SSL certificates

Create an SSL certificate for your domain at Let's Encrypt. Run the following commands to issue and set up certificates quickly:

# Ubuntu/Debian
sudo apt update
sudo apt install certbot
certbot certonly -d [your domain name]
mkdir certs
cp /etc/letsencrypt/live/[your domain name]/* certs

# Arch Linux
sudo pacman -Syu
sudo pacman -S certbot
certbot certonly -d [your domain name]
mkdir certs
cp /etc/letsencrypt/live/[your domain name]/* certs

Run the app

You can set up this project either directly, or via Docker.

Directly

Please run the following commands to set up AIpedia:

python -m venv .venv
source .venv/bin/activate
pip install -U -r requirements.txt
python main.py

With Docker

Please run the following commands to set up AIpedia on your Docker container:

sudo docker build -t aipedia .
sudo docker run -d -p 443:443 aipedia

Make sure your system has a working copy of Docker.

Now you have a working AI Wikipedia, ready for use at any time. Have fun learning new information!

About

Create Wikipedia with AI, quickly!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0