Skip to content

Instantly share code, notes, and snippets.

@Always-Self-Hosted
Always-Self-Hosted / tweetmash_auto_battler.py
Last active February 10, 2026 06:07
Tweetmash Auto Battler
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Copyright (c) 2025 Ash <always-self-hosted@protonmail.com>
# This file is released under MIT license
from argparse import ArgumentParser, Namespace
from enum import Enum
from itertools import count
from json import loads, dumps
from logging import Formatter, StreamHandler, getLogger
@Always-Self-Hosted
Always-Self-Hosted / suno_download_by_username.py
Last active January 17, 2026 17:33
I wrote this script because beginbot is publishing absolute fire on suno right now and looking around all the current scripts/cli tools only work if you give them song ids or at best a playlist id, But i just wanted an easy way to give a username and get all the songs downloaded
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Copyright (c) 2025 Ash <always-self-hosted@protonmail.com>
# This file is released under MIT license
"""This script accepts a suno username and will download all public songs found."""
from argparse import ArgumentParser, Namespace
from datetime import datetime
from enum import Enum
from json import loads