? Editing: Post:21.body Save Delete Cancel

Newest topics

Follow in NewsfeedFollowing
+ Start new topic


^1 ^2 added ━ started by user_name

Template for creating and developing ZeroNet sites

Hello! I created a template for creating and developing ZeroNet sites. It supports NPM dependencies and it uses Gulp and Browserify for bundling scripts. It also supports SASS and automatic deployments with Travis CI. Please test it and let me know what do you think. You can also contribute to it. --- It is available on GitHub: https://github.com/filips123/ZeroTemplate It is also available on GitCenter: --- Post about this is available on Reddit: https://www.reddit.com/r/zeronet/comments/bcryvu/template_for_creating_and_developing_zeronet_sites/ Post about this is also available on Dev.to:
^1 ^2 0 comments on Jul 11, 2019 ━ started by filips

Gun js real time decentralized database

I don't think this would work with zeronet but pretty cool. "Technically, GUN is a graph synchronization protocol with a lightweight embedded engine, capable of doing 20M+ API ops/sec in just ~9KB gzipped size." https://gun.eco
^1 ^2 0 comments on Dec 12, 2018 ━ started by diligentslacker

zchain - A way to create non-realtime game on ZeroNet inspired by blockchain

base zite: GitHub: https://github.com/ImagicTheCat/ZeroNet_dev I'm just starting with this idea, so it's just a small experiment for now. Concept: * users can add blocks to their data file * the chain "state" is computed using the blocks after checking validity * blocks can have multiple children (two blocks pushed at the same time, cheating...) , ~~so at this point there is an arbitrary choice based on the hash order~~ (now blocks have a trust weight in function of the number of blocks in a chain and how much different people are pushing to this chain) It's only about state integrity, users can "reset" the chain by removing or modifying a block (will invalid the following blocks). It's also possible to do a weight attack by spamming the chain to create a derived chain from a previous point in history. But it's easy to imagine having a room owner whitelisting players to accept their blocks and have tools to detect cheaters or trolls. For example, if you make a chest game (it's more realtime but any turn based game with only one opponent would do the same), if a player try to cheat by modifying his previous moves, the game will rollback at the position before the modified move, I find this intuitive. I need to develop multiple experiments to see how well it can work. And optimize storage/computation, like batching actions in a single block instead of having 1 block per action. Interesting to note that any change in the gameplay could invalid the previous blocks or simply update the whole thing like it was always here (I just added a salary system to the example without problems). This is definitely another way to conceive games/systems.
^12 ^13 17 comments last on Dec 10, 2018 ━ started by wellan

FrameworkJS has been launched!

# FrameworkJS has been launched! **On ZeroNet, no need to recreate the same things for every new project you begin. Framework.js already comes with the basic libs and features ZeroNet needs**. It already includes the basic features expected from a web framework, plus more! It includes, for reading: Headings, Paragraphs, Blockquotes, Badges, Images, Navbar, Logo For forms: buttons, sticky buttons, inputs, text areas For webpage/app: navbar/header, header menu, navmenu, scroller, footer Other elements: Tiled lists, longcard lists CSS classes: .full-size, .no-opacity, .color, .color-bg **For ZeroNet, FrameworkJS is the first usable framework, and the world's first click-to-clone web framework. On FrameworkJS site, just click "Create your own zite", and it will redirect to your brand new project. You can also use FrameworkJS on your current project. Zite owner can call JS to clone your own site or another site. Also, FrameworkJS is doing the begin of UltraApps with the detection of clearnet/zeronet, and supports ZeroNet dark theme. It also comes with the most useful ZeroNet libs**. Framework isn't better, because ZeroNet didn't implemented yet the new features I suggested for site clonning. FrameworkJS also includes Bootstrap and Material Design ready to use. Use it on your project, and copy/paste the JS/CSS (except the custom ones) when a new version of Framework is launched. http://framework.js.org/
^2 ^3 1 comment last on Dec 08, 2018 ━ started by daniell

Change title of this site to ZeroDevTalk

Right now we still have 'ZeroTalk' and the other ZeroTalk forums listed at the top. You can edit these by going into this zite's index.html, searching for 'ZEROTALK', and changing it to whatever you desire. It would help differentiate this forum from ZeroTalk itself :)
^1 ^2 3 comments last on Dec 06, 2018 ━ started by zerolstnmobile

Why Json Table structure isn't preserved with DB Reload action??

