Embedded comments for http://www.kajmagnus.blog/new-embedded-comments/
Comments for: http://www.kajmagnus.blog/new-embedded-comments/
- TDavid @techstacker
This comment system is so well done, right up there with Medium’s. Love that you can even use HTML for formatting!
Definitely going to try to implement this in my Gatsby project.
Thank you, Kaj!
- K@KajMagnus
Ok :- ) You're on Gatsby 1, or Gatsby 2? The Gatsby plugin is for Gatsby 1 — haven't had time to look into Gatsby 2 yet. Where's your blog b.t.w., if I may ask? would be interesting to have a look
- TDavid @techstacker
I actually just tested your plugin on Gatsby 2, and it works, right out of the box! So either that means that your plugin is highly compatible, or Gatsby is — or both :-)
As for my use cases for your Talkyard plugin: I'm working on two projects, one is my blog techstacker.com, which I strongly consider moving to Gatsby.
The other project is a Food Network app which needs to be highly scalable. Your Talkyard plugin would be excellent for it as far as the UX, but I'm a bit in limbo about using Gatsby for a site that might grow huge and fast — I think Nextjs might be a better fit for that one. But then again, the Gatsby team seems to be keen on improving scalability moving forward, so I'm not sure.
What's your opinion about Nextjs, any thoughts of making your plugin compatible there as well? :)
Once again, Talkyard is incredible, the more I use it the more I like it. Keep up the great work!
- K@KajMagnus
Ok thanks, and thanks for the info about Gatsby 2, I'll add a note in the readme that someone has tested with G 2 and it worked :- )
Thanks for the link to the blog, ... interesting article about website vs web app. People often ask if I build a homepage, or a website, or an app, and ... I've started saying, nowadays, that I build a "discussion tool". Hmm, "platform" is another good word yes.
About Nextjs: I actually looked into Nextjs recently, having in mind to create an embedded comments plugin for Nextjs. I didn't find any quick-and-simple Nextjs getting started instructions with beautiful blog themes though, so I didn't continue building a plugin, at that time.
Not sure if it's possible to build a plugin for Nextjs? I got the impression that everyone seems to build their own website more or less from the ground and up, in Nextjs? And if everyone does things in his/her own way, ... would a plugin I created then work for everyone, or for just me, I was wondering. (Any thoughts about this?)
- TDavid @techstacker
Thank you for reading my article! Yeah I've gotten a good response on using “platform” as a way of simplifying the tech language :-)
click to show
- In reply toKajMagnus⬆:DComment pending approval, posted 2023-08-26 03:06:19.361Z.
- K@KajMagnus
This is also just a reply, with some minor improvements, namely, it includes a dot. And ends with a question mark — don't you like question marks?
- BComment pending approval, posted 2023-01-12 18:16:17.141Z.
- In reply totechstacker⬆:FComment pending approval, posted 2022-07-18 15:06:43.282Z.
- K
- K@KajMagnus
Gmail, FB, Twitter, LinkedIn, GitHub supported currently. At the end of this week I have in mind to test deploy a bit OIDC support — and a bit later, custom OAuth2 providers will also be supported (as long as they're not too different from OIDC).
What OAuth provider do you have in mind? (OAuth2, right? Not OAuth1?)
You're looking for Single Sign-On for a blog? (Or newspaper? source code docs?)
Or do you want to combine OAuth with other ways to sign up, too?(Looking at your
@username
it seems you're in / from Sweden? Me too :- ))We are gonna use a Customer Data Platform to manage registered users / subscribers. And that platform needs to speak/integrate with Talkyard, which I think it can do through OAuth.
Sorry, I am not the tech-expert on this, but if you refer me to any of your articles on this subject I can let a developer have a look and maybe get back with some questions.(om du vill kan vi höras per email/telefon; jag skulle tro att du är bekant med sajten det handlar om)
- K@KajMagnus
I'll send you an email.
I think if you say to a developer that I wonder if the site uses OIDC (OpenID Connect), maybe Keycloak or Microsoft Azure AD, or a custom OAuth2 implementation, then s/he will know what it is about, or s/he can websearch for the words and find out.
Another way to integrate with Talkyard is via API and an API secret — one can combine both API (for e.g. upserting contents) and OAuth (for singing in).
- In reply toKajMagnus⬆:AComment pending approval, posted 2021-01-24 18:45:42.031Z.
- I
- BBernard @bernard
Trying to comment and curious about where Talkyard will position my comment. Also I'm wondering what's the formula for ordering.
Bernard
- K@KajMagnus
Hi Bernard, the comments are sorted by like votes, and also taking into account how many people actually read the comment. (There are Disagree votes too — but they won't move a comment downwards.)
- In reply toios⬆:K@KajMagnus
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Android phone is the other than the other than the way to the other than the other day perhaps we would like the other than the other than yes that's what I have to say.
- K@KajMagnus
Lorem ipsum dolor sit amet Lorem ipsum dolor sit amet.
- F@Feuerfuchs
Test reply.
- GGlen @glen
Test reply 3
- LLogan Abbott @loganabbott
Test reply 4
- K@KajMagnus
I hope the test worked out okay (?). Note that you can click the arrows, to jump to the parent comment. ... Then there'll be a Back button, so you can jump back to the comment you were reading previously. — If you have any ideas about things to change or improve, or sth else whatever, feel free to create a topic here: https://www.talkyard.io/forum/latest/support
- GAlexander Grafov @grafov
just for test
The last word above should be striked through, it seems MD formatting not fully supported yet. Ok, noted.- K@KajMagnus
Talkyard uses Commonmark, which doesn't currently support
~~strikeout~~
(unless one uses some Commonmark plugin for that).Here's a discussion about adding strikeout: https://talk.commonmark.org/t/strikeout-threw-out-strikethrough-strikes-out-throughout/820/33
Codinghorror (Jeff Atwood) thinks people can use<s>
instead. Hmm I don't know. Maybe I should add a~~
plugin
- CIn reply tosystem⬆:chopper
I prefer to comment when it is completely anonymous. I still curious whether I'll be able to edit my anonymous post.
Yes, editing your own anon comment is possible. That's good. And where do I find system requirements? Will it feel OK with 512MB RAM on a cloud server?
- Hhesamkaveh @hesamkaveh
replying!
- In reply tochopper⬆:K@KajMagnus
System requirements and installation instructions: https://github.com/debiki/talkyard-prod-one. Here's Talkyard's blog comments homepage, there's SaaS hosting also: https://www.talkyard.io/blog-comments. If you want to get started quickly without installing, and then later on export comments to your own server, maybe that's something to consider.
About RAM and a cloud server: Ubuntu and 2 GB RAM currently (that's $10/mo at Vultr or DigitalOcean, Linode etc) — that's because there're 2 JVMs, one for the app server, and one for ElasticSearch. I'd like to tweak the JVM settings so that only 1 GB is needed.
- Hhesamkaveh @hesamkaveh
ok
- Hhesamkaveh @hesamkaveh
dd
- K@KajMagnus
I like that song (Where the streets have no names).
- G2Comment pending approval, posted 2022-03-14 14:03:54.392Z.
- W2
- PPerger Balázs @pero
teszt
- 7епта @7aaa7
тест
preformatted text
bold text emphasized тестpreformatted teст
- SIn reply tosystem⬆:Dmitry @spiridonov
Take a look at the icon=)
- K@KajMagnus
Hi Dmitry, nice that you found this blog post and thanks for trying this out :- ) ok yes I see the icon is cropped, 1 pixel is missing at the very left, thanks for mentioning this. ... It's because I set position
left: -1
in order to make the letter-circles appear more vertically aligned with the horizontal bar above (the one with the text "X replies"). I've since removedleft: -1
, but haven't deployed the changes to the server yet.
- LIn reply tosystem⬆:Tobias @Labir
Tjenare Magnus, häftigt att få ta del. Du talade om detta redan på Tific...
- K@KajMagnus
Hej Tobias! Kul att höra av från dig :- ) Ja detta är faktiskt samma datorprogram, som det jag började bygga på Tific. Dock, de första åren byggde jag något som ingen var intresserad av (jag fokuserade på en layout i ett 2D-träd och horisontell scrollning). Till slut gav jag upp, och hittade ett jobb igen. I Oslo :- ) Nu bor jag i Stockholm dock. Sänder dig ett meddelande på Facebook :- )
Talkyard ser väldig bra ut om jag ska vara ärlig. Material design och rent av stiligt.
Själv har jag varit en del av Flarum communityn och översatt deras forum till svenska m.m.
Jag hade gärna velat välja Talkyard som forum för den sida jag håller på med men märkte väldigt snabbt att installationen till localhost för test eller till sida (köpt av one.com och godaddy) är överdrivet krånglig och tidskrävande i jämförelse med andra forum.
Är detta något ni kommer satsa på att göra betydligt enklare i framtiden? Finns forumet även i andra språk, t.ex svenska?
Har läst igenom er sida men hittar ingen community där man kan komma med förslag eller få hjälp.
Vore bra om det var lite tydligare. Och text-format delen är väldigt limiterad, försökte skriva in en if-sats och se om man kunde få texten att se mer tydlgare ut för kod än text men det gick inte.- K@KajMagnus
Hej DMT! Okej kul att du gillar hur Talkyard ser ut :- ) Vad ska ditt forum handla om?
Intressant att installationen är krånglig. Är det något särskilt steg du tänker på, eller helt enkelt att det är många olika steg?
Jag skulle gärna förenkla installationen. Någon har föreslagit ett skript som automatiskt installear Docker, konfigurerar Ubuntu och allting, så man inte behöver köra flera små-skript själv. Då kanske de typ 10 stegen kan kortas ner till bara 5 steg. Fast detta kommer nog dröja ett tag. Jag är rädd att skriptet själv skulle innehålla någon bugg, och fler abstraktionslager —> svårare att felsöka :- /
Talkyard är just nu bara på Engelska. Någon gång längre fram ska jag lägga till stöd för fler språk.
Ang. community: Jag såg att du postade i https://www.talkyard.io/forum/latest — ok, så du hittade rätt plats till slut :- )
Hur gjorde du när du skrev if-satsen? Takyard använder Commonmark, http://commonmark.org. Man kan indentera 4 spaces, eller skriva tre backquotes i rad: ``` före och efter kod-snutten, så blir det monospace-källkods-formattering. Exempel:
if (itRainsOutside) { stayHomeFromWork() }
- GIn reply tosystem⬆:Alexander Grafov @grafov
It looks promising. Could it use another authorization scheme not only Github?
- K@KajMagnus
Gmail, Facebook, Twitter and Github signup & login are supported right now. If I've written somewhere that only GitHub is supported, plz tell me and I can edit & fix that :- ) (or did you have something else in mind? with authorization scheme?)
- T
- Ttoto @toto
Why is my post in the middle ... between 2 olds posts ???
- K@KajMagnus
That's because I Bury-voted the posts below, because the're test comments — so they get moved to the bottom of the page.
Whilst your comment says something meaningful (it asks about its placement).
The blog author can use hidden Bury votes, to move "Thanks" and "Me too" like comments, downwards, so that the readers will see the more interesting and meaningful comments instead. Whilst the people who posted those "Thanks" and "Me too" etc comments, won't see that there's a Bury vote, so they won't feel sad about that. Nothing wrong with saying "Thanks" or posting test comments here — and at the same time, not so interesting for others to read. :- ) (There're Like votes too but ... maybe one don't want to Like vote everything.)
- T
- K@KajMagnus
Did it work? B.t.w. where are you located (in which country) if I may ask?
- TThyrixYang @ThyrixYang
worked just fine. I'm in China, so disqus is not available.
- K@KajMagnus
Oh, that's interesting, I didn't know Disqus isn't accessible from China.
if you have time, I'm curious about how you found Talkyard and ... if you have a blog and what is it about?
- TThyrixYang @ThyrixYang
If talkyard is as popular as disqus, I believe it will be blocked as well. Lol.
- K@KajMagnus
Yes that's what I started thinking as well. Ok, interesting to hear about via-Hugo and machine learning :- )
- In reply toKajMagnus⬆:TThyrixYang @ThyrixYang
I found talkyard in Hugo document. I plan to build a blog on machine learning research.
- BIn reply tosystem⬆:@brycewray
Magnus, replying via macOS Safari and my GitHub login as per your request to see if I could log in. Looks like your solution works.