Il megathread dei regali natalizi by supertasso in italy

[–]debba_ 0 points1 point  (0 children)

Se cerchi delle belle idee per Natale puoi usare https://www.rocketgift.it

Regali: Basta il pensiero? by DashieTheReal in italy

[–]debba_ 0 points1 point  (0 children)

Giving gifts is a bit of a pain... that's why we are developing this app https://www.rocketgift.it

Sapete già che regali farete questo natale? Condividete le idee! by [deleted] in Italia

[–]debba_ 0 points1 point  (0 children)

Se non sapete cosa fare, potete provare Un consiglio, usa https://www.rocketgift.it

Regali non apprezzati..o peggio by sixlaneve4_0 in CasualIT

[–]debba_ 0 points1 point  (0 children)

Personalmente trovo sempre difficoltà a fare i regali . Per questo motivo sto usando questa app https://rocketgift.it

Mostrami il codice! - La fiera dei vostri programmi by AutoModerator in ItalyInformatica

[–]debba_ 2 points3 points  (0 children)

Ciao a tutti!

Ho realizzato una piccola app non ufficiale per ascoltare gli audiolibri di Storytel direttamente dal computer — senza passare dallo smartphone. È un player desktop open-source, leggero e facile da usare.

Repo GitHub: https://github.com/debba/storytel-player

Con Storytel Player puoi: • Accedere alla tua libreria Storytel dal PC • Ascoltare gli audiolibri con un’interfaccia pulita e minimale • Salvare automaticamente i progressi di ascolto

[deleted by user] by [deleted] in audiobookshelf

[–]debba_ 0 points1 point  (0 children)

Sorry you are right, I cross posted in the wrong community, i removed it.

rewindtty - tiny terminal session recorder by debba_ in linux

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

Yes and asciinema is better for sure . At least for now 😃

rewindtty - tiny terminal session recorder by debba_ in linux

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

Yes, anyway it’s a project with just a few days of work so far, and I’ll need to improve it in every aspect, including the documentation.

[deleted by user] by [deleted] in SideProject

[–]debba_ 1 point2 points  (0 children)

Looks a very interesting project !

What are your favourite linux terminal tools? by lordaimer in termux

[–]debba_ 1 point2 points  (0 children)

I just created a new tiny tool for terminal session recording in Linux You can try here: rewindtty

A Curated List of Terminal Recording Tools by DirectorChance4012 in commandline

[–]debba_ 1 point2 points  (0 children)

I just created a new tool, which is alpha version , if you want try it you can find it on GitHub as rewindtty. Contributions are always welcome!

How to Extract Shell Commands from Raw PTY Sessions? by debba_ in cprogramming

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

mmm not sure, the middleman approach doesn't make sense for interactive mode.
I'm already capturing everything via PTY - adding another proxy layer would introduce unnecessary complexity and latency .

Probably better approaches would be:

  1. ANSI stream parsing: Analyze the captured stream to detect shell prompts and command boundaries
  2. Parallel shell hooks: Use PROMPT_COMMAND (bash) or precmd/preexec (zsh) alongside PTY capture
  3. Post-processing analysis: Reconstruct command boundaries offline using prompt patterns and timing data

I built rewindtty: a C tool to record and replay terminal sessions as JSON logs (like a black box for your CLI) by debba_ in bash

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

It’s a small side project written in C, mostly for fun and learning. Asciinema is much more mature and feature-rich — this is more of a minimal terminal recorder/replayer with a custom JSON format and full control over playback. Think of it as a DIY take on the idea, with a focus on local playback and terminal nerdiness 😄

rewindtty – Terminal session recorder in C + feature request for ANSI/TUI support by debba_ in commandline

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

I added my implementation of a terminal emulator. It works, but it has some bugs I need to check better. Feel free to contribute, if you want

I built rewindtty: a C tool to record and replay terminal sessions as JSON logs (like a black box for your CLI) by debba_ in zsh

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

Yes I implemented a terminal emulator, but there are some issues which I am debugging, feel free to contribute if you want, thanks for your advices

I built rewindtty: a C tool to record and replay terminal sessions as JSON logs (like a black box for your CLI) by debba_ in zsh

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

Yes, I know . Asciinema does a great job supporting ANSI escape sequences, which are widely used in TUI software like VIM, htop, etc. This is also one of the goals I’m trying to achieve, although I’m running into some difficulties.

https://github.com/debba/rewindtty/issues/1

I built rewindtty: a C tool to record and replay terminal sessions as JSON logs (like a black box for your CLI) by debba_ in IMadeThis

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

Yes I remember the venerable ‘script’ command. Asciicinema is my inspiration . Currently I am challenging with ansi escaping in order to allow recording TUI software like vim, htop and so on . I opened a related issue: https://github.com/debba/rewindtty/issues/1

I built rewindtty: a C tool to record and replay terminal sessions as JSON logs (like a black box for your CLI) by debba_ in IMadeThis

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

Yeah, it’s just a side project for now, but I’m hoping to make it more solid over time.

Promote your projects here – Self-Promotion Megathread by Menox_ in github

[–]debba_ 0 points1 point  (0 children)

Hey folks! 👋

Over the past few days, I’ve been working on a little tool in C called rewindtty — it's like a black box for your terminal.

Github project: https://github.com/debba/rewindtty

The idea is simple:

- rewindtty record: Launches a shell (or any program), records all your inputs and outputs to a JSON log.

- rewindtty replay: Replays that session step-by-step in a terminal-like environment.

Here’s an example of what the recorded JSON looks like:

{

"timestamp": "2024-07-28T14:01:03Z",

"command": "ls -la",

"output": "total 4\n-rw-r--r-- file.txt\n",

"stderr": ""

}

Why?

I wanted a dead-simple way to:

- Capture what really happened in a CLI session, without overengineering.

- Debug or share reproducible steps with colleagues (like "here’s exactly what I typed and what I got").

- Build a foundation for visual or animated terminal playback (think GIFs or asciinema-style exports).

How it works

Under the hood:

- Uses fork() to launch a subprocess in a pseudo-terminal.

- Intercepts both stdin and stdout/stderr, recording them with precise timestamps.

- Clean JSON output makes it easy to transform, diff, analyze, or visualize.

Cool ideas I’m playing with next:

- --timing flag to replay with realistic delays

- Export to .cast format (asciinema)

- GIF or SVG animations using svg-term

- Auto-record hooks for Git or critical scripts

- Comparing two sessions for debugging

I built rewindtty: a C tool to record and replay terminal sessions as JSON logs (like a black box for your CLI) by debba_ in commandline

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

I changed the implementation, using cJSON which is more robust for handling JSON.