Here is my dbschema.json: ``` { "db_name": "db", "db_file": "data/users/db.db", "version": 2, "maps": { ".+/data.json": { "to_table": [ {"node": "topics", "table": "topics"} ], "to_keyvalue": ["next_topic_id"] }, ".+/content.json": { "file_name": "data.json", "to_json_table": ["cert_user_id", "cert_auth_type"] } }, "tables": { "topics": { "cols": [ ["topic_id", "INTEGER"], ["title", "TEXT"], ["json_id", "INTEGER REFERENCES json (json_id)"] ], "indexes": [ "CREATE UNIQUE INDEX topic_key ON topics(topic_id, json_id)" ], "schema_changed": 1 }, "json": { "cols": [ ["json_id", "INTEGER PRIMARY KEY AUTOINCREMENT"], ["directory", "TEXT"], ["file_name", "TEXT"], ["cert_auth_type", "TEXT"], ["cert_user_id", "TEXT"] ], "indexes": ["CREATE UNIQUE INDEX path ON json(directory, file_name)"], "schema_changed": 1 } } } ``` So I click buttons related DB in sidebar: Database REBUILD button works ok, I see `cert_auth_type` & `cert_user_id` in `json` table: ``` [14:54:50] Site:XXXX Deleting ./data/<SITEADDRESS>/data/users/db.db [14:54:50] Site:XXXX Creating tables... [14:54:50] Db:db Table keyvalue outdated...version: False need: 2, rebuilding... [14:54:50] Db:db Table json outdated...version: 0 need: 2, rebuilding... [14:54:50] Db:db Table topics outdated...version: 0 need: 1, rebuilding... [14:54:50] Db:db Table json outdated...version: 0 need: 1, rebuilding... [14:54:50] Db:db Table comments outdated...version: 0 need: 1, rebuilding... [14:54:50] Db:db Table categories outdated...version: 0 need: 1, rebuilding... [14:54:50] Site:XXXX Getting db files... [14:54:50] Site:XXXX Importing data... [14:54:50] Site:XXXX Closing Db: <Db#140106308371024:./data/<SITEADDRESS>/data/users/db.db close_idle:False> [14:54:50] Site:XXXX Imported 1 data file in 0.0552639961243s ``` Database RELOAD button *fails*, now there are no `cert_auth_type` & `cert_user_id` columns in `json` table: ``` [14:54:53] Db:db Table json outdated...version: 1 need: 2, rebuilding... [14:54:53] Site:XXXX Creating tables... [14:54:53] Site:XXXX Getting db files... [14:54:53] Site:XXXX Importing data... [14:54:53] Site:XXXX Error importing data/users/<USERADDRESS>/content.json: OperationalError: table json has no column named cert_auth_type in SiteStorage.py line 151 > ContentFilterPlugin.py line 165 > SiteStorage.py line 90 > Db.py line 314 > DbCursor.py line 70 [14:54:53] Site:XXXX Closing Db: <Db#140106313794256:./data/<SITEADDRESS>/data/users/db.db close_idle:False> [14:54:53] Site:XXXX Imported 1 data file in 0.0695490837097s ``` So question is: what wrong with RELOAD action? Why JSON table structure isn't preserved?
^2 ^3 1 comment last on Nov 12, 2018 ━ started by zeronetix

ZeroMe: content.json - files_allowed

