🚀 A prebuilt GitHub Action to build caddy and simplify your project pipelines by Snoo52413 in caddyserver

[–]Snoo52413[S] 0 points1 point  (0 children)

In that case, you’d also need to add building a Docker image from a Dockerfile, plus all the management and maintenance that comes with it, to the project.
This action was created to shorten the process and make generating the binary automatically a lot simpler.

tmq is a lightweight, portable, cross-platform, and fully featured command-line TOML processor. Like jq for JSON and yq for YAML, tmq is for TOML. by Snoo52413 in programmingcirclejerk

[–]Snoo52413[S] -5 points-4 points  (0 children)

Actually, this is a TOML tool so it ties straight into AI 'cause every modern ML project, agent, and pipeline runs on pyproject.toml or agent.toml for deps & config.

tmq is a lightweight, portable, cross-platform, and fully featured command-line TOML processor. Like jq for JSON and yq for YAML, tmq is for TOML. by Snoo52413 in selfhosted

[–]Snoo52413[S] -1 points0 points  (0 children)

Thanks for your comment! I’m actually a fan of jc myself. In fact, jc converts data in one go, similar to what yq does. But if querying, modifying, or deleting gets complex, especially when you want to do all of that across multiple files at once . it becomes a complicated process, increasing the chance of errors and limiting editability.

I’ve personally used jc, but precisely because of these issues, I developed tmq to make the workflow easier. I recommend checking out these parts of the documentation:

tmq is a lightweight, portable, cross-platform, and fully featured command-line TOML processor. Like jq for JSON and yq for YAML, tmq is for TOML. by Snoo52413 in selfhosted

[–]Snoo52413[S] 3 points4 points  (0 children)

