readme typo fix, donation bitcoin address added, force linux mergemedia path slashes, loading screen anim fix
This commit is contained in:
parent
ceb8ce6027
commit
4b02417b61
5 changed files with 913 additions and 903 deletions
11
README.md
11
README.md
|
@ -1,6 +1,6 @@
|
||||||
# ZeroNet
|
# ZeroNet
|
||||||
|
|
||||||
Decentralized web platform using Bitcoin crypto and BitTorrent network
|
Decentralized websites using Bitcoin crypto and BitTorrent network
|
||||||
|
|
||||||
|
|
||||||
## Why?
|
## Why?
|
||||||
|
@ -13,7 +13,7 @@ Decentralized web platform using Bitcoin crypto and BitTorrent network
|
||||||
|
|
||||||
## How does it works?
|
## How does it works?
|
||||||
- After starting `zeronet.py` you will be able to visit zeronet sites using http://127.0.0.1:43110/{zeronet_address} (eg. http://127.0.0.1:43110/1EU1tbG9oC1A8jz2ouVwGZyQ5asrNsE4Vr).
|
- After starting `zeronet.py` you will be able to visit zeronet sites using http://127.0.0.1:43110/{zeronet_address} (eg. http://127.0.0.1:43110/1EU1tbG9oC1A8jz2ouVwGZyQ5asrNsE4Vr).
|
||||||
- When you visit a new zeronet site, it's try to find peers using BitTorrent network and download the site files (html, css, js...) from them.
|
- When you visit a new zeronet site, it's trying to find peers using BitTorrent network and download the site files (html, css, js...) from them.
|
||||||
- Each visited sites become also served by You.
|
- Each visited sites become also served by You.
|
||||||
- Every site containing a `site.json` which holds all other files sha1 hash and a sign generated using site's private key.
|
- Every site containing a `site.json` which holds all other files sha1 hash and a sign generated using site's private key.
|
||||||
- If the site owner (who has the private key for the site address) modifies the site, then he/she signs the new `content.json` and publish it to the peers. After the peers verified the `content.json` integrity using the sign they download the modified files and publish the new content to other peers.
|
- If the site owner (who has the private key for the site address) modifies the site, then he/she signs the new `content.json` and publish it to the peers. After the peers verified the `content.json` integrity using the sign they download the modified files and publish the new content to other peers.
|
||||||
|
@ -70,3 +70,10 @@ Site:13DNDk..bhC2 Successfuly published to 3 peers
|
||||||
- Serving files....
|
- Serving files....
|
||||||
```
|
```
|
||||||
- That's it! You successfuly signed and published your modifications.
|
- That's it! You successfuly signed and published your modifications.
|
||||||
|
|
||||||
|
|
||||||
|
## If you want to help keep this project alive
|
||||||
|
|
||||||
|
Bitcoin: 1QDhxQ6PraUZa21ET5fYUCPgdrwBomnFgX
|
||||||
|
|
||||||
|
#### Thank you!
|
|
@ -33,7 +33,7 @@ def merge(merged_path):
|
||||||
# Merge files
|
# Merge files
|
||||||
parts = []
|
parts = []
|
||||||
for file_path in findfiles(merge_dir, find_ext):
|
for file_path in findfiles(merge_dir, find_ext):
|
||||||
parts.append("\n\n/* ---- %s ---- */\n\n" % file_path)
|
parts.append("\n\n/* ---- %s ---- */\n\n" % file_path.replace("\\", "/"))
|
||||||
if file_path.endswith(".coffee"): # Compile coffee script
|
if file_path.endswith(".coffee"): # Compile coffee script
|
||||||
if not config.coffeescript_compiler:
|
if not config.coffeescript_compiler:
|
||||||
logging.error("No coffeescript compiler definied, skipping compiling %s" % merged_path)
|
logging.error("No coffeescript compiler definied, skipping compiling %s" % merged_path)
|
||||||
|
|
|
@ -12,10 +12,11 @@ class Loading
|
||||||
|
|
||||||
# We dont need loadingscreen anymore
|
# We dont need loadingscreen anymore
|
||||||
hideScreen: ->
|
hideScreen: ->
|
||||||
if @screen_visible # Hide with animate
|
if not $(".loadingscreen").hasClass("done") # Nothing to do, just let the animtion to be finished
|
||||||
$(".loadingscreen").addClass("done").removeLater(2000)
|
if @screen_visible # Hide with animate
|
||||||
else # Not visible, just remove
|
$(".loadingscreen").addClass("done").removeLater(2000)
|
||||||
$(".loadingscreen").remove()
|
else # Not visible, just remove
|
||||||
|
$(".loadingscreen").remove()
|
||||||
@screen_visible = false
|
@screen_visible = false
|
||||||
|
|
||||||
|
|
||||||
|
|
1792
src/Ui/media/all.js
1792
src/Ui/media/all.js
File diff suppressed because one or more lines are too long
|
@ -6,4 +6,4 @@ try:
|
||||||
except Exception, err: # Prevent closing
|
except Exception, err: # Prevent closing
|
||||||
import traceback
|
import traceback
|
||||||
traceback.print_exc()
|
traceback.print_exc()
|
||||||
raw_input("-- Error happend, press enter to close --")
|
raw_input("-- Error happened, press enter to close --")
|
||||||
|
|
Loading…
Reference in a new issue