How can I connect to local AnythingLLM application?
akin
PROOP

10 months ago

I want to do step step by step as below;

1.Prepare hosting railway

2.This project must be connect to my local AnythingLLM

3.When I every click my project in railway, it will be open my local AnythingLLM project

$10 Bounty

2 Replies

10 months ago

Have you tried using Railway CLI to deploy it locally? Then you can connect it to your local instance of Anything LLM.

Btw, not sure you mean to do everything locally, but maybe an Express app will do the work. You can try a simple hello + redirect. Then a Cloudflaree tunnel so your local AnythingLLM shows up at, for example, https://llm.yourdomain.com. Then in the Express route you can add res.redirect('https://llm.yourdomain.com') and just redeploy.

Been experimenting with some cloud + local stuff too, it's a bit of a pain in the ass lol. Have had more luck connecting Railway to an MCP server on a VS Code fork and just asking whatever I want and most of the times it just does everything for me. Before trying that make sure to not enable automatic approvals for sensitive actions such as delete actions. Also avoid production environments initially and always have backups you can restore to in a separate place.


alexwebgr
HOBBY

9 months ago

Hi there

you could always try something like ngrok https://ngrok.com/ in order to make your local environment available via a unique URL

just install and run

ngrok http <port>

thanks

alex


Loading...