Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 00:02
    Nick0603 synchronize #1699
  • Jun 19 23:57
    Nick0603 opened #1699
  • Jun 16 13:27

    jackycute on dev-container

    (compare)

  • Jun 16 13:27

    jackycute on develop

    chore: add dev container Signe… Merge pull request #1688 from h… (compare)

  • Jun 16 13:27
    jackycute closed #1688
  • Jun 16 13:27
    jackycute commented #1688
  • Jun 16 12:56
    jackycute commented #1431
  • Jun 16 12:56
    jackycute closed #1431
  • Jun 16 11:17

    a60814billy on upgrade-mermaid-8.10.1

    (compare)

  • Jun 16 11:17

    a60814billy on develop

    feat: upgrade mermaid to versio… feat: upgrade mermaid to versio… Merge pull request #1690 from h… (compare)

  • Jun 16 11:17
    a60814billy closed #1690
  • Jun 16 11:11

    a60814billy on develop

    fix: strip html tags for gist i… fix: strip html tags for gist f… Merge pull request #1691 from h… (compare)

  • Jun 16 11:11
    a60814billy closed #1691
  • Jun 16 11:11
    a60814billy closed #1689
  • Jun 16 11:10
    jackycute edited #1690
  • Jun 16 11:10
    jackycute synchronize #1690
  • Jun 16 11:10

    jackycute on upgrade-mermaid-8.10.1

    feat: upgrade mermaid to versio… feat: upgrade mermaid to versio… (compare)

  • Jun 16 11:00
    jackycute synchronize #1691
  • Jun 16 11:00

    jackycute on fix-gist-id-stored-XSS

    fix: strip html tags for gist i… fix: strip html tags for gist f… (compare)

  • Jun 16 10:35
    a60814billy synchronize #1696
Max Wu
@jackycute

