Thanks to visit codestin.com
Credit goes to github.com

Skip to content

This repository contains all the automation tools, bots, scripts, and configurations that help keep OpenLake running efficiently.

Notifications You must be signed in to change notification settings

OpenLake/Infra

Repository files navigation

OpenLake Infrastructure

A unified repository containing all automation tools, scripts, configurations, and bots that keep OpenLake’s operations running smoothly.

Status: Deployed Development: Ongoing License: MIT

Pull Requests Merged Open Issues Contributors


Repository Links ↥ Back to top


Table of Contents

  1. About the Project
  2. Getting Started
  3. Usage
  4. Contributing
  5. Maintainers
  6. License

About the Project ↥ Back to top

The OpenLake Infrastructure repository is the backbone of OpenLake’s internal systems.
It consolidates all the tools, scripts, bots, and configurations that streamline operations across OpenLake’s projects and servers.

🧩 Key Goals

  • Automate repetitive DevOps and community management tasks.
  • Manage and monitor OpenLake’s servers, bots, and GitHub automations.
  • Provide a transparent and organized place for infrastructure-related contributions.

👥 Target Audience

  • OpenLake developers who maintain our servers, repositories, and bots.
  • Contributors looking to add automation or improve operational efficiency.

🌊 Part of the OpenLake Ecosystem

This project supports other OpenLake projects by maintaining their infrastructure — ensuring smooth CI/CD pipelines, community automation, and reliable server uptime.


Getting Started ↥ Back to top

Prerequisites

Install dependencies based on the module you want to run.

# For Node.js scripts
npm install

# For Python scripts
pip install -r requirements.txt

Installation

  1. Clone the repository:

<<<<<<< HEAD

git clone https://github.com/openlake-org/openlake-helper-bot.git
cd openlake-helper-bot
  1. Install dependencies:
npm install
  1. Create a .env file in the root directory and add the following environment variables:
DISCORD_TOKEN=your_discord_bot_token
GITHUB_TOKEN=your_github_personal_access_token
GITHUB_ORG=openlake-org
  1. Configure the bot settings in config.json or relevant config files (if applicable).

Running the Bot

npm start

Usage

Once the bot is online and invited to your Discord server:

  • It will automatically fetch and update issue and PR counts for configured repositories.
  • Notifications will be sent to designated channels on specific GitHub events.
  • Use bot commands (if any) to get on-demand reports or updates. (Example commands can be added based on implementation)

How It Works

  • The bot uses the GitHub REST API to fetch data about issues and pull requests from Openlake repositories.
  • It listens for events or periodically polls the API to keep data updated.
  • Using the Discord.js library, it posts messages, updates, and notifications to specified channels.
  • The bot can be extended to add more functionality as Openlake’s needs grow.

Contribution

Contributions from the community and organization members are welcome! Please follow the standard GitHub workflow for issues and pull requests.


License

MIT License


Contact

For questions or support, please reach out to the Openlake maintainers or open an issue in this repository.

=======

git clone https://github.com/OpenLake/openlake-infra.git
cd openlake-infra
  1. Copy and configure environment variables:

    cp .env.example .env
  2. Refer to the /docs folder for detailed setup instructions for each module (bots, servers, actions, etc.).


Each component is modular and self-contained.

Example: Run a Discord Bot

cd bots/discord
npm start

Example: Execute a GitHub Action Script Locally

act -j cleanup-old-branches

Example: Deploy VPS Configuration

bash server/vps-configs/deploy.sh

More examples and configurations are available in their respective folders.


Contributing ↥ Back to top

We welcome contributions from OpenLake members and the community! If you’ve created a bot, automation, or useful script that enhances OpenLake operations — feel free to open a PR.

See CONTRIBUTING.md for detailed contribution guidelines.


Maintainers ↥ Back to top

Current Maintainers: @OpenLake-Core See MAINTAINERS.md for the full list.


Distributed under the MIT License. See LICENSE for more details.

80fe8654bfe71cf4c1edc6fd51c3183587bc4b01

About

This repository contains all the automation tools, bots, scripts, and configurations that help keep OpenLake running efficiently.

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •