hellozeronet / zeroblog Goto Github PK
View Code? Open in Web Editor NEWDemo for decentralized, self publishing blogging platform.
License: GNU General Public License v2.0
Demo for decentralized, self publishing blogging platform.
License: GNU General Public License v2.0
Please integrate GrapesJS into ZeroBlog if it's possible. https://github.com/artf/grapesjs
Hi,
Is it possible to add a function to easily edit the main icon/picture of a ZeroBlog (in top left of the screen) ?
Is it possible to add some feauters to make zeroblog engine looks like imageboard (with some deal with config maybe, to hold other main functionality):
Hello, i was thinking if this feature can be created.
Zeroblog will parse the export file like Wordpress (most popular clearnet blogging content management system) .xml or .sql database file itself to import the clearnet blog contents into zeroblog
Here also is the feature described in detail. Thank you
Should this be converted to use maquette like ZeroMail?
For some reason, the same count shows differently on different peers/browers:
USED: 3.0K/15K
USED: 2.5k/15k
USED: 2.9k/15k
Messages are displayed exactly the same way, but sizes differ, which is weird.
My router using UPnP,over the same WIFI, I can write blog and upload successfully,but it doesn't work on Mac
Your instructions ask to clone the 1BLog... site. But users should be able to install from git too, because that's how software is usually installed. There are also problems in instructions like there is no file default.json-default that instructions mention.
I am trying to write a script to clone from git, but it fails for unclear reason. zeronet siteSign skips data/users/content.json for some reason.
cd data/{your-new-site}
git clone https://github.com/HelloZeroNet/ZeroBlog.git &&
mv ZeroBlog/* . &&
rm -rf ZeroBlog &&
mv data-default data &&
mv data/users/content-default.json data/users/content.json
perl -pi -e "s/1BLogC9LN4oPDcruNz3qo1ysa133E9AGg8/`pwd | sed -e 's/.*\///g'`/g" content.json &&
perl -pi -e "s/\"domain.*//g" content.json &&
perl -pi -e "s/\"files\": \{\},/\"files\": {}, \"inner_path\": \"data\/users\/content.json\",/g" data/users/content.json
I think you need to make instructions to create a new blog easier, and they should start from "git clone". It is best to have a script cloning the github repository. You probably also want to remove "domain": "Blog.ZeroNetwork.bit" from contents.json because only you own it, and most people probably will not register a domain.
I created the site siteCreate
I saved public and private key => yes
I copied all data of 1Blog... to my new site's data/1vkxtW1mwAKdkZFjQsb1oVmdrqLWJDRQp
I copied data/1vkxtW1mwAKdkZFjQsb1oVmdrqLWJDRQp/data-default.json to data.json
I changed within data.json my site's title and description, edit even the first blog post there
I added the site to data/sites.json as:
"1vkxtW1mwAKdkZFjQsb1oVmdrqLWJDRQp": {
"auth_key": "xxxxxx",
"own": true,
"permissions": [],
"serving": true,
"wrapper_key": "xxxxx"
},
I signed it again
I started ZeroNet and see the newly blog.
I add a new blog entry and edit (click on the special sign) the headline. I save it! (right lower corner of the screen (did not find that before)
The file data.json got the new blog entry!
Hmm, and HOW can I change the Blog post body???
There needs to be an easier way to combat spam from the perspective of the site owner. The possibility of a site owner being able to hover over a link (next to the "reply" link) that only shows up to the site owner that says "Moderate" that either deletes the comment or hides the comment from displaying.
edit post time, save, edit the same post time again, now, you can find it change to Date
Put under a Free Software license / State a license
Following my recent issue with the nonce error, I tried loading MathJax from a CDN instead of having it in the directory locally. Good news: I do not get that "forbidden nonce" error anymore: Bad news: I have to refresh the site about a dozen times to occasionally see the effects of MathJax. Most of the time the blog displays the ugly commands instead of transforming them into mathematical symbols.
I get "\frac{dx}{dt}" instead of the symbols.
Furthermore it seems that the blog likes to eat the markdown signs. Instead of ##Headline2 I will sometimes have #Headline2 but sometimes the Headline2 is still in its original size as it should be, not as Headline1 as one would expect.
Could those two issues be related? The engines eats format commands and MathJax then finds nothing to layout correctly?
There are always new users popping up, who seem to have problems figuring out how to edit and delete posts in ZeroTalk and ZeroBlog. Many people probably don't even know they have the ability to do that. So, maybe it would be a good idea, to always show the pencil icon (not only on mouse hover).
Please integrate grapesjs into Zeroblog. https://github.com/artf/grapesjs
Please add Drag and Drop features to ZeroBlog like this site has http://sitebuilder.simplereg.com/en/brand/1421/ for non-coders. Maybe you can add two buttons to the pull out side panel that switches the panel from a peers mode to a edit mode like this example picture.
i see that the interface supports few languages but there is no way per blog post to set locale is such a feature planed ?
This happens on all the posts already created for which I try to comment on.
Any idea why that happens?
Not happening on new posts... Which are under the Include too large 10000B limit.
How to raise it?
Upgraded ZeroBlog code. Still not working
127.0.0.1:43110/1DMb3CV66qZPwJqkgm4z12nu8BrAwDoD4g/
Got this persistent issue today. I click on the "switch to markdown" button on the right side while editing a blog post and the above mentioned site and error pops up.
Full disclosure: I am currently trying (and failing) to get MathJax to interpret some formulas in the post. Installation is local, however because of the huge size of MathJax I had to set the size limit quite high, maybe this influences this error.
Hello,
can You please add search field into ZeroBlog. I think it can greatly increase usefulness of the whole product
Similar requests:
http://127.0.0.1:43110/Talk.ZeroNetwork.bit/?Topic:1514127848_1L4dZcDF2maSKHDy788yhxpYnBWnXadUtS
One can currently search in connected sites via ZeroHello (there is a search field), but more handy for noobs might be direct search on a site one is at.
In order to save sidebar estate I put a link title in the markup of the sidebar links:
- [[email protected]](/mail.zeronetwork.bit/?to=example "Drop me a line")
But that rendered the blog almost useless to me: While I could still post comments, I couldn't add new post, nor could I edit existing posts.
The browser's debug console said (I'm paraphrasing here): “all.js: unexpected token: D”
When I removed the link titles, everything went back to normal.
It is worth noticing that using link titles in the body text of blog entries works like expected.
In the index.html file there is a small documentation of the markdown.
Is that everything there is, or is there some way of inserting a table?
I would like this post
http://127.0.0.1:43110/ulrichard.bit
to look like this post
https://ulrichard.ch/blog/?p=2105
Hello,
i am missing ability to follow certain blog post comments.
If i understand right, i can follow comments to all posts and or follow only if someone mention me in comment.
But this seems not to be enough, because following all posts comments is too broad and mentions only is too risky to miss the reactions on ones coment, because some people do not use @username in their responses.
Please consider
A) implementing follow/subscribe button to particular blog posts.
B) auto subscribe the user to the post comments when he comment the post
Was hoping to get dynamic favicon files served by the UiServer. I've created a tentative commit but am not sure I'm using the right approach.
I've removed the lines where UiRequest
blindly serves the standard ZeroNet favicon and added an attempt to retrieve the favicon from content.json.
I've also changed the wrapper template to take a favicon variable and add the appropriate header link
tag.
I would appreciate it if you could look it over, critique it, and (if acceptable) I'll create the PR for it.
If you try to delete post with uploaded images, ZeroBlog will delete the post but not the images.
Currently only "Latest comments" is shown.
I'd like a TOC (mini list of articles I wrote already) displayed in my blog (1).
I don't want readers to first scroll through everything, they should be at first guided by selecting the article title which sounds interesting for them.
I could create manually a TOC, but that just costs me time
(1) also a top5 commented posts view would be nice.
Let's imagine those 3 views exist (lastest comments, toc, top5): then they could be shown at first just with 1 line, and - on click - enlarged, showing their content.
user story:
I have just banned a user from my blog
he posted first elsewhere several times his love for the 4-letter word starting with f and ending with uck
but: I can not delete his comment in the blog now
I'm trying to convert WordPress to ZeroNet, https://github.com/cxgreat2014/ZeroNet_WordPress2ZeroBlog But ZeroBlog have no tag and category to classify,I think ZeroBlog should add tag and category
Currently there is no way to for example correct a typo.
v. 0.6.0 rev3177
Windows 10
Latest FIrefox
i tried to publish comment at http://127.0.0.1:43110/zeroblog.bit, but getting errors "File write error: [object Object]". Already tried to delete site and revisit, reload page.
At other blog commenting works good.
The console shows these errors:
[17:57:35] Site:1ZeroA..D7YH data/users/1L4dZcD***/data.json fileGet error: [Errno 2] No such file or directory: u'data/1ZeroABd9***/data/users/1L4d***/data.json'
[17:57:35] Site:1ZeroA..D7YH FileWrite forbidden 1L4dZcD*** not in valid_signers [u'1ZeroABd9***']
There are numerous forks of ZeroBlog that are.
You should also add
"viewport": "width=device-width, initial-scale=0.8, user-scalable=0",
to content.json
I am tyring to get my old blog to zeroblog, wordpress export the posts on XML, here is a sample xml from wordpress:
https://pastebin.mozilla.org/8865204 (sample wp xml)
I succesfully turn it into SQlite and showed up on my Zeroblog but didnt update to the rest of the nodes. I also convert it to JSON for data/data.json
After some talks on IRC I was suggested to run dbRebuild but got this error: https://pastebin.mozilla.org/8865197
Any ideas?
Open two articles in two tabs. Edit the first article, switch to markdown mode, then also edit the second article and switch to markdown mode. Return to the first article and save, then go to the second article and hit the save button. The save process will get stuck and the content of the second article gets lost. Also the home page of ZeroBlog misfunctions and can't scroll down, and it shows that the second article has 3 comments from post 23.
Quite dangerous, reproducible with new clone of ZeroBlog.
I check the data/data.json and find that body
column is missing, if I add it back and sign the blog, the home page becomes normal again.
Tested with Tor browser.
This is the same issue that ZeroMe had:
hello guys
need suggestions on how to speed up website load time. on google speed test we have following results for my wesbite
https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fpropliners.in%2F
Reduce initial server response time
1.88 s
Remove unused JavaScript
0.75 s
Remove unused CSS
0.45 s
Defer offscreen images
0.3 s
the above mentioned are the main factor.
i am using wordpress, using autoptimize plugin but load time is still high.
I wrote a "de.json" that works well. Some arguments can not translated, because the script doesn't find, although it exists.
Also i have merged index.html, dbschema.json, js/all.js, css/all.css from the "Enhanced ZeroBlog" to the normal. So i added the tags-arguments too.
Hope it helps.
{
"Add new post": "Einen Beitrag hinzufügen",
"Follow in Newsfeed": "Abonniere diesen Blog",
"Username mentions": "Erwähnungen",
"Posts": "Beiträge",
"Post": "Beitrag",
" post(s)": " Beiträg(e)",
"0 Comments:": "0 Kommentare:",
"Comments": "Kommentare",
"Following": "Abonniert",
"Like this post": "Gefällt mir",
"Latest comments:": "Neueste Kommentare:",
"Reply": "Antworten",
"Bold": "Fett",
"Italic": "Kursiv",
"Strikethrough": "Durchgestrichen",
"Code": "Code",
"Link": "Link",
"Type or paste link here": "Tippe oder füge einen Link hier ein",
"**bold**": "**fett**",
"_italic_": "_kursiv_",
"strikethrough": "durchgestrichen",
"- Lists": "- Listen",
"1. Numbered lists": "Erste Liste",
"[Links](http://www.zeronet.io)": "[Links](http://www.zeronet.io)",
"[References][1]<br>[1]: Can be used": "[Referenz][1]<br>[1]: Kann benutzt werden",
"> Quotes": "> Ziate",
"--- Horizontal rule": "--- Horizontale Linie",
"More comments": "Mehr Kommentare...",
"Sign in as...": "Anmelden als...",
"Submit comment": "Kommentieren",
"Please sign in": "Bitte anmelden",
"new comment": "Neuer Kommentar",
"used: ": "Benutzt: ",
" minutes ago": " Minuten vergangen",
" hours ago": " Stunden vergangen",
" days ago": " Tage vergangen",
"on ": "den ",
"Just now": "Gerade",
"less than 1 min read": "Unter einer Minute zu lesen",
" min read": " Minuten zu lesen",
"tag:": "Stichwort:",
"tagged:": "Stichworte:",
"not tagged": "nicht markiert",
"TOC by date": "Sortieren nach Datum",
"TOC by tag": "Sortieren nach Stichwort",
"index by date": "Sortierung nach Datum",
"index by tag": "Sortierung nach Stichwort",
"posts of tag:": "Beiträge nach dem Stichwort: ",
"all untagged": "alle Unmarkierte",
"untagged:": "unmarkiert",
"Content changed": "Inhalt wurde verändert",
"Sign & Publish new content": "Anmelden und veröffentliche neuen Inhalt",
" Editing: ": " Bearbeiten: ",
"Save": "Speichern",
"Cancel": "Abbrechen",
"Delete ": "Lösche ",
"Prev page": "Vorherige Seite",
"Next page": "Nächste Seite",
"Not found": "Nicht gefunden",
"Content changed": "Inhalt wurde verändert",
"Are you sure you sure to delete this Post?": "Bist du sicher, diesen Beitrag zu löschen?"
}
Solution:
remove the related css code of .zoom-img
inside ZeroBlog.css
.zoom-img {
filter: none; -webkit-filter: blur(0px); -moz-filter: blur(0px); -ms-filter: blur(0px); filter:progid:DXImageTransform.Microsoft.Blur(PixelRadius='0');
backface-visibility: hidden; transform: translateZ(0); image-rendering: optimizeSpeed;
}
Currently ZeroBlog pluralizes the word “Comment” no matter what the number of comments for a given blog entry actually is. IMHO, it would look much neater if ZeroBlog took the trouble and used the word “Comment” for when there is exactly 1 comment, and “Comments” for all other cases.
SEVERITY:
I can see my comment (0) being published in UI, and I would then normally do nothing anymore,
while the guy to whom I replied would think I don't reply.
DETAILS:
noticed this here (1) first (but later I saw this also happened at other blog posts of mine):
I. I got at first a "content publish error" while posting a comment
II. but later on I retried and the UI told me publishing my comment worked
III. BUT: in the command line I see (2)
see here (3) what else I tried
This issue is ongoing since at least 15h
using ZeroNet v0.3.6 (rev1038)
(0) e.g. I see it in the comments section, the "Latest comments" section, in the newsfeed on Home
(1) http://127.0.0.1:43110/zeroblog.bit/?Post:15
(2)
07:18:55] Site:1HR2mJ..XZKV Opening site data directory: data/1HR2mJHeC1vs3XTTcX2X6BDcdRZZDNXZKV/data/users/1H8oKiRa7fGgUqS1hpUtaSYLvAqkaknbkf/...
[07:18:55] Site:1HR2mJ..XZKV - [SKIPPED] content.json
[07:18:55] Site:1HR2mJ..XZKV - data.json (SHA512: 5c2fb55a09d323bed5f18fe099dc04f8c5d15f5a06fe88e390d29d97a19e0a61)
[07:18:55] Site:1HR2mJ..XZKV Adding timestamp and sha512sums to new content.json...
[07:18:55] Site:1HR2mJ..XZKV Verifying private key...
[07:18:55] Site:1HR2mJ..XZKV Correct 1H8oKiRa7fGgUqS1hpUtaSYLvAqkaknbkf in valid signers: [u'1H8oKiRa7fGgUqS1hpUtaSYLvAqkaknbkf', u'1HR2mJHeC1vs3XTTcX2X6BDcdRZZDNXZKV']
[07:18:55] Site:1HR2mJ..XZKV Signing data/users/1H8oKiRa7fGgUqS1hpUtaSYLvAqkaknbkf/content.json...
[07:18:55] Site:1HR2mJ..XZKV Saving to data/users/1H8oKiRa7fGgUqS1hpUtaSYLvAqkaknbkf/content.json...
[07:18:55] Site:1HR2mJ..XZKV File data/users/1H8oKiRa7fGgUqS1hpUtaSYLvAqkaknbkf/content.json signed!
[07:18:55] Site:1HR2mJ..XZKV Publishing data/users/1H8oKiRa7fGgUqS1hpUtaSYLvAqkaknbkf/content.json to 5/34 peers (connected: 16)...
[07:18:55] Site:1HR2mJ..XZKV [FAILED] 213.239.217.18:15441: {'to': 48, 'cmd': 'response', 'error': 'File invalid'}
[07:18:55] Site:1HR2mJ..XZKV [FAILED] 37.228.132.110:15441: {'to': 18, 'cmd': 'response', 'error': 'File invalid'}
[07:18:55] Site:1HR2mJ..XZKV [FAILED] 24.2.184.216:15441: {'to': 62, 'cmd': 'response', 'error': 'File invalid'}
[07:18:55] Site:1HR2mJ..XZKV [FAILED] 217.157.137.157:15441: {'to': 29, 'cmd': 'response', 'error': 'File invalid'}
[07:18:56] Site:1HR2mJ..XZKV [FAILED] 45.55.182.168:15441: {'to': 38, 'cmd': 'response', 'error': 'File invalid'}
[07:18:56] Site:1HR2mJ..XZKV [FAILED] 212.83.179.85:15441: {'to': 9, 'cmd': 'response', 'error': 'File invalid'}
[07:18:56] Site:1HR2mJ..XZKV [FAILED] 181.29.187.76:15441: {'to': 23, 'cmd': 'response', 'error': 'File invalid'}
[07:18:56] Site:1HR2mJ..XZKV [FAILED] 5.101.103.222:15441: {'to': 31, 'cmd': 'response', 'error': 'File invalid'}
[07:18:56] Site:1HR2mJ..XZKV [FAILED] 5.135.85.130:15441: {'to': 61, 'cmd': 'response', 'error': 'File invalid'}
[07:18:56] Site:1HR2mJ..XZKV [FAILED] 91.121.223.191:15441: {'to': 16, 'cmd': 'response', 'error': 'File invalid'}
[07:18:56] Site:1HR2mJ..XZKV [FAILED] 188.166.24.142:15441: {'to': 15, 'cmd': 'response', 'error': 'File invalid'}
[07:18:56] Site:1HR2mJ..XZKV [FAILED] 122.128.96.4:15441: {'to': 12, 'cmd': 'response', 'error': 'File invalid'}
[07:18:57] Site:1HR2mJ..XZKV [FAILED] 74.96.117.180:15441: {'to': 17, 'cmd': 'response', 'error': 'File invalid'}
[07:18:57] Site:1HR2mJ..XZKV [OK] 5.135.85.130:15441: File update queued 1/5
[07:18:57] Site:1HR2mJ..XZKV [FAILED] 190.225.207.216:15441: {'to': 20, 'cmd': 'response', 'error': 'File invalid'}
[07:18:57] Site:1HR2mJ..XZKV [FAILED] 83.162.192.96:15441: {'to': 2, 'cmd': 'response', 'error': 'File invalid'}
[07:18:57] Site:1HR2mJ..XZKV [FAILED] 88.126.60.75:15441: {'to': 2, 'cmd': 'response', 'error': 'File invalid'}
[07:18:58] Site:1HR2mJ..XZKV [FAILED] 94.23.219.229:15441: {'to': 1, 'cmd': 'response', 'error': 'File invalid'}
[07:19:00] Site:1HR2mJ..XZKV [FAILED] 45.55.157.230:15441: {'exception': 'Timeout'}
[07:19:01] Site:1HR2mJ..XZKV [FAILED] 82.119.233.36:15441: {'exception': 'Timeout'}
[07:19:01] Site:1HR2mJ..XZKV [FAILED] 95.37.53.27:15441: {'to': 15, 'cmd': 'response', 'error': 'File invalid'}
[07:19:02] Site:1HR2mJ..XZKV [OK] 74.96.117.180:15441: File update queued 2/5
[07:19:02] Site:1HR2mJ..XZKV Successfuly data/users/1H8oKiRa7fGgUqS1hpUtaSYLvAqkaknbkf/content.json published to 2 peers, publishing to 5 more peers in the background
is there a way for a blog to have fontawesome from local in the blog ?
Probably more for the proxy project, but users can edit the site, though not sign it, and pollute the proxy.
E.g. A user repeatedly hits the "Add post" button, (as seen on (http://zero.network:43110/1Bu6sb3PYD1XzbcqqQgVw42S6C83Yzdweb at the moment).
It DOES NOT affect the ZeroNet apart from the proxy, because it isn't signed or published.
It DOES affect anyone deciding to use that proxy.
It DOES affect everyone using this blog style on that proxy.
all.js:2242 Uncaught DOMException: Failed to execute 'btoa' on 'Window': The string to be encoded contains characters outside of the Latin1 range.
at Object. (http://127.0.0.1:43110/1D6Tq62hPwnbKFEuwugGXCmsma4u9DDqKJ/js/all.js:2242:58)
at ZeroBlog.ZeroFrame.onMessage (http://127.0.0.1:43110/1D6Tq62hPwnbKFEuwugGXCmsma4u9DDqKJ/js/all.js:1273:45)
at http://127.0.0.1:43110/1D6Tq62hPwnbKFEuwugGXCmsma4u9DDqKJ/js/all.js:1237:61
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.