MCPcopy Index your code
hub / github.com/Cloud-CV/Origami

github.com/Cloud-CV/Origami @v1.0.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.0.0 ↗ · + Follow
516 symbols 932 edges 152 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

CloudCVfy Webapp

Build Status Dependency Status devDependency Status

Follow issues template to file an issue unless it is a feature request.

Build instructions

This application requires node v5+

Using Docker:

  1. Install docker
  2. Install docker-compose
  3. Clone this repository

A.) docker compose (recommended)

  1. docker-compose up -d
  2. Wait for the build to finish. Visit 0.0.0.0:5001. Follow on-screen instructions to add a root user.
  3. If you want to change the port from 5001 to something else, edit docker-compose.yml file, line - "5001:5001" to - "<REQUIRED_PORT>:5001"

B.) Using docker directly

We need to setup mongodb manually in this case. You can use the provided Dockerfile in DBSetup/MongoDB for it or use your own mongodb instace running at port 27017 (default). If you are using your own mongodb instance, skip to step 5.

  1. cd to DBSetup/MongoDB
  2. docker build -t mongodb . Wait for the build to finish.
  3. docker run -d -p 27017:27017 --restart=always mongodb
  4. cd back to the root directory
  5. docker build -t cvfy . Wait for the build to finish.
  6. docker run -d -p 5001:5001 --restart=always cvfy
  7. Visit 0.0.0.0:5001 and follow the on-screen instructions to add a root user.
  8. If you want to change the port from 5001, run docker run -d -p <REQUIRED_PORT>:5001 --restart=always cvfy instead of command number 6 above.

Without docker (only OSX and Linux are supported as of now)

  1. Setup mongodb as described above (your own or from DBSetup/MongoDB).
  2. To change the application port, edit outCalls/config.js
  3. npm i
  4. npm run build -s
  5. npm start -s

Developement

Dev server (unsuitable for deployment)

  1. Setup mongodb as described above (your own or from DBSetup/MongoDB).
  2. To change the application port, edit outCalls/config.js
  3. npm i
  4. npm run dev -s

Production server

(Same as Without Docker section above under Build instructions).

(building for production will take some time and require > 1GB ram - use swap if your machine doesn't have meet the requirements)

License

This software is licensed under GNU AGPLv3. Please see the included License file. All external libraries, if modified, will be mentioned below explicitly.

Core symbols most depended-on inside this repo

getComponentDeployed
called by 14
src/api/CommonLocal/getComponentDeployed.js
getDeployed
called by 10
src/api/Nongh/getDeployed.js
save
called by 7
src/components/initialSetupPage.js
getWebAppStatus
called by 4
src/api/Generic/getWebAppStatus.js
filterColors
called by 4
server/distServer.js
filterColors
called by 4
server/srcServer.js
findDeployedRepoById
called by 3
src/components/user/ghUserProfile.js
getAllPermalink
called by 3
src/api/Nongh/permalink.js

Shape

Function 411
Class 66
Method 39

Languages

TypeScript100%

Modules by API surface

src/components/deployment/UsePrebuiltProject/registerPage.js18 symbols
src/components/user/ghUserProfile.js17 symbols
src/components/user/nonghUserProfile.js15 symbols
src/components/deployment/BuildWIthGithub/registerPage.js12 symbols
src/components/App.js11 symbols
src/components/outputcomponents/TextOutput/TextOutputShowcaseCard.js10 symbols
src/components/outputcomponents/ScatterGraphOutput/ScatterGraphOutputShowcaseCard.js10 symbols
src/components/outputcomponents/PieChartOutput/PieChartOutputShowcaseCard.js10 symbols
src/components/outputcomponents/ImageOutput/ImageOutputShowcaseCard.js10 symbols
src/components/outputcomponents/BarGraphOutput/BarGraphOutputShowcaseCard.js10 symbols
src/components/outputcomponents/AreaGraphOutput/AreaGraphOutputShowcaseCard.js10 symbols
src/components/inputcomponents/TextInput/TextInputShowcaseCard.js10 symbols

Datastores touched

githubDemoCollection · 1 repos
inputComponentCollection · 1 repos
nonghDemoCollection · 1 repos
outputComponentCollection · 1 repos
permalinkCollection · 1 repos
rootSettingsCollection · 1 repos
(mongodb)Database · 1 repos

For agents

$ claude mcp add Origami \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact