Thread overview | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
March 14, 2017 Introducing Diskuto - an embeddable comment system | ||||
---|---|---|---|---|
| ||||
So I was able to reserve the last two days to work on something new, and one thing that is currently rather lacking in the D/vibe.d web ecosystem is embedded commenting, be it for vibe.d's own blog engine [1]/[2] or for the DDOX based standard library documentation [3]. So I went ahead and created a little comment engine inspired by Disqus and Isso: https://github.com/rejectedsoftware/diskuto (screenshot inside) https://code.dlang.org/packages/diskuto It has a similar tree based structure with user voting, doesn't require registration and a basic set of functionality works without JavaScript support. Currently the only backend supported is MongoDB, but adding more is rather simple. Using NNTP as the target, as was discussed a few times in the past, is slightly tricky because editing and comment deletion needs to be supported. However, there is a limited time frame for those operations, so afterwards messages could be mirrored to a newsgroup safely (the other way around would of course always work). Any comments suggestions and especially helping hands are highly appreciated! [1]: https://github.com/rejectedsoftware/vibenews [2]: https://vibed.org/blog/ [3]: https://dlang.org/library/ |
March 14, 2017 Re: Introducing Diskuto - an embeddable comment system | ||||
---|---|---|---|---|
| ||||
Posted in reply to Sönke Ludwig | Am 14.03.2017 um 12:17 schrieb Sönke Ludwig: > So I was able to reserve the last two days to work on something new, and > one thing that is currently rather lacking in the D/vibe.d web ecosystem > is embedded commenting, be it for vibe.d's own blog engine [1]/[2] or > for the DDOX based standard library documentation [3]. So I went ahead > and created a little comment engine inspired by Disqus and Isso: > > https://github.com/rejectedsoftware/diskuto (screenshot inside) > https://code.dlang.org/packages/diskuto > > It has a similar tree based structure with user voting, doesn't require > registration and a basic set of functionality works without JavaScript > support. > > Currently the only backend supported is MongoDB, but adding more is > rather simple. Using NNTP as the target, as was discussed a few times in > the past, is slightly tricky because editing and comment deletion needs > to be supported. However, there is a limited time frame for those > operations, so afterwards messages could be mirrored to a newsgroup > safely (the other way around would of course always work). > > Any comments suggestions and especially helping hands are highly > appreciated! > > [1]: https://github.com/rejectedsoftware/vibenews > [2]: https://vibed.org/blog/ > [3]: https://dlang.org/library/ Started a temporary instance for hands-on testing: http://rejectedsoftware.com:10888/ |
March 14, 2017 Re: Introducing Diskuto - an embeddable comment system | ||||
---|---|---|---|---|
| ||||
Posted in reply to Sönke Ludwig | > Started a temporary instance for hands-on testing:
> http://rejectedsoftware.com:10888/
Updated I see ;)
|
March 14, 2017 Re: Introducing Diskuto - an embeddable comment system | ||||
---|---|---|---|---|
| ||||
Posted in reply to Faux Amis | Am 14.03.2017 um 14:48 schrieb Faux Amis:
>> Started a temporary instance for hands-on testing:
>> http://rejectedsoftware.com:10888/
>
> Updated I see ;)
Yeah, still tweaking a few things here and there. Very helpful to have people try out weird things ;) I'm just not sure how well that will work after someone posts this to Reddit.
|
March 14, 2017 Re: Introducing Diskuto - an embeddable comment system | ||||
---|---|---|---|---|
| ||||
Posted in reply to Sönke Ludwig | On Tuesday, 14 March 2017 at 11:17:57 UTC, Sönke Ludwig wrote:
> So I was able to reserve the last two days to work on something new, and one thing that is currently rather lacking in the D/vibe.d web ecosystem is embedded commenting, be it for vibe.d's own blog engine [1]/[2] or for the DDOX based standard library documentation [3]. So I went ahead and created a little comment engine inspired by Disqus and Isso:
>
> [...]
How deep (levels) can it handle sub comments?
|
March 14, 2017 Re: Introducing Diskuto - an embeddable comment system | ||||
---|---|---|---|---|
| ||||
Posted in reply to Sönke Ludwig | On Tuesday, 14 March 2017 at 14:26:35 UTC, Sönke Ludwig wrote:
> Yeah, still tweaking a few things here and there. Very helpful to have people try out weird things ;) I'm just not sure how well that will work after someone posts this to Reddit.
My comment is most upvoted. Where can I get my medal?
(Just runned a script, which makes POST requests to diskuto/up with id=<your comment id>)
|
March 14, 2017 Re: Introducing Diskuto - an embeddable comment system | ||||
---|---|---|---|---|
| ||||
Posted in reply to Azbuka | Dne 14.3.2017 v 20:17 Azbuka via Digitalmars-d-announce napsal(a):
> On Tuesday, 14 March 2017 at 14:26:35 UTC, Sönke Ludwig wrote:
>> Yeah, still tweaking a few things here and there. Very helpful to have people try out weird things ;) I'm just not sure how well that will work after someone posts this to Reddit.
>
> My comment is most upvoted. Where can I get my medal?
> (Just runned a script, which makes POST requests to diskuto/up with id=<your comment id>)
Sorry but I do not see it. Which one?
|
March 14, 2017 Re: Introducing Diskuto - an embeddable comment system | ||||
---|---|---|---|---|
| ||||
Posted in reply to Daniel Kozak | On Tuesday, 14 March 2017 at 19:39:08 UTC, Daniel Kozak wrote:
> Sorry but I do not see it. Which one?
Looks like it have been deleted. Okay, 2k upvotes is too much. I'll make it 100.
|
March 14, 2017 Re: Introducing Diskuto - an embeddable comment system | ||||
---|---|---|---|---|
| ||||
Posted in reply to Azbuka | Dne 14.3.2017 v 20:54 Azbuka via Digitalmars-d-announce napsal(a):
> On Tuesday, 14 March 2017 at 19:39:08 UTC, Daniel Kozak wrote:
>
>> Sorry but I do not see it. Which one?
>
> Looks like it have been deleted. Okay, 2k upvotes is too much. I'll make it 100.
>
Deleted :D
|
March 14, 2017 Re: Introducing Diskuto - an embeddable comment system | ||||
---|---|---|---|---|
| ||||
Posted in reply to Azbuka | Dne 14.3.2017 v 20:54 Azbuka via Digitalmars-d-announce napsal(a): > On Tuesday, 14 March 2017 at 19:39:08 UTC, Daniel Kozak wrote: > >> Sorry but I do not see it. Which one? > > Looks like it have been deleted. Okay, 2k upvotes is too much. I'll make it 100. > curl 'http://rejectedsoftware.com:10888/diskuto/delete' -H 'Origin: http://rejectedsoftware.com:10888' -H 'Accept-Encoding: gzip, deflate' -H 'Accept-Language: cs-CZ,cs;q=0.8' -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36 OPR/43.0.2442.1144' -H 'Content-type: application/json' -H 'Accept: */*' -H 'Referer: http://rejectedsoftware.com:10888/' -H 'Cookie: vibe.session_id=QVwY1IGbGeELZw0v77w74RdDbQOKTheyQx8gi3HAQOWi6PTEQoRAxbUWUFmmLNq95FE5nyZ1Og47SCeu5v6oog' -H 'Connection: keep-alive' --data-binary '{"id":"xxxxxxxxxxxxxxxxxxxxxxxx"}' --compressed |
Copyright © 1999-2021 by the D Language Foundation