Socket
Book a DemoInstallSign in
Socket

miya-chat

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

miya-chat

A simple chat application using Flask and AWS Bedrock

0.1.17
pipPyPI
Maintainers
1

Miya Chat

A simple chat application built with Flask.

Installation

You can install this package using pip:

pip install miya-chat

Usage

After installation, you can run the chat app using the following command:

miya-chat

This will start the Flask server on the default port 5000, and you can access the chat application in your web browser at http://localhost:5000.

To specify a custom port, you can use the --port option:

miya-chat --port 8080

This will start the server on port 8080, and you can access the application at http://localhost:8080.

Testing Locally

To test the chat app locally before distribution:

  • Clone the repository or navigate to your project directory.

  • Create and activate a virtual environment (optional but recommended):

    python -m venv test_env
    source test_env/bin/activate  # On Windows, use: test_env\Scripts\activate
    
  • Install the package in editable mode:

    pip install -e .
    
  • Run the app with the default port:

    miya-chat
    

    Access the app at http://localhost:5000

  • Run the app with a custom port:

    miya-chat --port 8080
    

    Access the app at http://localhost:8080

  • To test access from other devices on your local network, find your computer's local IP address and use that instead of localhost. For example:

    http://192.168.1.100:8080
    

Remember to deactivate the virtual environment when you're done testing:

deactivate

Features

  • Real-time chat functionality
  • Simple and intuitive interface
  • Easy to install and run
  • Customizable port for running the server
  • Accessible from other devices on the local network

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License.

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.