News for hackers. Stuff that matters.
Re:Wiki.js by Keyframe on Tuesday July 21, 2020 @04:16AM (#23905191)
I need one function in a wiki platform that I haven't seen so far. When I write text, in its WYSIWYG editor, I need an ability to paste in an image (a screenshot that I just grabbed, let's say) and for it to automatically upload it and embed it into text. Does this support something like that?
Re:Wiki.js by therein on Tuesday July 21, 2020 @04:43AM (#23905294)
Just tested it for you.

It seems like they actually support it in Wiki.js however it requires you to first click "insert assets" and once that modal displays [0], you can actually paste into the page and it will be uploaded.

Not too different than JIRA really. But I feel like this feature would be improved if pasting into the editor itself yielded the same result.

[0] https://i.imgur.com/o04m6on.png

Re:Wiki.js by buovjaga on Tuesday July 21, 2020 @04:49AM (#23905327)
MediaWiki VisualEditor supports it: https://www.mediawiki.org/wiki/Help:VisualEditor/User_guide#...

"You can upload images from a tab in the media dialog, or by dragging and dropping a file into the editor, or by pasting an image from your clipboard. [...] The image will be inserted into the page when you are done."

Re:Wiki.js by kemayo on Tuesday July 21, 2020 @10:55AM (#23907291)
Now, it is fair to complain that VisualEditor is difficult to get running on your own local Mediawiki instance, as it requires the suite of local node.js microservers (RestBase and Parsoid) that aren't part of the core PHP platform.

That said, this is about to change! The upcoming Mediawiki 1.35 is supposed to move Parsoid into core PHP, and so VisualEditor is going to become a lot more default-accessible. :D

Re:Wiki.js by reacharavindh on Tuesday July 21, 2020 @04:23AM (#23905219)
This. Thousand times this.

I have been waiting for an online wiki with the usability of Apple Notes that I use locally on all my Apple devices. It works like a charm except that I cannot make it public.

This is why I often take notes rather than write blog posts on my website. If the wiki software was as easy drag and drop as Apple Notes, I’d just take notes and they turn into publicly available wikis!

I am yet to find that tool. I would happily pay for such a tool with one braking condition that it must be self-hostable. I will not write my content into something like Medium or Notion where I don’t own my content.

Re:Wiki.js by jve on Tuesday July 21, 2020 @04:46AM (#23905309)
Re:Wiki.js by kontxt on Tuesday July 21, 2020 @02:52PM (#23909668)
Kontxt (https://kontxt.io) lets you write inline highlights, comments, polls, etc, on digital content with permission based sharing. You can share full articles with your responses on it (example: https://www.kontxt.io/proxy/https://www.independent.co.uk/li...) or a summary view (example: https://www.kontxt.io/document/d/CChEtxTRf9lt3IZhuTSw1zES8Dg...). Soon we'll add a WYSIWYG editor that you can write your own content and references content from other annotated sources.

Is this the type of functionality you're looking for if it could be self-hosted? How much would you be willing to pay for such a tool?

Re:Wiki.js by snickmy on Tuesday July 21, 2020 @04:38AM (#23905268)
This is technically feasible. The latest html5 api (quite well adopted) allow copy paste from the OS and drag and drop. There is quite a bit of server side / javascript to implement, but it is feasible.
Re:Wiki.js by motiejus on Tuesday July 21, 2020 @02:04PM (#23909205)
I will announce something like this soon:

- ui: joplin. - agpl, fully self-hostable. - you own your content (because joplin). - choose among free templates, or create your own. - templates will be similar or compatible to hugo, still tbd.

Optional for paying customers:

- sync via webdav to my service. - custom domain. - backups, etc.

Once this starts generating money, I am planning to spend some of it to fund e2e per-folder encryption in joplin.

Re:Wiki.js by winton on Tuesday July 21, 2020 @01:33PM (#23908877)
Though its more of a building block, Editor.js supports this: https://editorjs.io
Re:Wiki.js by dalf on Tuesday July 21, 2020 @08:25AM (#23906291)
XWiki:

* CKEditor: https://extensions.xwiki.org/xwiki/bin/view/Extension/CKEdit...

* Syntax: https://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide...

Actually any wiki pages can define a Class and how to display this class and / or instances of a Class:

* https://www.xwiki.org/xwiki/bin/view/Documentation/DevGuide/...

* https://extensions.xwiki.org/xwiki/bin/view/Extension/App%20...

The Script Macro is useful to make some dashboards ( https://extensions.xwiki.org/xwiki/bin/view/Extension/Script... )

I've deployed this for the internal documentation inside a company I worked for (MediaWiki was a no-go even with a visual editor).

For each new feature, I was developing inside a clean new wiki, than I exported the changes once I was sure everything was okay. It is way more easy then to upgrade to the new XWiki version.

Re:Wiki.js by tommoor on Tuesday July 21, 2020 @12:02PM (#23907953)
Outline (https://www.getoutline.com) supports this functionality.
Re:Wiki.js by httgp on Tuesday July 21, 2020 @12:43PM (#23908380)
Oh wow, this looks great! I was pleasantly surprised that this is open-source and can be swift-hosted too.
Re:Wiki.js by quanticle on Thursday July 23, 2020 @11:04AM (#23928071)
Note that Outline's definition of "open source" diverges quite a bit from the one that most people have in mind when they hear the words "open source".

From the text of Outline's license [1]:

    Notice

    The Business Source License (this document, or the “License”) is not an Open
    Source license. However, the Licensed Work will eventually be made available
    under an Open Source License, as stated in this License.
I think it is more accurate to say that Outline will be open source, rather than Outline is Open Source.

[1]: https://raw.githubusercontent.com/outline/outline/develop/LI...

Re:Wiki.js by hombre_fatal on Tuesday July 21, 2020 @04:49AM (#23905329)
Since you can write arbitrary JS in extensions, no reason why that couldn't be implemented by a library.

Since I just got into MediaWiki and write my first extension (finally a dark-mode that works), I'll see if this can be implemented. Perhaps with https://www.mediawiki.org/wiki/API:Upload.

Re:Wiki.js by hombre_fatal on Tuesday July 21, 2020 @09:36AM (#23906673)
Oh, it does work for MediaWiki, you just need the "Add Image" widget open in the editor.
Re:Wiki.js by Dennip on Tuesday July 21, 2020 @05:51AM (#23905610)
Confluence supports this, although its not free!
Re:Wiki.js by r0rshrk on Wednesday July 22, 2020 @01:47AM (#23914275)
Not sure if relevant, but Notion does support this feature.