Autoshift
automatic SHiFT code redemption script™
Install / Use
/learn @Fabbi/AutoshiftREADME
AutoSHiFt: Automatically redeem Gearbox SHiFT Codes
- Compatibility: 3.12+.
- Platform: Crossplatform.
- Version: 2.0.0
- Repo: https://github.com/Fabbi/autoshift
Overview ⚠️ Needs Update ⚠️
Data provided by ugoogalizer's autoshift-scraper.
This tool doesn't save your login data anywhere on your machine!
After your first login your login-cookie (a string of seemingly random characters) is saved to the data folder and reused every time you use autoshift after that.
autoshift tries to prevent being blocked when it redeems too many keys at once.
You can choose to only redeem mods/skins etc, only golden keys or both. There is also a limit parameter so you don't waste your keys (there is a limit on how many bl2 keys your account can hold for example).
Installation
you'll need to install uv
curl -LsSf https://astral.sh/uv/install.sh | sh
clone repo or download it as zip:
git clone git@github.com:Fabbi/autoshift.git
Usage
- for help
uv run autoshift --help
- redeem codes for Borderlands 4 on Steam (and keep redeeming every 2 hours)
uv run autoshift schedule --bl4=steam
- redeem codes for Borderlands 4 on Steam using Username and Password (Use quotes for User and Password)
uv run autoshift schedule --bl4=steam --user "my@user.edu" --pass "p4ssw0rd!123"
- redeem a single code
uv run autoshift redeem steam <code>
Configuration
You can also configure the tool using a .env file. See env.default for all possible options.
All those options can also be set via ENV-vars and mixed how you like
Config precedence (from high to low):
- passed command-line arguments
- Environment variables
.env-file entries
Docker
Available as a docker image based on python3.12-alpine
Usage
All command-line arguments can be used just like running the script directly
docker run --name autoshift \
--restart=always \
-v autoshift:/autoshift/data \
fabianschweinfurth/autoshift:latest schedule --user="<username>" --pass="<password>" --bl4=steam
Or with docker-compose:
services:
autoshift:
container_name: autoshift
restart: always
volumes:
- ./autoshift:/autoshift/data
image: fabianschweinfurth/autoshift:latest
command: schedule --user="<username>" --pass="<password>" --bl4=steam
volumes:
autoshift:
external: true
name: autoshift
networks: {}
Related Skills
node-connect
342.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
85.3kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
342.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
342.5kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