Hello. I have a couple hundred CodiMD users (Czech Pirate Party) and it seems that we severely need comments (#1223). HackMD is not an option for us, though.

May I understand why HackMD isn't an option for you?

mordae
@mordae:matrix.org
[m]
Correct me if I am mistaken, but hackmd is not really Free Software, or is it?
We are trying to make https://publiccode.eu/ reality and using proprietary SaaS (even on-premise) is weakening our position.
Karl Yu_ tw
@zk_researcher_twitter
Hi this message comes from china
why can't I open hackmd on my side ? says too long to respond
however I've changed the ipaddress in /etc file manually
Max Wu
@jackycute
hackmd.io has been banned in China from a long while ago.

Correct me if I am mistaken, but hackmd is not really Free Software, or is it?

HackMD has open source version which is CodiMD, and it's not Free software indeed.

Jan Mordae Hamal Dvořák
@mordae:matrix.org
[m]
Still, we are interested in sponsoring this feature in the free version.
Is there anyone I can negotiate conditions with?
Himura Kazuto
@Himura2la

and it's not Free software indeed.

What do you mean? The README.md says "CodiMD is the free software version of HackMD"

1 reply
Guys, I did some work on backing up and restoring the CodiMD.
We use CodiMD for several years in our company, thanks for this great product!
I hope my scripts could help someone: https://gist.github.com/Himura2la/2b7cfabcbcf2347a08efeacb3436cbfd
How about adding them to docs?
1 reply
Shaun Mitchell
@shitchell
i would love to help contribute to hackmd. if we add stuffs to codimd, is there a chance that it could be used with the hackmd website? i'm not sure how similar the codebases are
2 replies
Jan Mordae Hamal Dvořák
@mordae:matrix.org
[m]
Hello, once again. We'd love to sponsor adding comments to CodiMD. Is there anyone we could negotiate this with?
1 reply
Jan Mordae Hamal Dvořák
@mordae:matrix.org
[m]
It's more like I need help from you, though. :-)
We (Czech Pirate Party) are starting to use CodiMD quite heavily for various purposes. It's slowly becoming the go-to alternative to GDocs for many of our users. What's keeping the adoption back is comments. We don't really need edit proposals, but the ability to highlight a portion of the rendered text and attach a note that can be commented on and dismissed would help us a lot. I does not have to end up in the Markdown source, it can live outside, if easier.
1 reply
Jan Mordae Hamal Dvořák
@mordae:matrix.org
[m]
It might also be acceptable for us to purchase on-premise HackMD if you offered eventual open-source license like Sentry does (https://blog.sentry.io/2019/11/06/relicensing-sentry).
nicholas⛱
@nnnnicholas_twitter
Hi! I asked the question on Twitter but just discovered this Gitter: Is there a way to link to a header tag so that the browser scrolls to the tag? The section links on the preview page are great but cause a page refresh.
2 replies
nicholas⛱
@nnnnicholas_twitter
image.png
3 replies
I also have a small improvement proposal. When using the format bar, I often overshoot with my mouse, then this drops down and now the button hit area for the formatting tool I intended to use is completely obscured by this (albeit great) dropbown menu. The problem is that if you overshoot, then correct and move your mouse down to directly over the original button, you will still be clicking an unexpected button that opens a whole new page. So if you overshoot, you have to mouse out of this box you were not anticipating being there. It's a small thing but I do it by accident multiple times a day. Perhaps the dropdown could be relocated horizontally or the buttons could require a click to see their submenu contents.
zx9w
@zx9w
Hey, is there any way to add latex packages? didn't see anything in the docs... I would like to be able to do commutative diagrams but I need the tikz-cd package.
Nadir Ghoul
@gndu91:matrix.org
[m]
Is it possible to use phantomjs instead of phantomjs-prebuilt?
I tried building phantomjs (because I am on arm), but it still tries to get phantomjs-prebuilt, which does not work.
Nadir Ghoul
@gndu91:matrix.org
[m]
Do you know how to remove phantomjs-prebuilt from the npm requirements?
Nadir Ghoul
@gndu91:matrix.org
[m]
Also, is "Found 294 vulnerabilities (255 low, 17 moderate, 22 high)" a normal output?
Alper Yilmaz
@alperyilmaz
Hi. I was planning to use HackMD/CodiMD in classroom setting where students add content. For grading purposes, it would be nice to see who contributed how much. In "Versions" screen, the revisions can be seen and compared. But I was wondering if it's possible to see contributions per user/contributor?
Max Wu
@jackycute
CodiMD 2.4.1 has released, make sure you upgrade to this version!
https://github.com/hackmdio/codimd/releases/tag/2.4.1
Also check out our release note: https://hackmd.io/@codimd/release-notes/%2F%40codimd%2Fv2_4_0
Aakash Nand
@aakashnand_gitlab
Hello is there any way to import user data without loosing history?
We are planning to move from LDAP to AZURE for authentication which will cause change in user information, I want to know how can I do this migration without loosing data and ownership?
Max Wu
@jackycute

Hello is there any way to import user data without loosing history?

I think the only way is migrate the DB, no other way to keep all authorship and history from files at the moment.

Aakash Nand
@aakashnand_gitlab
@jackycute but if we change from LDAP to AzureAD it will change user profiles then users will lose the ownership and history, how can we solve this?
Max Wu
@jackycute

@jackycute but if we change from LDAP to AzureAD it will change user profiles then users will lose the ownership and history, how can we solve this?

Maybe let them join through AzureAD and map those user account's profileid back to original user id and remove those accounts.

  1. Let users register through AzureAD
  2. Find those newly created user accounts' profileid
  3. Map those profileid back to former user accounts
  4. Remove user accounts that created through AzureAD
Aakash Nand
@aakashnand_gitlab
Understood thanks. Does the generic Oauth authentication works with AzureAD? I am able to login but I am getting Internal server error saying "InternalOAuthError: Failed to fetch user profile"
What would be the value for CMD_OAUTH2_USER_PROFILE_URL and CMD_OAUTH2_SCOPE for AzureAD?
Aakash Nand
@aakashnand_gitlab

Map those profileid back to former user accounts

@jackycute Could you please clarify this step? By mapping what do you mean? Should I replace profileid in Users table with the new profileid and then delete the account created by AzureAD but this will give error cause there is unique_constraint on profileid in Users table

Max Wu
@jackycute

Map those profileid back to former user accounts

@jackycute Could you please clarify this step? By mapping what do you mean? Should I replace profileid in Users table with the new profileid and then delete the account created by AzureAD but this will give error cause there is unique_constraint on profileid in Users table

Yes, please backup the db first.
Copy the new user account's profileid and clean the field, then paste to new account's profileid, this should avoid unique constraint.

Nadir Ghoul
@gndu91:matrix.org
[m]
Hi, is it possible to deploy it on an arm machine?
Nadir Ghoul
@gndu91:matrix.org
[m]
Also, why do you say
Edit the following config file to setup CodiMD server and client.
Read more info at https://hackmd.io/c/codimd-documentation/%2Fs%2Fcodimd-configuration
  • config.json -- CodiMD config
  • .sequelizerc -- db config
When in the script the config is loaded from
var config = require('./lib/config')
Max Wu
@jackycute

Edit the following config file to setup CodiMD server and client.
Read more info at https://hackmd.io/c/codimd-documentation/%2Fs%2Fcodimd-configuration

  • config.json -- CodiMD config
  • .sequelizerc -- db config

. sequelizerc is used by sequelize (our ORM tool) when running db migrations and seeders

Hi, is it possible to deploy it on an arm machine?

Yes, please take a look at dockerhub: https://hub.docker.com/r/hackmdio/hackmd/tags?page=1&ordering=last_updated

2 replies
Nadir Ghoul
@gndu91:matrix.org
[m]
On the page, not a single arm in signt
When I deploy it it gives "standard_init_linux.go:219: exec user process caused: exec format error"
And when I deploy it manually I get other errors, such as an error installing phantom-prebuilt
Max Wu
@jackycute
I think it only works on linux/arm64, are you running on arm only?
If so, I'm afraid it won't work on arm at the moment.
1 reply
Nadir Ghoul
@gndu91:matrix.org
[m]
Do you mean amd64
1 reply
Max Wu
@jackycute

Do you mean amd64

Oops, sorry about typo, it's amd64 not arm64, I'm reading it wrong all the time

做梦专业户
@ihexon
Anybody know what is the root password and hackmd password in docker image, I wnat login docker container with root , Thanks
3 replies