HelloZeroNet / HelloZeroNet/ZeroNet

Plugin for Git tracking site changes

Aperta
#2,191 13 commenti 1 reazione 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
18.8k
Fork
2.3k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

**Is your feature request related to a problem? Please describe.**

Even if the ZeroNet site is distributed across multiple users, its owner still has full site access. This means that he can delete/modify the site so others won't be able to use it. Or even worse, put some changes that could be malicious but very hard to spot.

**Describe the solution you'd like**

ZeroNet should have a plugin for tracking site changes in Git. That plugin should:

* Ignore `.git` the directory from the remote site or store it on different location outside site directory (to prevent site owner from overwriting it)
* Automatically commit every site change/update
* Display UI options for managing repository and history (viewing the site at specific commit, comparing changes...)

Then, users could just view site changes directly in UI or alternatively view them in a dedicated Git program if they are more advanced.

**Describe alternatives you've considered**

A simple solution is to manually create a repository and manually commit all changes. However, this has a downside because the site owner will probably be able to overwrite local `.git` directory and it is also not so convenient to manually commit every change.

**Additional context**

This is based on [ZeroTalk topic](http://127.0.0.1:43110/Talk.ZeroNetwork.bit/?Topic:1567951156_14kTJXu4KZSoWSSNcGtXEijf4NqEGimc9J).

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.