AtoMiC Toolkit simplifies HTPC / Home Server setup and management on Ubuntu and Debian variants including Raspbian. It currently supports: Couchpotato, Deluged, Emby, FFmpeg, Headphones, Htpcmanager, Jackett, Kodi, Lazylibrarian, Madsonic, Mono, Mylar, Nzbget, Nzbhydra, NzbToMedia, Ombi, Plex, Plexpy, Pyload, qBittorrent, Radarr, Sabnzbd+, Sickgear, Sickrage, Sonarr, Subsonic, Transmission, Unrar, Watcher, and Webmin.

# AtoMiC-ToolKit

[![Chat Gitter](https://badges.gitter.im/htpcBeginner/AtoMiC-ToolKit.svg)](https://gitter.im/htpcBeginner/AtoMiC-ToolKit)
[![Build Status](https://travis-ci.org/htpcBeginner/AtoMiC-ToolKit.svg?branch=master)](https://travis-ci.org/htpcBeginner/AtoMiC-ToolKit)

<h2>Important Update (June 1, 2018)</h2>
It takes significant amount of time and effort to develop AtoMiC ToolKit. With the emergence of Docker and Docker compose, setting up a <a href="https://www.smarthomebeginner.com/traefik-2-docker-tutorial/">Docker-based media server</a> is now significantly easier. This repo is no longer maintained. I recommend transitioning over to Docker. 

Alternatively, you can check out <a href-<a href="https://github.com/GhostWriters/DockSTARTer">DockSTARTer</a>, which is an attempt to do what AtoMiC ToolKit does and more using Docker. 

<h2>Introduction</h2>
<img src="http://www.htpcbeginner.com/images/2015/04/atomic-toolkit-300x162.jpg" alt="AtoMiC ToolKit form htpcBeginner.com" width="300" height="162" align="right"/>AtoMiC ToolKit (<b><i>A</i></b>u<b><i>to</i></b>mate your <b><i>M</i></b>ed<b><i>i</i></b>a <b><i>C</i></b>enter) is a tool that is developed by htpcBeginner.com and its community to simplify installing and managing apps / software on Ubuntu based HTPC, NAS, or Home Server setup. Essentially the AtoMiC ToolKit automates several processes and makes installing, uninstalling, backing up, restoring, resetting, and maintaining download server apps. It is written in bash.

<h2>Support AtoMiC ToolKit Development</h2>
We have put in several hundred hours of work into developing AtoMiC ToolKit. If it helped you please consider donating. All donations will be used only for AtoMiC ToolKit development.

<table>
<tr>
<th style="text-align:center">BitCoin</th>
<th style="text-align:center">PayPal</th>
</tr>
<tr>
<td style="text-align:center">1FEgpS3WrK51yzJpqrSo3RXcrLDGztqKPy<br />
<img src="http://www.htpcbeginner.com/images/2016/02/hb-bitcoin74x75.png" width="74" height="75" /></td>
<td style="text-align:center"><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=PEVRBUVEW92KQ" target="_blank"><img src="http://www.htpcbeginner.com/images/2016/02/hb-paypal128x75.png" width="128" height="75" /></a></td>
</tr>
</table>

<h2>Compatibility</h2>
Compatible with Latest Ubuntu and variants (Kubuntu, Xubuntu, Lubuntu) and Linux Mint. 
Development will focus mainly on compatibility with current Ubuntu\Debian\Raspbian releases. 
Testing has been mainly on Linux Mint 18.2 and Raspbian Jessie. 

<h2>Key Features</h2>
Features features of AtoMiC ToolKit include:
<ul>
<li>Almost entirely automated</li>
<li>Very little commandline work</li>
<li>User and newbie-friendly</li>
<li>One-stop shop
<ul>
<li>CouchPotato - Install, Uninstall, Reset Password, Update and Backup / Restore</li>
<li>Deluge - Install, Uninstall, Update and Backup / Restore</li>
<li>Emby - Install, Uninstall, Update and Backup / Restore</li>
<li>FileBot - Install, Uninstall, Update</li>
<li>Flood - Install, Uninstall, Update</li>
<li>Glances - Install, Uninstall, Update</li>
<li>Grafana - Install, Uninstall, Update and Backup / Restore</li>
<li>Headphones - Install, Uninstall, Reset Password, Update and Backup / Restore</li>
<li>HTPC Manager - Install, Uninstall, Update and Backup / Restore</li>
<li>Jackett - Install, Uninstall, Update and Backup / Restore</li>
<li>Kodi - Install, Uninstall Autoboot enable and Update</li>
<li>Lazy Librarian - Install, Uninstall, Reset Password, Update and Backup / Restore</li>
<li>Lidarr - Install, Uninstall, Update and Backup / Restore</li>
<li>Madsonic - Install, Uninstall, Update and Backup / Restore</li>
<li>Medusa - Install, Uninstall, Update and Backup / Restore</li>
<li>Muximux - Install, Uninstall, Update</li>
<li>Mylar - Install, Uninstall, Reset Password, Update and Backup / Restore</li>
<li>NetData - Install, Uninstall, Update</li>
<li>NZBGet - Install, Uninstall, Reset Password and Backup / Restore</li>
<li>NZBHydra - Install, Uninstall, Update and Backup / Restore</li>
<li>Ombi - Install, Uninstall, Update and Backup / Restore</li>
<li>Organizr - Install, Uninstall, Update</li>
<li>PhpSysInfo - Install, Uninstall, Update</li>
<li>Plex - Install, Uninstall, Update and Backup / Restore</li>
<li>Tautulli - Install, Uninstall, Update and Backup / Restore</li>
<li>Private Internet Access - Install, Uninstall, Update</li>
<li>pyLoad - Install, Uninstall, Update and Backup / Restore</li>
<li>qBittorrent - Install, Uninstall, Reset Password, Update and Backup / Restore</li>
<li>Radarr - Install, Uninstall, Update and Backup / Restore</li>
<li>Rclone - Install, Uninstall, Update and Backup / Restore</li>
<li>Rclone Browser- Install, Uninstall, Update</li>
<li>Resilio-Sync - Install, Uninstall, Update and Backup / Restore</li>
<li>rTorrent - Install, Uninstall, Update and Backup / Restore</li>
<li>ruTorrent - Install, Uninstall, Update</li>
<li>SABnzbd+ - Install, Uninstall, Reset Password, Update and Backup / Restore</li>
<li>SickGear - Install, Uninstall, Reset Password, Update and Backup / Restore</li>
<li>SickRage - Install, Uninstall, Reset Password, Update and Backup / Restore</li>
<li>Sonarr - Install, Uninstall, Update and Backup / Restore</li>
<li>Subsonic - Install, Uninstall, Update and Backup / Restore</li>
<li>Syncthing - Install, Uninstall, Update and Backup / Restore</li>
<li>Transmission WebUI - Install, Uninstall, Reset Password, Update and Backup / Restore</li>
<li>ubooquity- Install, Uninstall, Update and Backup / Restore</li>
<li>Watcher - Install, Uninstall, Update and Backup / Restore</li>
<li>Webmin - Install, Uninstall, Update and Backup / Restore</li>
</ul></li>
<li>Reset forgotten WebUI passwords</li>
<li>Makes moving apps between different computers easier (see dedicated section below)</li>
<li>Correctly sets required permissions for trouble free operation</li>
<li>And best of all its FREE! Please consider donating if toolkit helps you.</li>
</ul>

Note that AtoMiC ToolKit will be in continuous development. While extensive testing has been done, there may be errors or unexpected behaviors at times. Also, not all features have been implemented yet. 

<h2>Feature Requests</h2>
Please add new features and vote to help steer the direction of AtoMiC-ToolKit. Current requests and voting can be seen below.

[![Feature Requests](http://feathub.com/htpcBeginner/AtoMiC-ToolKit?format=svg)](http://feathub.com/htpcBeginner/AtoMiC-ToolKit)

<h2>Installation and Usage</h2>
Clone repository on any Debian or Ubuntu based distro and execute the setup.sh bash script file. 

<pre>
$ sudo apt-get install git
$ sudo git clone https://github.com/htpcBeginner/AtoMiC-ToolKit /opt/AtoMiC-ToolKit
$ cd /opt/AtoMiC-ToolKit
$ sudo bash setup.sh
</pre>

The setup script will configure AtoMiC ToolKit and after the initial setup will be accessible from anywhere by typing: 
<pre>sudo atk</pre>

<h3>Command Line Arguments</h3>

The script supports several command line arguments:

`$ sudo bash setup.sh -[o]ption (appname)`

- `-i appname or --install appname` - Install an app
- `-u appname or --uninstall appname` - Uninstall an app
- `-b appname or --backup appname` - Backup the config file for an app
- `-r appname or --restore appname` - Restore an app config file from backup
- `-m appname or --manualupdate appname` - Manually update a specific app
- `-p appname or --passwordreset appname` - Reset the password to an app
- `-a appname or --accessdetails appname` - View the access details for an app
- `-x appname or --reverseproxy appname` - Enable Reverse Proxy for an app
- `-t or --updatetoolkit` - Update AtoMiC-ToolKit
- `-U or --updateall` - Update Linux packages

Examples:

<pre>
$ sudo bash setup.sh -i couchpotato
$ sudo bash setup.sh -U
$ sudo bash --manualupdate sonarr
</pre>

<h2>Video</h2>
<a href="https://www.youtube.com/watch?v=mEoogc0fTBo" target="_blank">https://youtu.be/Zji_3cZRcK4</a>

<h2>Screenshots</h2>
<h6>AtoMiC ToolKit Main Menu</h6>
<a href="http://www.htpcbeginner.com/images/2015/04/atomic-toolkit-main-menu.png" rel="attachment wp-att-20608"><img src="http://www.htpcbeginner.com/images/2015/04/atomic-toolkit-main-menu-500x371-1.jpg" alt="AtoMiC ToolKit Main Menu" width="500" height="371" class="size-large wp-image-20608" /></a>

<h6>AtoMiC ToolKit Submenu Example</h6>
<a href="http://www.htpcbeginner.com/images/2015/04/atomic-toolkit-sickbeard-sub-menu.png" rel="attachment wp-att-20609"><img src="http://www.htpcbeginner.com/images/2015/04/atomic-toolkit-sickbeard-sub-menu-500x370-1.jpg" alt="AtoMiC ToolKit Submenu Example" width="500" height="370" class="size-large wp-image-20609" /></a> 

<h6>AtoMiC ToolKit Script Execution Example</h6>
<a href="http://www.htpcbeginner.com/images/2015/04/atomic-toolkit-sickrage-access-details.png" rel="attachment wp-att-20610"><img src="http://www.htpcbeginner.com/images/2015/04/atomic-toolkit-sickrage-access-details-500x436-1.jpg" alt="AtoMiC ToolKit Script Execution Example" width="500" height="436" class="size-large wp-image-20610" /></a> 

<h2>Default Usernames and Passwords</h2>
Access details have now been simplified and automated. Access details for each app can be obtained through the ToolKit Menus. It is recommended that you set / update usernames and password for all services. 

<h2>Backup/restore process</h2>
The default location for stored backups is /opt/AtoMiC-ToolKit/backups. If you are transferring to a new machine, you should keep this folder so all the zips are available to restore later. You just need to copy it back, install the application again and restore the backup.

For more information on installation and usage, visit <a href="http://www.htpcbeginner.com/atomic-toolkit/">AtoMiC ToolKit</a> page on on htpcBeginner.com.
