Self-host a-train
Google Drive Shared Drive monitor for Autoscan
- Stars
- 17
ghcr.io/m-rots/a-trainWhat is a-train?
A-Train monitors Google Drive Shared Drives for file changes and sends triggers to Autoscan to initiate media library scans. It requires a Google Workspace account with Shared Drives and a Service Account with a JSON key. The service runs as a long-running daemon via Docker (ghcr.io/m-rots/a-train) or a pre-compiled Rust binary. Configuration is done through a TOML file specifying the Autoscan URL, credentials, and Shared Drive IDs. The project is archived and feature-frozen; no further fixes will be provided if upstream APIs change.
a-train alternatives
autopulseSelf-hosted web server receiving Sonarr/Radarr webhooks to trigger targeted Plex/Jellyfin/Emby library updates — avoiding full scans by refreshing only changed items.Compareautopulse with a-train
drivebaseDrivebase is a self-hosted, open-source file manager unifying Google Drive, S3, Dropbox, and local files into a desktop-like web UI with real-time transfers.Comparedrivebase with a-train
AutoPlexxAutoPlexx is a self-hosted, open-source Docker Compose stack for a complete Plex Media Server with request handling, library automation, VPN torrent downloads, monitoringCompareAutoPlexx with a-train
spacedriveAn open-source, self-hosted file manager that unifies local drives, NAS, servers and cloud buckets into one searchable, indexed filesystem across your devices.Comparespacedrive with a-train
simonSimon is a self-hosted, open-source system monitor in Rust with real-time metrics, Docker monitoring, file browser, and alerting via webhooks — all in a single binary.Comparesimon with a-train
RustrakRustrak is a self-hosted, open-source error tracker compatible with Sentry SDKs. Change one config line to send data to your own infrastructure.CompareRustrak with a-train
folderhostA self-hosted, open-source cloud platform offering file sharing, real-time collaboration, and user management in a ~19MB binary as a lightweight Nextcloud alternativeComparefolderhost with a-train
Mediary ScoutSelf-hosted AI agent that fetches media into your cloud drives (Quark, 115, GuangYaPan, 123, Tianyi), verifies transfers, and auto-fills missing episodes.CompareMediary Scout with a-train
Should you self-host a-train?
a-train scores 28/100 on selfhost.directory (how scoring works) and ranks #113 of 118 in Media Server. It has 17 GitHub stars.
The repository is archived, so don't expect new releases or security fixes.
Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is written mostly in Rust.
Its closest alternative on selfhost.directory is Jellyfin (88/100, 59 617 stars). It scores higher overall, so compare the two before you pick. See a-train vs Jellyfin side by side.
Features
- Autoscan trigger integration
- Google Drive Shared Drive monitoring
- Multiple Shared Drive support
- Rust binary installation
- Service Account Authentication
a-train README
Autoscan, A-Train and Bernard are no longer actively maintained. All projects are considered feature frozen and when compatibility with Google Drive, Plex, Emby, Jellyfin and the -arrs inevitably breaks, no fixes will be provided and such an event will officially mark these projects as end of life. As all three projects have permissible open source licenses, feel free to start a fork and continue development. Ownership of these repositories as well as the Docker images will not be transferred.
A-Train is the official Autoscan trigger that listens for changes within Google Drive. It is the successor of Autoscan's Bernard trigger, which unfortunately contains enough logic errors to prompt a rewrite.
More in Media Server
abs-kosync-bridgeBookBridge is a self-hosted, open-source sync engine aligning reading and listening progress across Audiobookshelf, KOReader, Grimmory, BookOrbit. Runs in Docker.
agregarrAgregarr is a self-hosted, open-source Plex Collections manager that auto-creates collections from Trakt, IMDb, TMDB. Integrates with Radarr, Sonarr, Overseerr.
aiometadataA self-hosted Stremio addon that pulls movie, series, and anime details from many sources, with a React config UI, Redis cache, and Jellyfin server mode.
AirConnectAdd AirPlay streaming capabilities to UPnP, Sonos and Chromecast devices. Open-source project with pre-built binaries for Windows, macOS, Linux and more.
airsonic-advancedSelf-hosted, open-source web media streamer forked from Airsonic: faster scanning, websocket UI updates, Sonos, Chromecast and ListenBrainz support.
airsonic-refixSelf-hosted, open-source web frontend for Subsonic music servers like airsonic-advanced, Navidrome and gonic: browsing, play queues, playlists, radio and podcasts.
AirwaveAirwave is a self-hosted, open-source shared radio creating a synchronized MP3 stream from YouTube, SoundCloud, Mixcloud, Spotify, and local files for browsers and Sonos.
All-jellyfin-media-serverA Docker Compose stack that combines Jellyfin, the *arr automation apps, a request manager, torrent client, subtitle tool, and VPN into one self-hosted media server.
AmpacheAmpache is a self-hosted open-source media streaming app supporting Subsonic, OpenSubsonic, Jellyfin-compatible API, DAAP, UPnP/DLNA via Docker.
AnchorrAnchorr is a self-hosted, open-source Discord bot bridging Jellyfin and Seerr for media requests and library notifications with slash commands and a web dashboard.
anibridgeAniBridge is a self-hosted, open-source tool that syncs anime watch status between media libraries and tracking services using a 250k+ entry mappings database.
antennasSelf-hosted DVR emulator translating Tvheadend API to HDHomeRun for Plex DVR. Runs via Docker, binaries, or Node.js. MIT licensed.
0 comments