Todo-txt format in Api Baserow

Hi @lucw, how are you?

Before answering some of your questions, I’d like to say thank you very much for commenting here.

thanks for this feedback here.

Please, see this: Using the Baserow api to import tasks from a txt file(todo.txt) for more informations if possible.

This is true.

Yes.

I didn’t think about updating the file, just sending the file data in Baserow with the http-post method, and viewing the information with the http-get method.

I would like to name “two data flows”: an ideal data flow and the data flow I created.

1. In an ideal flow of data it would be something like this:

1.1 The best way would be that every change in the txt file is saved locally in SQLite and the update is sent to Baserow with date and time.

1.2 In case I need to know which tasks were executed, I have the complete history in Baserow with date and time.

1.3 However, if I need a backup, as I have a local copy, it’s easy to go back to the old version.


2. The data flow I developed is very different from this ideal flow:

2.1 I thought that for most developers having “VSCode” is something very easy to install.

2.2 Then, in general, you install VSCode with an extension called “local-history” that generates an automatic copy of the files you modify in VSCode.

2.3 Then, I installed python to run this algorithm which loads the todo.txt file only once in Baserow.


Which of these data streams is the best: 1 or 2? Is this thought interesting? What do you think of these ideas?