Giter VIP home page Giter VIP logo

plugins-server's Introduction

Typing Mind - A better UI for ChatGPT
Plugins Server

Docker Image CI CodeQL Build TypingMind Proxy

๐ŸŒŸ Introduction

Plugins Server provides a proxy server for Typing Mind's Plugins. A proxy server is needed for complex use cases where a server is required for processing data that cannot be done from the client side in Typing Mind.

Plugins Server is used by some built-in plugins on Typing Mind (e.g., Web Page Reader). Other plugins can also make use of the existing endpoints of the Plugins Server if needed. New endpoints can be added via Pull Requests.

Plugins Server is open-sourced and is intended to be self-hosted by individual users for private use only.

๐Ÿ”Œ How to use (for Typing Mind users)

Two simple steps:

  1. Deploy this repo on any hosting provider that supports NodeJS (e.g., Render.com, AWS, etc.). (We also provide a Dockerfile for easy deployment on Docker-supported hosting providers)
  2. Use the server endpoint URL in your Settings page of Typing Mind's plugins.

Follow this guide for detailed instructions: How to Deploy Plugins Server on Render.com

List of available endpoints

After deploying, visit your Plugins Server URL to see the list of available endpoints (served in Swagger UI).

Here are the latest endpoints from our public servers: https://plugins.typingmind.com/ (Note: this public server only hosts the API documentation. You cannot use this Public Server as your proxy. You must deploy your own Plugins Server to use all the available endpoints).

๐Ÿ› ๏ธ Development (for Typing Mind plugins developers)

  • Development Mode: To start the project in development mode, execute the following command in your terminal:
npm install
npm run dev

๐Ÿค Contributing

We welcome your contributions! Help expand TypingMind Plugins Server's capabilities.

  • Plugin Development: Check out our 'CONTRIBUTING.md' guide for details on creating plugins.
  • Bug Reports & Ideas: Open issues to report bugs or suggest new features.
  • Documentation: Help improve our documentation for other developers.

plugins-server's People

Contributors

dependabot[bot] avatar travis-thuanle avatar trungdq88 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

plugins-server's Issues

DockerFile exposes port 8080, but application listens on 3000

Describe the Bug

The Dockerfile exposes port 8080, but the node run command by default starts on the port 3000. Unless I am missing something.

Steps to Reproduce
Build image docker build -t test:main .

Deploy with docker run --rm --name test -p 8080:8080 test:main
Note: the API will not respond and log will show node listening on port 3000

Deploy with docker run --rm -name test2 -p 8080:3000 test:main
Note: Application responds.

Expected Behavior

The EXPOSED Port matches the listening PORT of the node server running inside the container. Either set the PORT to default to 8080 or change the EXPOSE to 3000.

Environment Information

  • TypingMind Proxy Version:
  • Plugin Name and Version:
  • Operating System:
  • Browser (if applicable):
  • Other Relevant Software: (List any other tools or versions that might be relevant)

Visuals (Optional but Helpful)

image

Additional Context

  • Impact:
    This is not a hugely impactful problem and anyone familiar with docker and node will understand how to correct the problem. I just wanted to raise it to your attention.

Thank you for helping us make TypingMind Proxy even better!

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.