Skip to content

AI automation in Earn while you Learn to Become a Better Programmer and Blockchain Developer.

License

Notifications You must be signed in to change notification settings

lippytm/Time-Machines-Builders-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

23 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Time-Machines-Builders

AI automation to Earn while you Learn to Become a Better Programmer and Blockchain Developer.

πŸš€ Overview

Time-Machines-Builders is an integrated ecosystem that connects multiple AI automation, blockchain development, and learning repositories. This project serves as a central hub for coordinating workflows and integrations across various platforms and services.

πŸ”— Connected Repositories

This repository integrates with:

πŸ› οΈ Integrations

AI & Development

  • βœ… GitHub Copilot - AI-assisted development
  • βœ… OpenAI - GPT models and embeddings integration
  • βœ… Huggingface - AI model training and deployment
  • βœ… LangChain - AI application framework
  • βœ… LlamaIndex - Data framework for LLM applications
  • βœ… Vector Stores - Pinecone, Weaviate, Chroma (optional)
  • βœ… GitHub Actions - Automated workflows and CI/CD
  • βœ… Full Stack Application - React frontend + Node.js backend

Web3 & Blockchain

  • βœ… EVM Chains - Ethereum, Polygon, BSC support via ethers.js
  • βœ… Solana - Solana blockchain integration
  • βœ… Anchor - Solana framework support (optional)

Messaging & Communication

  • βœ… Slack - Slack API integration
  • βœ… Discord - Discord bot integration

Data & Storage

  • βœ… PostgreSQL - Relational database
  • βœ… MongoDB - NoSQL database
  • βœ… Redis - In-memory data store
  • βœ… AWS S3 - Object storage
  • βœ… IPFS - Decentralized storage

Automation & Services

  • βœ… n8n - Workflow automation platform
  • βœ… Cloudflare - Edge computing and CDN
  • βœ… Cross-Repository Sync - Automated repository coordination
  • βœ… Container Deployment - GitHub Container Registry (ghcr.io)

πŸ“‹ Features

  • Full Stack AI Platform: Complete React + Node.js application with OpenAI integration
  • OpenAI GPT Integration: Text generation, summarization, and embeddings
  • Database Support: PostgreSQL for structured data, MongoDB for unstructured data
  • Modern UI: Material-UI components with responsive design
  • Automated CI/CD: Continuous integration with security scanning and code quality checks
  • Cross-Repository Integration: Seamlessly sync and coordinate across multiple repositories
  • AI Integration: Connect with Huggingface and OpenAI for model training and deployment
  • Workflow Automation: n8n integration for complex automation scenarios
  • Security First: CodeQL analysis, Trivy scanning, and dependency reviews
  • Extensible Architecture: Easy to add new integrations and workflows

πŸ”Œ SDK Adapters & Providers

This repository includes a comprehensive SDK with adapters for AI, Web3, messaging, and data services. All adapters follow a consistent factory pattern and reference the @lippytm/ai-sdk package for shared interfaces.

AI Providers

Core AI Services

  • OpenAI - GPT models, embeddings, and completions
    • Env vars: OPENAI_API_KEY, OPENAI_ORG_ID
  • Hugging Face - Inference API and transformers
    • Env vars: HUGGINGFACE_API_KEY, HUGGINGFACE_INFERENCE_ENDPOINT
  • LangChain - AI application framework
    • Env var: LANGCHAIN_ENABLED=true
  • LlamaIndex - Data framework for LLM applications
    • Env var: LLAMAINDEX_ENABLED=true

Vector Stores (Optional - Heavy Dependencies)

  • Pinecone - Managed vector database
    • Env vars: PINECONE_API_KEY, PINECONE_ENVIRONMENT
    • Install: npm install @pinecone-database/pinecone (optional)
  • Weaviate - Open-source vector database
    • Env vars: WEAVIATE_URL, WEAVIATE_API_KEY
    • Install: npm install weaviate-ts-client (optional)
  • Chroma - Embedding database
    • Env var: CHROMA_URL
    • Install: npm install chromadb (optional)

Web3 Providers

  • EVM Chains - Ethereum, Polygon, BSC, and other EVM-compatible chains
    • Env vars: EVM_RPC_URL, EVM_CHAIN_ID, EVM_PRIVATE_KEY
    • Uses: ethers.js
  • Solana - Solana blockchain
    • Env vars: SOLANA_RPC_URL, SOLANA_NETWORK, SOLANA_PRIVATE_KEY
    • Uses: @solana/web3.js
  • Anchor - Solana framework (optional)
    • Env vars: ANCHOR_ENABLED=true, ANCHOR_PROGRAM_ID
    • Install: npm install @coral-xyz/anchor (optional)

Messaging Providers

  • Slack - Slack API integration
    • Env vars: SLACK_BOT_TOKEN, SLACK_SIGNING_SECRET
  • Discord - Discord bot integration
    • Env vars: DISCORD_BOT_TOKEN, DISCORD_CLIENT_ID

