Giter Site home page Giter Site logo

miyan1221 / docsmind-service Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 37.27 MB

Home Page: https://docs-mind-service.vercel.app

License: GNU Affero General Public License v3.0

HTML 2.04% JavaScript 0.76% TypeScript 58.58% SCSS 4.13% Procfile 0.05% Python 34.44%

docsmind-service's Introduction

DocsMind

DocsMind is an open-source project that allows you to chat with your docs.

Stack

It is currently under development and there may be major changes at any time.

๐ŸŽฌ Demo

Demo Site

Warning

Due to the free plan of Railway only providing 500 hours per month, the Demo on the 21st day of each month will not be available. Please clone it locally for use at that time.

๐ŸŒŸ Features

  • ๐Ÿค– Ask a question with your docs
  • ๐Ÿ“ Summarize docs
  • ๐Ÿ–๏ธ Highlight source
  • ๐Ÿ“ค Upload docs .pdf,.md(best support)
  • ๐Ÿ’พ Data saved locally
  • ๐Ÿ’ฐ Token usage tracker
  • ๐Ÿณ Dockerize

๐Ÿš€ Road Map

  • Chat mode
  • Dark mode
  • / command (/fetch /summarize)
  • Reduce the size of the server image.
  • Support for more docs formats: txt...
  • Download docs from the internet
  • Markdown-formatted message
  • i18n
  • Desktop application

If you find this project helpful, please consider giving it a star ๐ŸŒŸ

๐Ÿ’ป Environment Variables

Name Description Optional
OPENAI_PROXY will replace https://api.openai.com/v1 โœ…
VITE_SERVICES_URL backend url for frontend code โœ…
VITE_DISABLED_UPLOAD DISABLED_UPLOAD โœ…

โ“ FAQ

This project includes both frontend (/client) and backend (/server) code. The frontend code is used to display the UI, while the backend code provides services to the UI.

How to deploy?

More details

How to run?

Warning

Please check if you can access OpenAI in your region, you can refer to the issue for more information.

  1. Create .env

Create a .env file and copy the contents of .env.example to modify it.

  1. Run App
docker-compose up -d

Please add --build to rebuild the image after each code update.

docker-compose up -d --build

now you can access the app at http://localhost:8081

All data will be saved in the ./data directory.

Local Development

Detail

Create .env

Create a .env file and copy the contents of .env.example to modify it.

Run Frontend UI

  1. Install dependencies
yarn
  1. Run app
yarn dev

Run Backend Services

you need a python environment

  1. Create virtual environment
cd server
python -m venv .venv
  1. Active virtual environment

windows

.venv\Scripts\activate

mac

. .venv/bin/activate
  1. Install dependencies
pip install -r requirements.txt
  1. Run Services
flask run --reload --port=8080

๐Ÿ“ License

AGPL-3.0 License

โ˜• Buy me a coffee

ko-fi

Alipay and Wechat

docsmind-service's People

Contributors

3alan avatar miyan1221 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.