Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved HackMD - Fast and flexible, real-time collaborative markdown

    App Wishlist
    7
    25
    2823
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • nebulon
      nebulon Staff last edited by

      HackMD ( https://hackmd.io ) is a realtime, multiplatform collaborative markdown note editor.
      This means that you can write notes with other people on your desktop, tablet or even on the phone.
      <<

      1 Reply Last reply Reply Quote 9
      • jeau
        jeau App Dev last edited by

        It's a very good idea, I think HackMD is an excellent tool, simple and powerful.
        For authentication, an ldap connector is available.

        A first job was done, but I didn't try it.
        https://github.com/dictcp/cloudron-hackmd

        thierry

        fbartels 1 Reply Last reply Reply Quote 2
        • jeau
          jeau App Dev last edited by

          there're also an official docker container
          https://github.com/hackmdio/docker-hackmd

          1 Reply Last reply Reply Quote 1
          • fbartels
            fbartels App Dev @jeau last edited by

            Hi @jeau,

            this looks interesting. The existing code already builds a functional app. I have forked it on github and updated it to the latest release. Currently looking into merging the official docker images with the current state.

            1 Reply Last reply Reply Quote 1
            • jeau
              jeau App Dev last edited by

              it would be nice
              great thanks

              1 Reply Last reply Reply Quote 0
              • jeau
                jeau App Dev last edited by

                however, there are some issues :

                • inside of the app the uid is shown instead of the username (issue identified in the TODO list)
                • write permission problem to generate pdf files (cf logs)
                1 Reply Last reply Reply Quote 0
                • ruihildt
                  ruihildt last edited by

                  I'm running on my personal server the one from Github and I can confirm the same issues pointed by @jeau.

                  If you can publish it as a cloudron app, I could finally update it to latest. 😉

                  1 Reply Last reply Reply Quote 0
                  • girish
                    girish Staff last edited by

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • jeau
                      jeau App Dev last edited by

                      I added a config file config.json to specify the tmp directory and ldap username, and it seems to work fine.

                      {
                          "production": {
                              "tmpPath": "../../app/data/tmp",
                              "ldap": {
                                    "usernameField": "username"
                              }
                          }
                      }
                      

                      feel free to testing: https://github.com/jeau/cloudron-hackmd

                      1 Reply Last reply Reply Quote 0
                      • fbartels
                        fbartels App Dev last edited by

                        Just for reference. I have posted on chat.cloudron.io since i get an error when trying to push the app to the cloudron store. seems the original author tried to publish it already.

                        https://chat.cloudron.io/channel/discuss?msg=hgnmFLRzCjCkz2SZ7

                        1 Reply Last reply Reply Quote 1
                        • jeau
                          jeau App Dev last edited by

                          Hi Felix

                          I have noticed that images imported into our hackmd app are not included in the pdf export. This problem has already been identified: https://github.com/hackmdio/hackmd/issues/820

                          This feature is experimental (Beta). We could disable it by setting the environment variable HMD_ALLOW_PDF_EXPORT to false

                          fbartels 1 Reply Last reply Reply Quote 1
                          • fbartels
                            fbartels App Dev @jeau last edited by

                            Hi @jeau,

                            this change is now in https://github.com/fbartels/cloudron-hackmd/tree/v0.0.4

                            1 Reply Last reply Reply Quote 1
                            • girish
                              girish Staff last edited by

                              I have started polishing this so that we can get this published upstream. Writing the tests... https://git.cloudron.io/cloudron/hackmd-app . @fbartels @jeau I have give you guys master access in case you want to continue contributing there. Be sure to run the tests (which I will push shortly) before pushing commits, thanks.

                              1 Reply Last reply Reply Quote 1
                              • girish
                                girish Staff last edited by

                                OK, it's available int he appstore now. Thanks for all the hard work!

                                https://cloudron.io/store/io.hackmd.cloudronapp.html

                                jeau 1 Reply Last reply Reply Quote 1
                                • jeau
                                  jeau App Dev @girish last edited by

                                  @girish Great, that was very informative for me.

                                  1 Reply Last reply Reply Quote 0
                                  • girish
                                    girish Staff last edited by

                                    https://cloudron.io/store/io.hackmd.cloudronapp.html is the appstore link

                                    1 Reply Last reply Reply Quote 0
                                    • fbartels
                                      fbartels App Dev last edited by

                                      Hi @girish ,

                                      I have updated the git repo with the newest version of HackMD (which is now called CodiMD). But for some reason cloudron install fails with an error I haven't seen before:

                                      $ cloudron install
                                      ERROR No image found, please run `cloudron build` first or specify a `dockerImage` in the CloudronManifest [ /usr/lib/node_modules/cloudron/src/helper.js:65:29 ]
                                      

                                      This is despite cloudron build finishing succesfully.

                                      1 Reply Last reply Reply Quote 0
                                      • girish
                                        girish Staff last edited by

                                        @fbartels The development is being continued in ssh://git@git.cloudron.io:6000/cloudron/codimd.git . You should have access to the repo. Can you confirm? Thanks. I had already renamed it to CodiMD.

                                        fbartels 1 Reply Last reply Reply Quote 1
                                        • fbartels
                                          fbartels App Dev @girish last edited by

                                          Hi @girish ,

                                          thanks for renaming the repo, I just did a small test commit and can push to the new url. I had a look at the commits in the repo and compared it against what I can see in the Cloudron app store, did you not push your latest changes?

                                          1 Reply Last reply Reply Quote 0
                                          • G
                                            GustavoMarcante last edited by

                                            As CodiMD (open source fork of HackMD) is now available on Cloudron, I think this topic could be renamed or close, don't you think?

                                            1 Reply Last reply Reply Quote 0
                                            • S
                                              stoccafisso last edited by

                                              Hi. Is it possible to have this app use its own user management? I would like to invite people to cooperate creating slides, but it seems they must be a cloudron user to get access. I would rather avoid creating cloudron accounts for these users.

                                              fbartels 1 Reply Last reply Reply Quote 0
                                              • fbartels
                                                fbartels App Dev @stoccafisso last edited by

                                                @stoccafisso yes, after installation you can manually change the config file (in /app/data) to allow this. Codimd probably needs to be restarted for changes to take effect.

                                                https://git.cloudron.io/cloudron/codimd-app/blob/master/config.json#L5

                                                S 2 Replies Last reply Reply Quote 1
                                                • S
                                                  stoccafisso @fbartels last edited by

                                                  @fbartels Thank you. Looks like I got this working 🙂

                                                  1 Reply Last reply Reply Quote 0
                                                  • S
                                                    stoccafisso @fbartels last edited by

                                                    @fbartels just a heads up. The documentation links on this page is not working: https://cloudron.io/documentation/apps/codimd/

                                                    1 Reply Last reply Reply Quote 0
                                                    • girish
                                                      girish Staff last edited by

                                                      @stoccafisso Thanks, I have fixed it and deployed a new doc page.

                                                      1 Reply Last reply Reply Quote 0
                                                      • First post
                                                        Last post
                                                      Powered by NodeBB