warrior

Light weight tool for AWS Bedrock

https://github.com/skywardai/warrior

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.7%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

Light weight tool for AWS Bedrock

Basic Info
  • Host: GitHub
  • Owner: SkywardAI
  • License: other
  • Language: JavaScript
  • Default Branch: main
  • Homepage:
  • Size: 133 KB
Statistics
  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • Open Issues: 2
  • Releases: 0
Created about 1 year ago · Last pushed 11 months ago
Metadata Files
Readme License Citation

README.md

WARRIOR

This app uses VITE+REACT + Node.JS and AWS SDK JavaScript v3 performs AI chat using AWS Bedrock Models.

https://github.com/user-attachments/assets/3808850f-be1b-4967-b36b-02481ac84268

Environment variables

Possible environment variables are listed:

Backend

[!NOTE]
Please edit your backend/.env file or create a file called .env.local inside backend/ for following environment variables.
It is strongly recommended to have .env.local to store your credentials

  • PORT: The port your application is going to listen, default 3000.
  • HOST: The host your application is going to use, default 0.0.0.0.

AWS Settings
* AWS_REGION: Specify the AWS region you are going to use, not required. * AWS_ACCESS_KEY_ID: Required if you want to put credentials inside environment file. * AWS_SECRET_ACCESS_KEY: Required if you want to put credentials inside environment file. * AWS_SESSION_TOKEN: Not required, but some accounts would require this as well to perform a success validation.

[!NOTE]
If you have AWS CLI installed, you can login use aws sso login and directly use this application.
Tutorial setting up AWS CLI can be find here: tutorial

Frontend

[!NOTE]
Please edit your frontend/.env file or create a file called .env.local inside frontend/ for following environment variables.
.env.local will override .env automatically, so it is recommended to have your own .env.local file if you want to change configurations.

[!NOTE]
All frontend environment variables must starts with VITE_ to make sure the app loads them.

  • VITE_MAX_WEBSOCKET_RETRY: The maximum retry of websocket, default 3, set to -1 will allow infinite retry.
  • VITE_WEBSOCKET_RETRY_INTERVAL: The retry interval in milliseconds, default 100.
  • VITE_WS_DEV_ROUTE: The route for websocket connection at development environment, default ws://localhost:3000/api/ws.
  • VITE_WS_PROD_ROUTE: The route for websocket connection at production environment, default /api/ws.
  • VITE_DEV_BASE_ROUTE: The base route for RESTful APIs at development environment, default http://localhost:3000/api.
  • VITE_PROD_BASE_ROUTE: The base route for RESTful APIs at production environment, default /api.

Develop, build and run this application

Dependencies

Run following commands to make sure you installed depedencies: sh pnpm install

Develop

To start develop, run command: sh pnpm dev Open the frontend route (default http://localhost:5173 in your web browser.)

Build & Start

To build and run this application, simply run: sh pnpm build pnpm start

And open the backend route (default http://localhost:3000 in your web browser.)

LICENSE

Apache License Version 2.0

Copyright [2025] [SkywardAI]

Owner

  • Name: SkywardAI
  • Login: SkywardAI
  • Kind: organization

Focus on AI, drive the future forward.

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
  - family-names: "Li"
    given-names: "Bowen"
    orcid: "https://orcid.org/0009-0007-6470-5607"
  - family-names: "Cheng"
    given-names: "Bohan"
title: "warrior"
version: 1.0.0
doi: <>
date-released: 2025-2-25
url: "https://github.com/SkywardAI/warrior"

GitHub Events

Total
  • Issues event: 6
  • Delete event: 4
  • Member event: 1
  • Push event: 20
  • Pull request event: 8
  • Create event: 6
Last Year
  • Issues event: 6
  • Delete event: 4
  • Member event: 1
  • Push event: 20
  • Pull request event: 8
  • Create event: 6

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 4
  • Total pull requests: 4
  • Average time to close issues: 1 minute
  • Average time to close pull requests: 1 minute
  • Total issue authors: 1
  • Total pull request authors: 2
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.0
  • Merged pull requests: 4
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 4
  • Pull requests: 4
  • Average time to close issues: 1 minute
  • Average time to close pull requests: 1 minute
  • Issue authors: 1
  • Pull request authors: 2
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.0
  • Merged pull requests: 4
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • cbh778899 (4)
Pull Request Authors
  • cbh778899 (3)
  • Aisuko (1)
Top Labels
Issue Labels
Pull Request Labels