Hello, the ZeroMe hub file data/users/content.json contains "user_contents" section which has "permission_rules" sub-section that contains: "files_allowed": "(data.json|avatar.jpg|avatar.png)", some hub use extended line: "files_allowed": "(data.json|avatar.jpg|webm|mp4|gif|zip|7z|avatar.png|msgpack)", I am wondering **what is the purpose of this line** and **if second line is meaningful/correct** (maybe "mp4" should be ".mp4" or *.mp4 or other way to prevent lets say malicious.mp4.js ? Main section of the data/users/content.json also contains: "optional": ".*\\.(png|jpg|gif|zip|7z|txt|mp4|webm|msgpack)", which seems similar to files_allowed. How these two differ? Knowledgebase not explain this.
^1 ^2 2 comments last on Nov 06, 2018 ━ started by ssdifnskdjfnsdjk

How to upload image to ZeroTalk or its clones?

> [nofish](#comment_15_1J3rJ8ecnwH2EPYa6MrgZttBNc61ACFiCj): [Markdown syntax is supported, but image tags are disabled for security reasons.](
^1 ^2 3 comments last on Oct 06, 2018 ━ started by leftside

Client-side file deduplication

###Client-side file deduplication - Detect duplicates, and move them to a dedicated folder, with files addressed by their hash - So duplicate files would not be accessed by their site-specified path but by their hash - Before requesting a new file from peers, check if the client already has the file by comparing hashes - Possibly checking first if the data on disk isn't corrupted (by hash or file size) --- ####How much data or how many files are duplicate? Checking the `content.json` file of 3014 sites (not the user data) gave this result: #####Required files **1635 MiB (21.0%)** of 7773 MiB was duplicate data 38692 (24.8%) of 155575 were duplicate files #####Optional files **20537 MiB (~3%)** of 685679 MiB was duplicate data 46619 (21.9%) of 212718 were duplicate files
^4 ^5 0 comments on Sep 25, 2018 ━ started by swastika

[Solved] Any way to disable all.css generation?

Just trying to remove all dubious features that may interfere with debugging my duct-tape code. I don't see much point anyway (some minor bandwidth savings? why force them by default?) and it certainly can make developer's life harder because it adds yet another "what if it breaks?" factor..
^1 ^2 4 comments last on Apr 21, 2018 ━ started by caryoscelus

How to start zeronet.py with the default language to be other than English?

Some people with other languages will not even find how to change the menu language in the beginning.
^1 ^2 10 comments last on Mar 10, 2018 ━ started by leftside

How do you know if the Windows-distro zip file is up to date?

File hash comparison manually after download ? Will they indicate any official release for win?
^1 ^2 2 comments last on Mar 10, 2018 ━ started by leftside

ZeroWiki improvements wishlist

List things you'd like to improve on ZeroMe one by one and vote for others' ideas. I'll start: Tables and syntax highlighting in code blocks would be awesome. Also being able to embed videos would be great. What do you want to see?
^4 ^5 9 comments last on Mar 07, 2018 ━ started by zerolstnmobile

ZeroBlog improvements wishlist

List things you'd like to improve on ZeroBlog one by one and vote for others' ideas.
^1 ^2 11 comments last on Mar 03, 2018 ━ started by mnemonic

ZeroTalk improvements wishlist

List things you'd like to improve on ZeroTalk one by one and vote for others' ideas.
^1 ^2 11 comments last on Mar 01, 2018 ━ started by mnemonic

a clone of zerosite does it work?
^1 ^2 1 comment last on Feb 26, 2018 ━ started by coolplay

App ideas list

Post each app idea as a separate reply and let's upvote the ones we want to see built.
^6 ^7 35 comments last on Feb 22, 2018 ━ started by mnemonic

Nullpointer's Dev Blog - Code resource for Java developers

Hey all, I've started a zite aimed at Java game programmers. The key aspect of the zite is to act as support and provides explanations on various topics such as graphics rendering, game loops, the math behind 3D perspective and much more. All articles have some source code downloadable(actually just a copy from disc) as a link. I may be adding different programming languages in the future, most notably c++. But it'll all be Java for now, since that's the language I've been working with for the past 5 years. address: PS: English isn't my first language, so bear with me as I improve the readability over time.
^3 ^4 5 comments last on Feb 10, 2018 ━ started by nullpointer


Let this be a discussion topic for Kiwipedia. [Git Center](/13c2MpR9ztCzVm7r8cTfV9h9FFEEiQ6AKD) [GitHub](https://github.com/imachug/Kiwipedia) Kiwipedia will have an ability to import articles from wikipedia.org and to create local articles.
^7 ^8 21 comments last on Feb 06, 2018 ━ started by gitcenter

Test ZeroHive (reddit like ZeroTalk fork) with me

Hey guys, can I get you to check out the reddit fork I am building? I'd like to get your feedback, start playing with it and prioritize features.
^4 ^5 42 comments last on Jan 28, 2018 ━ started by mnemonic

Webextension for browsers

I've created webextension for browsers to make using zeronet easier. It will start Zeronet once you visit ZN url. Here is initial but working version. Any feedback and comments is appreciated.
^4 ^5 4 comments last on Jan 27, 2018 ━ started by krzysztof113

Generating a vanity address for a zite

Hi, I just used [vanity](https://github.com/samr7/vanitygen) to create a public and private key pair. 1) Generated the key pair 2) Created directory with vanity address 3) Cloned ZeroTalk fork in 4) Changed the `address` field in `content.json` 5) ... ? Now there are bunch of things in `content.json` and I am wondering what to do next. Can you help me out please?
^3 ^4 3 comments last on Jan 27, 2018 ━ started by mnemonic

How to compile the Coffeescript files?

There is `js/all.js` that seems to be containing `js/utils/*.js` and `js/**/*.coffee` so I need to compile and concat those. How is this not documented on each project? Is ZN compiling it for me or something? (it doesn't seem to be though)
^2 ^3 4 comments last on Jan 27, 2018 ━ started by mnemonic

ZeroMe improvements wishlsit

List things you'd like to improve on ZeroMe one by one and vote for others' ideas.
^1 ^2 6 comments last on Jan 26, 2018 ━ started by mnemonic

How to go about importing RSS of mp3s if I wanted to make a podcast app?

Can this even be done on client side?
^1 ^2 1 comment last on Jan 23, 2018 ━ started by mnemonic

Zeronet app templates

Up for grabs for a designer. I think it would be nice if there were some templates that look consistent with zeronet that we can use. That way, even a new app can have a nice looking design, which leaves more time to play with the actual functionality and makes zeronet look better.
^3 ^4 1 comment last on Jan 23, 2018 ━ started by mnemonic


Follow in NewsfeedFollowing


^? ^0 username posted added
Please sign innew comment
Sign in as...
Submit comment
You are running out of your allowed space, please contact the site's admin at unknown to raise your limit.
user_nameadded ^1 ^2
More comments
This page is a snapshot of ZeroNet. Start your own ZeroNet for complete experience. Learn More