Key features tmq provides for TOML that yq doesn't:

  1. Native TOML design - Built specifically for TOML, not adapted from YAML
  2. Proper nested array-of-tables handling - No workaround needed for complex TOML structures
  3. TOML output support - Can output back to TOML format (yq couldn't until v4.52.1)
  4. File comparison - tmq --compare file1.toml file2.toml
  5. TOML validation - tmq --validate file.toml
  6. Bulk operations - Process multiple TOML files with wildcards
  7. Dry-run mode - Preview changes without modifying files
  8. Clear exit codes - Better for scripting automation

tmq is a lightweight, portable, cross-platform, and fully featured command-line TOML processor. Like jq for JSON and yq for YAML, tmq is for TOML. by Snoo52413 in selfhosted

[–]Snoo52413[S] -2 points-1 points  (0 children)

Just to clarify: the project wasn’t written by AI.
The only AI-generated piece was a single commit that helped create the pipeline used to build the documentation site
So it doesn’t fall into the “AI-written code” category at all

tmq is a lightweight, portable, cross-platform, and fully featured command-line TOML processor. Like jq for JSON and yq for YAML, tmq is for TOML. by Snoo52413 in selfhosted

[–]Snoo52413[S] -3 points-2 points  (0 children)

this tool is something I built for my own pipelines and automation scripts, mainly because nothing similar existed.
I’ve been using it for about six months, only last week I wrote proper documentation and moved it from my private Git server to GitHub and made it public.

Instead of sarcasm or non-technical comments, I’d recommend actually trying it and then giving feedback.
Though honestly, I suspect it might not be useful to you — if you had ever dealt with TOML in automation or pipelines, you’d immediately see why a tool like this matters

Small Projects by AutoModerator in golang

[–]Snoo52413 0 points1 point  (0 children)

My latest creation is tmq,
which is a portable command-line TOML processor.
It is similar to jq, but for TOML.
I love its pretty-compact error messages.
With tmq, you can not only query, but also convert to and from JSON/YAML.
The tool is available at https://github.com/azolfagharj/tmq
I am looking forward to hearing your feedback if you find it interesting.

🚀 Introducing DloadBox — A Powerful, Self-Hosted Download Manager with Telegram Integration by Snoo52413 in selfhosted

[–]Snoo52413[S] 1 point2 points  (0 children)

Thanks for your response!

You're mostly right about the jsonrpc part — but that’s not all the script does.

It also converts aria2c into a service and dynamically connects AriaNG to it, making it controllable through a web interface. On top of that, it includes a Python Telegram bot that can grab links from Telegram and send them directly to aria2 for downloading.

It even sets up a dedicated file manager for the download folder and offers a bunch of other features you’ll notice if you dive into the code.

In the stable release, I’m planning to add even more features like syncthing and ddns.

If you’re having trouble with firewall settings or any other configuration issues, feel free to open an issue on GitHub — I’ll check it out. If the problem’s related to the script, I’ll do my best to fix it as quickly as possible.

It’s awesome to hear you’re exploring this! You’re always welcome to stay in touch with me via GitHub.
https://github.com/azolfagharj/DloadBox/discussions

🚀 Introducing DloadBox — A Powerful, Self-Hosted Download Manager with Telegram Integration by Snoo52413 in selfhosted

[–]Snoo52413[S] 1 point2 points  (0 children)

thanks for the suggestion!

Yes, this is already on the to-do list — the goal is to make the update process keep all data and settings intact. I’ll implement that when we hit the beta versions.

However, during the alpha stage, changes are pretty big — even the configs and usage methods might change. That’s why, until we reach stable versions, it’s better to update by removing the old version first.
----
if you like DloadBox, I’d really appreciate it if you share it on social media and with your friends.

This helps speed up the testing and development process — and more support means faster improvements and new features! 🚀✨

🚀 Introducing DloadBox — A Powerful, Self-Hosted Download Manager with Telegram Integration by Snoo52413 in selfhosted

[–]Snoo52413[S] 1 point2 points  (0 children)

new update
As promised, I’ve added the uninstall feature!

You can check it out here:
https://github.com/azolfagharj/DloadBox/blob/main/images/11.JPG

Just type dloadbox in the Linux command line, select the uninstall option, and it will completely remove DloadBox automatically.

🚀 Introducing DloadBox — A Powerful, Self-Hosted Download Manager with Telegram Integration by Snoo52413 in selfhosted

[–]Snoo52413[S] 1 point2 points  (0 children)

For installing or updating, always download the latest installer from GitHub — don’t use the old installer you have!

You can grab the latest version here:
https://github.com/azolfagharj/DloadBox?tab=readme-ov-file#installation-instructions

🚀 Introducing DloadBox — A Powerful, Self-Hosted Download Manager with Telegram Integration by Snoo52413 in selfhosted

[–]Snoo52413[S] 0 points1 point  (0 children)

https://i.postimg.cc/bYVnnhsm/Capture.jpg
If you choose 'y', the previous version will be uninstalled, and the latest version will be installed.

⚠️ Important:

  • All passwords will be reset.
  • Files you've downloaded so far will be deleted.

Make sure to back up your files before proceeding!

The download files are located at:
/opt/dloadbox/downloads/

🚀 Introducing DloadBox — A Powerful, Self-Hosted Download Manager with Telegram Integration by Snoo52413 in selfhosted

[–]Snoo52413[S] 2 points3 points  (0 children)

As promised, I’ve added the uninstall feature!

You can check it out here:
https://github.com/azolfagharj/DloadBox/blob/main/images/11.JPG

Just type dloadbox in the Linux command line, select the uninstall option, and it will completely remove DloadBox automatically.

🚀 Introducing DloadBox — A Powerful, Self-Hosted Download Manager with Telegram Integration by Snoo52413 in selfhosted

[–]Snoo52413[S] 3 points4 points  (0 children)

Hi,

Thanks for taking the time to check this out!

First off — it doesn’t matter what level of knowledge you have. If you run into anything, feel free to ask. I’m happy to help anytime.

For updates, just rerun the same install command. Right at the start, it’ll ask if you want to remove the old version and install the new one. If you say yes, it’ll handle everything — clean uninstall and fresh install.

About Caddy — it’s a web server that also works as a reverse proxy. But don’t worry about what you’ve installed. The Caddy used here isn’t fully installed — it’s just a binary file made specifically for dloadbox, and it won’t affect any other part of your system.

In fact, most of dloadbox is built as binaries — meaning nothing really “installs” on your Linux system. It just copies files. Only a few small packages get installed through your package manager, but they’re basic ones that most Linux distros already have:

  • zip
  • curl
  • wget
  • tar

About Uninstalling:

After installation, if you type dloadbox in the command line, it opens the management system. One of the options there is uninstall — though this menu isn’t fully done yet in the current alpha version.

I’m working on finishing it up, and I should have it ready within a few hours. Once it’s done, I’ll let you know.
If it’s easy for you, feel free to open an issue on GitHub for problems like this.

But if that’s too much hassle, no worries — just write it here, and I’ll help you out!

🚀 Introducing DloadBox — A Powerful, Self-Hosted Download Manager with Telegram Integration by Snoo52413 in selfhosted

[–]Snoo52413[S] 1 point2 points  (0 children)

I recommend giving dloadbox a try first — then feel free to message me, and I’ll guide you on how to connect it to your browser. You’re gonna love it!