supersu on Nostr: I think you are a little confused here, apps do not need to integrate holesail to use ...
I think you are a little confused here, apps do not need to integrate holesail to use it.
Holesail in itself is a proxy, it kind of binds two ports between different devices, so apps just need to use localhost:port as the url.
When I say "integrating holesail", I mean including holesail in the app itself so that users don't have to do the installation and running.
For example, for an apache server running on port 80, I can wrap holesail around it with holesail --live 80 --host localhost
Then on another device: holesail <connection string> --port 3434 --host localhost, now any app on my second device that needs the data from server1, will use the URL
http://localhost:3434/There is no need for manual integration, but for the sake of simplicity and accessibility, it is better to do so.
The above is a manual approach, now if I bundled holesail with apache2 and made it print out a connection key for ever vHOST by default, that would be holesail integration.
Published at
2024-08-14 03:24:26Event JSON
{
"id": "80c4f792239d8eec1494db8538f94fb6388ed50a5410f451f4f0371cf73a6f9a",
"pubkey": "bd171ec3857a546a9c665e016931d7177dbd5a6887992276663980483b1acc15",
"created_at": 1723605866,
"kind": 1,
"tags": [
[
"e",
"c11e495082cd481257f5f32094cfc3463f73a0ae3638f69f36f6bec6e6fb1f81",
"wss://nostrue.com",
"root"
],
[
"e",
"d46a2ae8fcb4e7a5e94f97b78fc2d342989563b1e392edf3f2ff5e3943421190",
"wss://nostrue.com",
"reply"
],
[
"p",
"bd171ec3857a546a9c665e016931d7177dbd5a6887992276663980483b1acc15",
"",
"mention"
],
[
"p",
"266815e0c9210dfa324c6cba3573b14bee49da4209a9456f9484e5106cd408a5"
]
],
"content": "I think you are a little confused here, apps do not need to integrate holesail to use it.\n\nHolesail in itself is a proxy, it kind of binds two ports between different devices, so apps just need to use localhost:port as the url.\n\nWhen I say \"integrating holesail\", I mean including holesail in the app itself so that users don't have to do the installation and running.\n\nFor example, for an apache server running on port 80, I can wrap holesail around it with holesail --live 80 --host localhost\n\nThen on another device: holesail \u003cconnection string\u003e --port 3434 --host localhost, now any app on my second device that needs the data from server1, will use the URL http://localhost:3434/\n\nThere is no need for manual integration, but for the sake of simplicity and accessibility, it is better to do so.\n\nThe above is a manual approach, now if I bundled holesail with apache2 and made it print out a connection key for ever vHOST by default, that would be holesail integration.\n\n",
"sig": "47ce32266ad6c5c7e94365136d558c35ce6c0486582a648fafcef4e14dd9e962f37cd9ae03e5403362b8a6e3878bda89aebc7de94e7a16b46d47a3c331566cb0"
}