Skip to main content

A simple chat application using Flask and AWS Bedrock

Project description

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:

  1. Clone the repository or navigate to your project directory.

  2. 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
    
  3. Install the package in editable mode:

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

    miya-chat
    

    Access the app at http://localhost:5000

  5. Run the app with a custom port:

    miya-chat --port 8080
    

    Access the app at http://localhost:8080

  6. 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

miya_chat-0.1.15.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

miya_chat-0.1.15-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file miya_chat-0.1.15.tar.gz.

File metadata

  • Download URL: miya_chat-0.1.15.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for miya_chat-0.1.15.tar.gz
Algorithm Hash digest
SHA256 25390d6628ad402bc6fafc14640956e2d226c861e5ecb4f239dfbb649604e078
MD5 b0f261368d0f09077bd8894ecb752505
BLAKE2b-256 fe9387464a9a6277a041543b1e2a1e085f5a0f5a7d68c638220799e16fa8b7a0

See more details on using hashes here.

File details

Details for the file miya_chat-0.1.15-py3-none-any.whl.

File metadata

  • Download URL: miya_chat-0.1.15-py3-none-any.whl
  • Upload date:
  • Size: 7.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for miya_chat-0.1.15-py3-none-any.whl
Algorithm Hash digest
SHA256 cc44b4e55a9abbb2a2b6d6b3dbee482b2e8eb82bc09fd3a994bc7d8bbdf04dc7
MD5 6fbfe76f2018dd7f5cbba254ced9e8c0
BLAKE2b-256 910e59da2292711e79b081daed88c612fa720f5f8c223e190e676effbbd5d1d3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page