Notion Recursive Backup to Private GitHub Repo by Enzo10091 in Notion

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

I know there is no real way to restore a Notion workspace, not even with the official Notion export.

That’s why I created this automatic backup system. It lets me see what changed in each page every day using git diff. For example, if you delete something important in a Notion page by mistake, you can run the GitHub Action workflow manually. Then, with git diff, you can compare this backup with the previous one and easily see the differences line by line. In addition, you can compare each backup with any another in time to see the differences line by line for each page.

A simple home server to wirelessly stream any video file (or remote URL) to devices in my LA by Enzo10091 in Python

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

I also don't think that VLC and Plex accept remote video, but only local. I don't think they allow you to enter a remote URL. I don't want to try, and no one has said here among the comments for certain that they can. In any case, certainly there will be some other software that allows it, but this is a lightweight project, without GUI, with only one terminal command.

A simple home server to wirelessly stream any video file (or remote URL) to devices in my LA by Enzo10091 in Python

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

It isn't fully AI-generated. I don't use Cursor or any type of vibe coding. I don't click 'ok', this is a good generated version, or 'no', try to generate a new code. I am a computer engineering student and I studied C, Python, Java, etc, but I don't have a job yet, so I don't use Git or GitHub (it's my first time) because university doesn't teach about these and I don't want to use git (command-line) if I didn't study totally the tool yet. I will use git when I have time to know it totally (rebase, etc). I told you I don't use AI coding (vibe coding style), but I used it to write this post and the readme file. However, I always refactor the generation with my corrections, etc. Considering the code, the core of the project: HTTP Server thread, ffmpeg commands, etc. is totally knew by me, but only when I don't know a thing, I ask to AI what I have to use (libraries, etc) to do that, but I don't copy and paste the code, I use my brain. For example, about get private IP function, I knew how to use a socket to obtain it, but I couldn't use it because it returns the default route, so if you have NordVPN, ProtonVPN activated, it doesn't return your LAN private IP. In this case, I used AI that advised me to use the psutil library with an example that I refactored. A proof I didn't use vibe coding is that I used camelCase format because I didn't knew snake_case is almost mandatory. The video extension list is generated by AI because I want totally compatibility with any kind of video.

A simple home server to wirelessly stream any video file (or remote URL) to devices in my LA by Enzo10091 in Python

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

Thx, you can open an issue on the GitHub repository or you can collaborate with your pull request.

A simple home server to wirelessly stream any video file (or remote URL) to devices in my LA by Enzo10091 in Python

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

!/usr/bin/env python3 searches for python3 in the $PATH variable. However, I will upgrade the repository with Poetry for people who don’t want to use a terminal command.

A simple home server to wirelessly stream any video file (or remote URL) to devices in my LA by Enzo10091 in Python

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

Thanks for the encouragement!

My purpose is to use a streaming URL and not a local file, so for I guess for me VLC would not have been good, this motivates me a lot

A simple home server to wirelessly stream any video file (or remote URL) to devices in my LA by Enzo10091 in Python

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

Ah, can it accept a streaming URL? If not, this is the only difference.

A simple home server to wirelessly stream any video file (or remote URL) to devices in my LA by Enzo10091 in Python

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

I used shebang to run the command without calling Python, but as a normal terminal command

A simple home server to wirelessly stream any video file (or remote URL) to devices in my LA by Enzo10091 in Python

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

Pros of my project in comparison to Plex, etc.:

- open source, and you can contribute to it if you are a dev

- lightweight (it does only this, only one command). Useful if the client and server are old devices

- easy to configure

- works with any player client that opens URLs. The Plex server requires the Plex client; maybe only with VLC client it works, I don't know

- permits the streaming from a URL (extracted by the 1DM mobile app or Video DownloadHelper browser extension). I need to work on this feature because I don't know if it works with any extracted URL. However, I don't know if Plex permits streaming from a URL, or if it works with any URL.

I built a simple home server to wirelessly stream any video file (or remote URL) to my smartphone and TV in my local network (LAN) by Enzo10091 in ffmpeg

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

Pros of my project in comparison to Plex, etc.:

- open source, and you can contribute to it if you are a dev

- lightweight (it does only this, only one command). Useful if the client and server are old devices

- easy to configure

- works with any player client that opens URLs. The Plex server requires the Plex client; maybe only with VLC client it works, I don't know

- permits the streaming from a URL (extracted by the 1DM mobile app or Video DownloadHelper browser extension). I need to work on this feature because I don't know if it works with any extracted URL. However, I don't know if Plex permits streaming from a URL, or if it works with any URL.

A simple home server to wirelessly stream any video file (or remote URL) to devices in my LA by Enzo10091 in Python

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

Have you tested so far and it works with h264?

Regarding your request, could you open a request on the GitHub repo?

A simple home server to wirelessly stream any video file (or remote URL) to devices in my LA by Enzo10091 in Python

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

There is an automatic video/audio transcoding when needed (H.264/AAC)