Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/scottlaing/ai-comparer

AI Comparer Web App
https://github.com/scottlaing/ai-comparer

ai docker nodejs react

Last synced: about 2 months ago
JSON representation

AI Comparer Web App

Awesome Lists containing this project

README

        

ai-comparer

a side project to compare ai generation results (gemini, chatgpt) in a web app

very early stages, under construction/wip, check back soon

Misc Setup Steps

build and run locally

(install nodejs if not installed)

install node via web download if on windows, or on mac or linux as per those environments

(install yarn if not installed)

**npm install -g yarn**

(install app)

**yarn install**

(run app)

**node src/index.js**

(To view the web app in a browser)

in your browser run:

**http://localhost:3000/**

build docker image

(To build the docker image)

**docker build -t ai-comparer .**

(To run the docker container)

**docker run -dp 127.0.0.1:3000:3000 ai-comparer**

(To run the web app in a browser)
in your browser run:

**http://localhost:3000/**

stop the running docker container

1) in Windows you can use docker desktop app to start/stop/delete containers

2) in git bash on windows (or linux or mac) you can use:

a) get running container id via this command (or similar)

**docker ps | grep ai-comparer | awk '{print substr($0, 0, 10)}'**

b) stop this container

**docker stop **