Giter Club home page Giter Club logo

Comments (4)

frankjonen avatar frankjonen commented on June 13, 2024 2

I tried a bunch of things now and all only resulted in errors.
So I wrote a quick forwarder in Go. It's here if someone wants it.

from org-roam-ui.

wylited avatar wylited commented on June 13, 2024

I'm not an expert at org-roam-ui, I've only recently started using it.
I believe you can set the host under next.config.js as

host: '0.0.0.0'

So that it will listen to all networks.

Then you have to open your own host machine's firewall on port 35901
I use ufw so it looks like

ufw allow 35901/tcp
ufw allow 35901/udp

I also believe you will need to edit the org-roam-ui.el file and change the websocket server from localhost to 0.0.0.0

at org-roam-ui.el here

You may also need to port forward 35901 on your router to make it accessible.

I really hope this helps (or works, I haven't had the time to test it)
If one of the maintainers sees this, and I am wrong, I apologize.

from org-roam-ui.

digitables avatar digitables commented on June 13, 2024

I tried a bunch of things now and all only resulted in errors. So I wrote a quick forwarder in Go. It's here if someone wants it.

Hey there, this doesn't seem to work. I'm attempting to run my Org-Roam through a VPS via nginx so I can access it anywhere, but the JS seems to have 'localhost' hardcoded. I don't know how NPM projects work so I don't know how to fix it.

from org-roam-ui.

frankjonen avatar frankjonen commented on June 13, 2024

Oh sorry, I forgot to follow this up. I got the UI to render and didn't have much time that day to check further.

I think it's because it does local file-system stuff in a way that can't be routed. My solution for now is to shop around for a school/edu laptop that can run Emacs well enough without being obnoxious to the wallet (I don't like laptops).

from org-roam-ui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.