-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 3a22519
Showing
375 changed files
with
216,315 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
_ |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
# <img src="assets/images/infrabot.png" height="32" width="32"/> InfraBot | ||
|
||
[![infrabot with <3](https://img.shields.io/badge/infrabot-orange)](https://github.com/infrabot-io/infrabot) | ||
<a href="https://img.shields.io/github/license/infrabot-io/infrabot"> | ||
<img src="https://img.shields.io/github/license/infrabot-io/infrabot" alt="License" /> | ||
</a> | ||
<a href="https://img.shields.io/tokei/lines/github/infrabot-io/infrabot"> | ||
<img src="https://img.shields.io/tokei/lines/github/infrabot-io/infrabot" alt="Total lines" /> | ||
</a> | ||
<a href="https://img.shields.io/github/downloads/infrabot-io/infrabot/total"> | ||
<img src="https://img.shields.io/github/downloads/infrabot-io/infrabot/total" alt="Downloads" /> | ||
</a> | ||
<a href="https://img.shields.io/github/stars/infrabot-io/infrabot?style=social"> | ||
<img alt="GitHub repo file count" src="https://img.shields.io/github/stars/infrabot-io/infrabot?style=social"> | ||
</a> | ||
<a href="https://img.shields.io/github/contributors/infrabot-io/infrabot"> | ||
<img alt="GitHub repo file count" src="https://img.shields.io/github/contributors/infrabot-io/infrabot"> | ||
</a> | ||
|
||
<br><br> | ||
|
||
<p align="center"> | ||
<img src="assets/images/banner.png" alt="infrabot-logo"/> | ||
</p> | ||
|
||
<p align="center"> | ||
<br><br> | ||
<a href="https://www.buymeacoffee.com/infrabot.io" target="_blank"> | ||
<img width="168px" height="48px" src="assets/images/bymeabeer.png" alt="Buy Me A Beer"> | ||
</a> | ||
</p> | ||
|
||
--- | ||
|
||
## :newspaper: Description | ||
|
||
infrabot - is an on-premise service which allows you to create your own commandlets to control your infrastructure using a Telegram Bot. Built-in tools will allow to create, configure and manage plugins and application configuration. | ||
|
||
<img src="assets/images/demo.gif" alt="infrabot-logo" width="400px" height="400px"/> | ||
|
||
|
||
## :wrench: Installation | ||
|
||
- Donwload and install [.NET 6 runtime](https://dotnet.microsoft.com/en-us/download/dotnet/6.0) | ||
- Go to [releases](https://github.com/infrabot-io/infrabot/releases) page to download the latest release | ||
|
||
## :clipboard: Documentation | ||
|
||
Get started with infrabot, learn how to configure infrabot for your organization. | ||
|
||
- [Getting Started](https://infrabot-io.github.io/documentation/gettingstarted.html) | ||
- [Create a Telegram Bot](https://infrabot-io.github.io/documentation/createbot.html) | ||
- [infrabot configuration](https://infrabot-io.github.io/documentation/configoverview.html) | ||
- [infrabot plugin system](https://infrabot-io.github.io/documentation/pluginoverview.html) | ||
- [infrabot service](https://infrabot-io.github.io/documentation/infrabotservice.html) | ||
|
||
## :vhs: Plugin support | ||
|
||
To add functionality to infrabot and extend its capabilities, plugin system was implemented. Each plugin determines which command infrabot can execute. One plugin - means one commandlet. See [examples](https://infrabot-io.github.io/documentation/examplescripts.html) to get to know how to create plugins. | ||
|
||
|
||
## :dart: Contributing | ||
You can contribute to infrabot by finding bugs, creating new functionality or writing addons for it. | ||
|
||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<Application x:Class="infrabot.ConfigEditor.App" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:local="clr-namespace:infrabot.ConfigEditor" | ||
StartupUri="MainWindow.xaml" | ||
xmlns:ui="http://schemas.modernwpf.com/2019"> | ||
<Application.Resources> | ||
<ResourceDictionary> | ||
<ResourceDictionary.MergedDictionaries> | ||
<ui:ThemeResources /> | ||
<ui:XamlControlsResources /> | ||
<!-- Other merged dictionaries here --> | ||
</ResourceDictionary.MergedDictionaries> | ||
<!-- Other app resources here --> | ||
</ResourceDictionary> | ||
</Application.Resources> | ||
</Application> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Configuration; | ||
using System.Data; | ||
using System.Linq; | ||
using System.Threading.Tasks; | ||
using System.Windows; | ||
|
||
namespace infrabot.ConfigEditor | ||
{ | ||
/// <summary> | ||
/// Interaction logic for App.xaml | ||
/// </summary> | ||
public partial class App : Application | ||
{ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
using System.Windows; | ||
|
||
[assembly: ThemeInfo( | ||
ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located | ||
//(used if a resource is not found in the page, | ||
// or application resource dictionaries) | ||
ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located | ||
//(used if a resource is not found in the page, | ||
// app, or any theme specific resource dictionaries) | ||
)] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<items> | ||
<item> | ||
<name>HelpTelegramBotToken</name> | ||
<heading>Telegram bot token</heading> | ||
<description>Specifies Telegram API token key obtained from @BotFather. Example: 123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11</description> | ||
<used>Infrabot configuration</used> | ||
</item> | ||
<item> | ||
<name>HelpEnableLogging</name> | ||
<heading>Enable logging</heading> | ||
<description>Specifies if service should log all activity.</description> | ||
<used>Infrabot configuration</used> | ||
</item> | ||
<item> | ||
<name>HelpEnableReloadConfig</name> | ||
<heading>Enable reload config</heading> | ||
<description>Specifies if to enable /reloadconfig command.</description> | ||
<used>Infrabot configuration</used> | ||
</item> | ||
<item> | ||
<name>HelpEnableEmergency</name> | ||
<heading>Enable emergency</heading> | ||
<description>Specifies if to enable /emergency command.</description> | ||
<used>Infrabot configuration</used> | ||
</item> | ||
<item> | ||
<name>HelpEnableShowMyID</name> | ||
<heading>Enable emergency</heading> | ||
<description>Specifies if to enable /showmyid command.</description> | ||
<used>Infrabot configuration</used> | ||
</item> | ||
<item> | ||
<name>HelpPowerShellDefaultPath</name> | ||
<heading>Enable emergency</heading> | ||
<description>Specifies full path to PowerShell.exe on your system. By default it is: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe</description> | ||
<used>Infrabot configuration</used> | ||
</item> | ||
<item> | ||
<name>HelpPowerShellArguments</name> | ||
<heading>PowerShell arguments</heading> | ||
<description>Specifies arguments sent to PowerShell.exe. By default it is: -ExecutionPolicy Unrestricted -NoProfile</description> | ||
<used>Infrabot configuration</used> | ||
</item> | ||
<item> | ||
<name>HelpResultMaxLength</name> | ||
<heading>Result maximum length</heading> | ||
<description>Specifies a limit result length in characters which Bot can send back to chat. By default it is: 12000 characters</description> | ||
<used>Infrabot configuration</used> | ||
</item> | ||
<item> | ||
<name>HelpAllowedUsersID</name> | ||
<heading>Allowed users id</heading> | ||
<description>Specifies a list of telegram Users` ids, from which Bot can accept commands and execute it. By default everyone can send commands to bot.</description> | ||
<used>Infrabot configuration</used> | ||
</item> | ||
<item> | ||
<name>HelpAllowedUsersIDEmergency</name> | ||
<heading>Allowed users id for emergency</heading> | ||
<description>Specifies a list of telegram Users` ids, from which Bot can accept /emergency command. This command immediately shuts down service. By default everyone can send /emergency to bot.</description> | ||
<used>Infrabot configuration</used> | ||
</item> | ||
<item> | ||
<name>HelpAllowedUsersIDReloadConfig</name> | ||
<heading>Allowed users id for reload config</heading> | ||
<description>Specifies a list of telegram Users` ids, from which Bot can accept /reloadconfig command. This command reloads updated information from config.json. By default everyone can send /emergency to bot.</description> | ||
<used>Infrabot configuration</used> | ||
</item> | ||
<item> | ||
<name>HelpAllowedUsersIDGetCommands</name> | ||
<heading>Allowed users id for get commands</heading> | ||
<description>Specifies a list of telegram Users` ids, from which Bot can accept /getcommands command. This command shows list of available commandlets. By default everyone can send /getcommands to bot.</description> | ||
<used>Infrabot configuration</used> | ||
</item> | ||
</items> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.