Skip to content

Commit

Permalink
getting more scaffolding in place
Browse files Browse the repository at this point in the history
  • Loading branch information
seekinginfiniteloop committed Jun 24, 2024
1 parent 783e2a2 commit 4361409
Show file tree
Hide file tree
Showing 50 changed files with 3,511 additions and 5,972 deletions.
3 changes: 3 additions & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,6 @@ SENTRY_DSN=
# Configure these with your own Docker registry images
DOCKER_IMAGE_BACKEND=backend
DOCKER_IMAGE_FRONTEND=frontend

# meilisearch
MEILI_NO_ANALYTICS=True
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# :dragon::moneybag: ChatHoard: Take Control of Your Precious ChatGPT History :ring:

ChatHoard is a ready-to-deploy full-stack web app for making the most of your ChatGPT chat history (other chat formats planned). ChatHorde offers robust search and filtering capabilities, and is lightning fast - based on Full-Stack-FastAPI-Template with FastAPI, Pydantic validation/serialization, SQLModel for ORM, and a front-end with React using Chakra UI. You can be deploy ChatHorde locally with Docker Compose in a minimalist deployment, or publicly with authentication and authorization using OAuth2 with JWT tokens and multi-user support. I created ChatHoard to help me manage my ChatGPT chats, but it's designed to scale robustly and can extend to other chat formats with added Pydantic models.
ChatHoard is a ready-to-deploy full-stack web app for making the most of your ChatGPT chat history (other chat formats planned). ChatHoard offers robust search and filtering capabilities, and is lightning fast - based on Full-Stack-FastAPI-Template with FastAPI, Pydantic validation/serialization, SQLModel for ORM, and a front-end with React using Chakra UI. You can be deploy ChatHoard locally with Docker Compose in a minimalist deployment, or publicly with authentication and authorization using OAuth2 with JWT tokens and multi-user support. I created ChatHoard to help me manage my ChatGPT chats, but it's designed to scale robustly and can extend to other chat formats with added Pydantic models.

I was continually frustrated by how hard it is to search my ChatGPT chats and the lack of organization capabilities.

Expand All @@ -25,11 +25,12 @@ Backend:

### Later Planned Features

- [ ] Rust-wasm powered client-side embedding generation for search indexing; this will be server-side for now
- [ ] Group and organize chats
- [ ] Tag chats
- [ ] Add notes to chats
- [ ] Automated download requests for new chats from ChatGPT (these are emailed to you); and deletion of old chats from OpenAI
- [ ] Additional encryption options (i.e. client-side encryption)
- [ ] Additional encryption options (i.e. client-side/e2e encryption; I have some ideas for doing this even if I need to do compute on the server side... but it's a bit of a stretch goal)
- [ ] Support for other chat formats (Gemini and Claude); I welcome your help adding support for your favorite chat format, please reach out. I'd love to collaborate. I don't have the data for these formats, so I at least need someone to donate some data to me, or I can help get you started on adding support for your format. (I'd like a sample of at least ~100 chats to iron out idiosyncrasies in the format, but more is better).
- [ ] ML-powered search assistant
- [ ] Chat sharing and in-line commenting
Expand All @@ -38,4 +39,4 @@ Backend:

### Maybe Later Features

- [ ] Fully private subscription-based cloud deployment/hosting or SaaS??? (I'd do it for free if I could, but, you know, money)
- [ ] Fully private subscription-based cloud deployment/hosting or SaaS??? (I'd do it for free if I could but, you know, money)
4 changes: 1 addition & 3 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM tiangolo/uvicorn-gunicorn-fastapi:python3.10
FROM tiangolo/uvicorn-gunicorn-fastapi:latest-2024-06-17

WORKDIR /app/

Expand All @@ -19,8 +19,6 @@ ENV PYTHONPATH=/app

COPY ./scripts/ /app/

COPY ./alembic.ini /app/

COPY ./prestart.sh /app/

COPY ./tests-start.sh /app/
Expand Down
71 changes: 0 additions & 71 deletions backend/alembic.ini

This file was deleted.

1 change: 0 additions & 1 deletion backend/app/alembic/README

This file was deleted.

88 changes: 0 additions & 88 deletions backend/app/alembic/env.py

This file was deleted.

25 changes: 0 additions & 25 deletions backend/app/alembic/script.py.mako

This file was deleted.

Empty file removed backend/app/alembic/versions/.keep
Empty file.

This file was deleted.

54 changes: 0 additions & 54 deletions backend/app/alembic/versions/e2412789c190_initialize_models.py

This file was deleted.

Loading

0 comments on commit 4361409

Please sign in to comment.