Data Providers

  • PostgreSQL - Relational database
    • Env vars: POSTGRES_HOST, POSTGRES_PORT, POSTGRES_DB, POSTGRES_USER, POSTGRES_PASSWORD
  • Redis - In-memory data store
    • Env vars: REDIS_URL, REDIS_PASSWORD
  • AWS S3 - Object storage
    • Env vars: AWS_REGION, S3_BUCKET, AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY
  • IPFS - Decentralized storage
    • Env vars: IPFS_URL, IPFS_PROJECT_ID, IPFS_PROJECT_SECRET

Multi-Language Support

The SDK adapters are primarily implemented in Node.js/TypeScript, with reference documentation for equivalent packages in other languages:

  • Python - See pyproject.toml for Python package equivalents
  • Go - See go.mod for Go module equivalents
  • Rust - See Cargo.toml for Rust crate equivalents

Usage Example

import { loadSDKConfig, SDKFactory } from './sdk';

// Load configuration from environment
const config = loadSDKConfig();

// Create factory
const factory = new SDKFactory(config);

// Create AI adapter
const openai = factory.createAIAdapter('openai');

// Create Web3 adapter
const evm = factory.createWeb3Adapter('evm');

// Create messaging adapter
const slack = factory.createMessagingAdapter('slack');

// Create data adapter
const redis = factory.createDataAdapter('redis');

Testing SDK Configuration

Run the configuration smoke test to verify your setup:

cd backend
npm run test:config

This will display the status of all configured adapters and providers.

🚦 Getting Started

Prerequisites

  • GitHub account
  • Node.js (v18 or higher)
  • npm or yarn
  • (Optional) PostgreSQL and MongoDB for database features
  • (Optional) Redis for caching
  • (Optional) API keys for external integrations:
    • OpenAI API key (recommended for AI features)
    • Hugging Face API key (for HF models)
    • Pinecone, Weaviate, or Chroma (for vector stores - heavy installs)
    • EVM RPC URL (for Ethereum/EVM chains)
    • Solana RPC URL (for Solana blockchain)
    • Slack Bot Token (for Slack integration)
    • Discord Bot Token (for Discord integration)
    • AWS credentials (for S3 storage)
    • IPFS credentials (for decentralized storage)
    • n8n webhook URL
    • Cloudflare API token

Note: Most dependencies are optional. The application will work with minimal configuration (just OpenAI API key for basic AI features).

Quick Start - Full Stack Application

For detailed setup instructions, see FULLSTACK_SETUP.md

# 1. Clone the repository
git clone https://github.com/lippytm/Time-Machines-Builders-.git
cd Time-Machines-Builders-

# 2. Set up backend
cd backend
npm install
cp .env.example .env
# Edit .env and add your OPENAI_API_KEY
npm run dev

# 3. Set up frontend (in a new terminal)
cd frontend
npm install
npm start

Visit http://localhost:3000 to access the application.

Quick Start - Docker

# Set OpenAI API key
export OPENAI_API_KEY=your_api_key_here

# Start all services
docker-compose up -d

# View logs
docker-compose logs -f

Quick Start - GitHub Workflows

  1. Fork or Clone this repository
  2. Configure Secrets (for integrations):
    • Go to Settings β†’ Secrets and variables β†’ Actions
    • Add required secrets (see INTEGRATION.md)
  3. Enable Workflows:
    • Navigate to Actions tab
    • Enable workflows
  4. Trigger Integration:
    gh workflow run ci.yml

πŸ“š Documentation

πŸ”„ Workflow Architecture

CI/CD Pipeline

Runs on every push and pull request:

  • Code quality and security scanning
  • CodeQL analysis
  • Dependency review
  • Integration health checks

Cross-Repository Integration

Enables synchronization across repositories:

  • Trigger workflows in connected repositories
  • Notify external services (n8n, etc.)
  • Coordinate updates across the ecosystem

Dependency Management

Weekly automated checks:

  • Dependency updates
  • Security audits
  • Cross-repository synchronization

πŸ’‘ Usage Examples

Trigger Cross-Repo Sync

gh workflow run cross-repo-integration.yml \
  -f target_repo=AI-Time-Machines \
  -f action=sync

Run CI Pipeline

gh workflow run ci.yml

Manual Integration Test

# Test all integrations
gh workflow run ci.yml --ref main

🀝 Contributing

We welcome contributions! Please see our Contributing Guide for details on:

  • Code of conduct
  • Development workflow
  • Integration development
  • Submitting pull requests

πŸ“Š Project Status

Lint and Test CodeQL Dependency Review CI Status

  • βœ… GitHub Actions workflows configured
  • βœ… Cross-repository integration enabled
  • βœ… Security scanning active
  • πŸ”„ Continuous integration active
  • πŸ”„ AI integration ready

πŸ”’ Security

This project uses multiple security measures:

  • CodeQL analysis for vulnerabilities
  • Trivy container scanning
  • Dependency review on pull requests
  • Secret scanning enabled
  • Regular security audits

Report security issues via GitHub Security Advisories.

πŸ“ License

This project is open source and available under standard licensing terms.

πŸ™ Acknowledgments

  • GitHub Copilot for AI-assisted development
  • Huggingface for AI/ML infrastructure
  • n8n for workflow automation capabilities
  • Cloudflare for edge computing support
  • The open-source community

πŸ“ž Support


Learn. Build. Automate. Earn. πŸš€

About

AI automation in Earn while you Learn to Become a Better Programmer and Blockchain Developer.

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •