0.2.84 • Published 7 months ago

@hubspire/hubai v0.2.84

Weekly downloads
-
License
MIT
Repository
-
Last release
7 months ago

HubAI ⚡ AI-Driven Development

HUB_AI

Revolutionize your development workflow with HubAI, an innovative npm package leveraging artificial intelligence to simplify the creation and deployment of robust fullstack applications. Generate sophisticated applications with minimal effort, focusing on innovation rather than intricate technical details. With HubAI, you only need to provide a few prompts, and the package takes care of the heavy lifting.

Whether you're an experienced developer aiming for accelerated project timelines or a newcomer eager to explore fullstack development, HubAI empowers you to bring your ideas to life with ease.

📖 HubAI Documentation

Overview ✨

HubAI is a next-generation code generation platform built for real-world software teams. It enables predictable, scalable, and human-readable code generation for both frontend and backend systems.

HubAI automates the repetitive parts of software development while ensuring the code remains maintainable, understandable, and ready for long-term scaling.

Unlike traditional AI coding tools that act as black boxes, HubAI puts developers fully in control of their codebases.

Why HubAI? 🤔

Problems with Existing AI Coding Tools:

  • 💨 Speed without stability: 14% productivity boost, but a 7.2% drop in delivery stability (Google Cloud DORA Report 2024).
  • 💰 Efficiency hiding technical debt: Up to 8x increase in code duplication (2024 market reports).
  • Labor savings, but higher maintenance costs: Short-term savings are offset by long-term bug-fixing overhead.

Root causes:

  • 🔒 Black-box outputs.
  • 🧩 Lack of workflow integration.
  • 📈 Poor scalability and readability.

Key Principles Behind HubAI 🎯

PrincipleHow HubAI Approaches It
PredictabilityGenerates clear, human-readable code following strict patterns.
ScalabilityMicroservice-ready structure with Apollo Federation.
Developer ControlFull transparency — no hidden abstractions or black boxes.
Best Practices Built-inSecurity, scalability, environment setups, testing integrated.
Workflow IntegrationDev, test, and deploy integrated into generated structures.

✨ What HubAI Generates

NPM Workspace

  • 📦 Quickly set up a complete development environment
  • 🏗️ MonoRepo & Microservice Architecture

Backend:

  • 🏗️ Pre-built project structures.
  • ⚙️ CRUD APIs.
  • 🛡️ Secure authentication layers.
  • 🌳 Environment management with .envrc and direnv.
  • 🌐 GraphQL schemas and Apollo Federation setup.
  • 🍃 Uses MongoDB as your data source out of the box

Frontend:

  • ⚛️ Modular React UI components.
  • 🔗 Service and API integration hooks.
  • 📝 Auto-connected forms and UI elements based on backend schemas.

Integration Layer:

  • ↔️ Seamless API bindings between frontend and backend.
  • 🔌 Service adapters and API consumers.

🏛️ Architecture Philosophy

HubAI is designed around real-world scalable architecture patterns, including:

  • 🌐 Apollo Federation for scalable microservices.
  • 📦 Nx monorepo management.
  • 🐳 Docker containerization for consistent dev environments.
  • ✅ Automated Testing built into CI/CD pipelines.

✅ Benefits of Using HubAI

BenefitDescription
Accelerated MVPs4x–5x faster MVP development cycles.
Stability and QualityReduced integration bugs, clean QA processes integrated.
Cost-Effective GrowthEnterprises save millions in dev hours and maintenance cycles.
Predictable ScalingCodebases designed for team scaling from day one.
Developer HappinessTransparent, editable, high-quality code generation experience.

🛠️ Developer Workflow with HubAI

  1. Define Requirements: Developers specify feature intents via prompts and structure templates.
  2. Backend Generation: HubAI auto-generates scalable backend services, APIs, models, and infrastructure configs.
  3. Frontend Generation: HubAI builds corresponding frontend UIs, forms, and integration layers automatically.
  4. Code Refinement: Developers use editors like Cursor to refine, extend, or adjust the generated code — fully editable.
  5. Testing & Deployment: Out-of-the-box testing suites and DevOps workflows ensure fast, safe deployments.

🚀 Getting Started

# Install HubAI globally
npm i @hubspire/hubai -g

# Set a token to connect llm(currently we only support openai)
hubai --set token

# Create a new project
hubai create:project

# Follow the interactive prompts to create your project

💡 HubAI is not just another AI coding tool.

It is a scalable, predictable, and developer-first platform designed to transform how modern teams build software. Whether you're building an MVP or scaling a large product, HubAI empowers you with:

  • 🛠️ Clean codebases
  • 🔒 Secure infrastructure
  • 🎛️ Full control over your stack
  • 🚀 Faster delivery

Start building smarter with HubAI today! ⚡ 💻


📄 License

HubAI is open-source software licensed under the MIT license.


✨ Show Your Support

If you find HubAI helpful, please give it a star on GitHub and share it with your friends!

Together, let's Build cool stuff. Spread good vibes. ⚡🌟

Made with ❤️ by the Hubspire team!


0.2.27

9 months ago

0.2.26

9 months ago

0.2.25

9 months ago

0.2.24

9 months ago

0.2.23

9 months ago

0.2.22

9 months ago

0.2.84

7 months ago

0.2.83

7 months ago

0.2.82

7 months ago

0.2.81

7 months ago

0.2.80

7 months ago

0.2.74

7 months ago

0.2.73

7 months ago

0.2.72

7 months ago

0.2.71

7 months ago

0.2.70

7 months ago

0.2.79

7 months ago

0.2.78

7 months ago

0.2.77

7 months ago

0.2.76

7 months ago

0.2.75

7 months ago

0.2.63

8 months ago

0.2.62

8 months ago

0.2.61

8 months ago

0.2.60

8 months ago

0.2.69

7 months ago

0.2.68

7 months ago

0.2.67

7 months ago

0.2.66

7 months ago

0.2.65

8 months ago

0.2.64

8 months ago

0.2.52

8 months ago

0.2.51

8 months ago

0.2.50

8 months ago

0.2.59

8 months ago

0.2.58

8 months ago

0.2.57

8 months ago

0.2.56

8 months ago

0.2.55

8 months ago

0.2.54

8 months ago

0.2.53

8 months ago

0.2.41

8 months ago

0.2.40

8 months ago

0.2.49

8 months ago

0.2.48

8 months ago

0.2.47

8 months ago

0.2.46

8 months ago

0.2.45

8 months ago

0.2.44

8 months ago

0.2.43

8 months ago

0.2.42

8 months ago

0.2.39

8 months ago

0.2.30

9 months ago

0.2.38

8 months ago

0.2.37

8 months ago

0.2.36

9 months ago

0.2.35

9 months ago

0.2.34

9 months ago

0.2.33

9 months ago

0.2.32

9 months ago

0.2.31

9 months ago

0.2.29

9 months ago

0.2.28

9 months ago

0.2.21

1 year ago

0.2.20

1 year ago

0.2.19

1 year ago

0.2.18

1 year ago

0.2.17

1 year ago

0.2.16

1 year ago

0.2.15

1 year ago

0.2.14

1 year ago

0.2.13

1 year ago

0.2.12

1 year ago

0.2.11

1 year ago

0.2.10

1 year ago

0.2.9

1 year ago

0.2.8

1 year ago

0.2.7

1 year ago

0.2.6

1 year ago

0.2.5

1 year ago

0.2.4

1 year ago

0.2.3

1 year ago

0.2.2

1 year ago

0.2.1

1 year ago

0.2.0

1 year ago

0.1.9

1 year ago

0.1.8

1 year ago

0.1.7

1 year ago

0.1.6

1 year ago

0.1.5

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago