revert back docs directory
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2025-04-25 Fri 23:06 -->
|
||||
<!-- 2025-04-25 Fri 23:17 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>‎</title>
|
||||
@@ -26,12 +26,12 @@
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents" role="doc-toc">
|
||||
<ul>
|
||||
<li><a href="#org3ef2a92">1. Guide through video</a>
|
||||
<li><a href="#org9c37a3a">1. Guide through video</a>
|
||||
<ul>
|
||||
<li>
|
||||
<ul>
|
||||
<li><a href="#org095d882">1.0.1. The video below shows the setup and usage of P2PRC.</a></li>
|
||||
<li><a href="#orge87be75">1.0.2. Source code: https://github.com/Akilan1999/p2p-rendering-computation</a></li>
|
||||
<li><a href="#org73ac1f8">1.0.1. The video below shows the setup and usage of P2PRC.</a></li>
|
||||
<li><a href="#orgf3f19a6">1.0.2. Source code: https://github.com/Akilan1999/p2p-rendering-computation</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -78,7 +78,7 @@
|
||||
<li><a href="#pulling-plugin-from-a-remote-repo">4.0.17. Pulling plugin from a remote repo</a></li>
|
||||
<li><a href="#deleting-plugin-from-the-plugin-directory">4.0.18. Deleting plugin from the plugin directory</a></li>
|
||||
<li><a href="#added-custom-metadata-about-the-current-node">4.0.19. Added custom metadata about the current node</a></li>
|
||||
<li><a href="#org6856d7d">4.0.20. MapPort and link to domain name</a></li>
|
||||
<li><a href="#org8aff015">4.0.20. MapPort and link to domain name</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -108,8 +108,8 @@
|
||||
</li>
|
||||
<li><a href="#current-languages-supported">6.3. Current languages supported</a>
|
||||
<ul>
|
||||
<li><a href="#orgf9e8d26">6.3.1. Python</a></li>
|
||||
<li><a href="#org0c4094d">6.3.2. Haskell</a></li>
|
||||
<li><a href="#orga857f83">6.3.1. Python</a></li>
|
||||
<li><a href="#orgf0d5243">6.3.2. Haskell</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -126,22 +126,22 @@
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#client-mode">10. Client mode</a></li>
|
||||
<li><a href="#org38e128d">11. Blog posts</a>
|
||||
<li><a href="#orgefbf5e1">11. Blog posts</a>
|
||||
<ul>
|
||||
<li><a href="#org3c2441b">11.1. Self host within 5 minutes any program</a>
|
||||
<li><a href="#org0aff8a2">11.1. Self host within 5 minutes any program</a>
|
||||
<ul>
|
||||
<li><a href="#orgfa625fe">11.1.1. 1. Find a program you want to run</a></li>
|
||||
<li><a href="#orgc1cd454">11.1.1. 1. Find a program you want to run</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org46a1b99">12. Ideas for future potencial features</a>
|
||||
<li><a href="#org6a05ac1">12. Ideas for future potencial features</a>
|
||||
<ul>
|
||||
<li><a href="#org142d85b">12.1. To support hetrogenous set of Nodes that cannot run P2PRC</a>
|
||||
<li><a href="#org2136819">12.1. To support hetrogenous set of Nodes that cannot run P2PRC</a>
|
||||
<ul>
|
||||
<li><a href="#org3e88acf">12.1.1. Assumptions:</a></li>
|
||||
<li><a href="#org3ff0b6c">12.1.2. Set of interesting possible:</a></li>
|
||||
<li><a href="#orgbaa7f26">12.1.3. Implementation</a></li>
|
||||
<li><a href="#org8f98161">12.1.1. Assumptions:</a></li>
|
||||
<li><a href="#org806bc11">12.1.2. Set of interesting possible:</a></li>
|
||||
<li><a href="#org2df764e">12.1.3. Implementation</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -150,26 +150,26 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="orgb5e01a6" class="figure">
|
||||
<p><img src="./artwork/p2prc-logos/Colored-On-Light-Image.png" alt="Colored-On-Light-Image.png" width="300px" />
|
||||
<div id="org93c8684" class="figure">
|
||||
<p><img src="../artwork/p2prc-logos/Colored-On-Light-Image.png" alt="Colored-On-Light-Image.png" width="300px" />
|
||||
</p>
|
||||
</div>
|
||||
<div id="outline-container-org3ef2a92" class="outline-2">
|
||||
<h2 id="org3ef2a92"><span class="section-number-2">1.</span> Guide through video</h2>
|
||||
<div id="outline-container-org9c37a3a" class="outline-2">
|
||||
<h2 id="org9c37a3a"><span class="section-number-2">1.</span> Guide through video</h2>
|
||||
<div class="outline-text-2" id="text-1">
|
||||
</div>
|
||||
<div id="outline-container-org095d882" class="outline-4">
|
||||
<h4 id="org095d882"><span class="section-number-4">1.0.1.</span> The video below shows the setup and usage of P2PRC.</h4>
|
||||
<div id="outline-container-org73ac1f8" class="outline-4">
|
||||
<h4 id="org73ac1f8"><span class="section-number-4">1.0.1.</span> The video below shows the setup and usage of P2PRC.</h4>
|
||||
<div class="outline-text-4" id="text-1-0-1">
|
||||
|
||||
<div id="org5bf30b9" class="figure">
|
||||
<div id="org1f2f6d2" class="figure">
|
||||
<p><a href="https://www.youtube.com/watch?v=OMwCpedu5cs" class="video"><img src="https://i3.ytimg.com/vi/OMwCpedu5cs/maxresdefault.jpg" alt="maxresdefault.jpg" class="video" /></a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-orge87be75" class="outline-4">
|
||||
<h4 id="orge87be75"><span class="section-number-4">1.0.2.</span> Source code: <a href="https://github.com/Akilan1999/p2p-rendering-computation">https://github.com/Akilan1999/p2p-rendering-computation</a></h4>
|
||||
<div id="outline-container-orgf3f19a6" class="outline-4">
|
||||
<h4 id="orgf3f19a6"><span class="section-number-4">1.0.2.</span> Source code: <a href="https://github.com/Akilan1999/p2p-rendering-computation">https://github.com/Akilan1999/p2p-rendering-computation</a></h4>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-chapter1-introduction" class="outline-2">
|
||||
@@ -258,7 +258,7 @@ Go API to create and interact with the containers.
|
||||
to install docker GPU</a>
|
||||
</p>
|
||||
|
||||
<pre class="example" id="org9a265ae">
|
||||
<pre class="example" id="orgd9620d4">
|
||||
// Do ensure that the docker command does not need sudo to run
|
||||
sudo chmod 666 /var/run/docker.sock
|
||||
</pre>
|
||||
@@ -272,7 +272,7 @@ To set up the internal dependencies and build the entire go code into a
|
||||
single binary
|
||||
</p>
|
||||
|
||||
<pre class="example" id="orgb3c0897">
|
||||
<pre class="example" id="org1a7a29f">
|
||||
make
|
||||
</pre>
|
||||
</div>
|
||||
@@ -284,7 +284,7 @@ To set up P2PRC on Windows, simply run this batch file. <b>Make sure you
|
||||
are not in admin mode when running this.</b>
|
||||
</p>
|
||||
|
||||
<pre class="example" id="org01877ef">
|
||||
<pre class="example" id="org0bf0b81">
|
||||
.\install.bat
|
||||
</pre>
|
||||
</div>
|
||||
@@ -294,7 +294,7 @@ are not in admin mode when running this.</b>
|
||||
<div id="outline-container-add-appropriate-paths-to-.bashrc" class="outline-4">
|
||||
<h4 id="add-appropriate-paths-to-.bashrc"><span class="section-number-4">3.2.4.</span> Add appropriate paths to <code>.bashrc</code></h4>
|
||||
<div class="outline-text-4" id="text-add-appropriate-paths-to-.bashrc">
|
||||
<pre class="example" id="org111a23e">
|
||||
<pre class="example" id="orgabf26a3">
|
||||
export P2PRC=/<PATH>/p2p-rendering-computation
|
||||
export PATH=/<PATH>/p2p-rendering-computation:${PATH}
|
||||
</pre>
|
||||
@@ -303,14 +303,14 @@ export PATH=/<PATH>/p2p-rendering-computation:${PATH}
|
||||
<div id="outline-container-test-if-binary-works" class="outline-4">
|
||||
<h4 id="test-if-binary-works"><span class="section-number-4">3.2.5.</span> Test if binary works</h4>
|
||||
<div class="outline-text-4" id="text-test-if-binary-works">
|
||||
<pre class="example" id="org8bf5c88">
|
||||
<pre class="example" id="org2685522">
|
||||
p2prc --help
|
||||
</pre>
|
||||
</div>
|
||||
<ol class="org-ol">
|
||||
<li><a id="output"></a>Output:<br />
|
||||
<div class="outline-text-5" id="text-output">
|
||||
<pre class="example" id="org9dc3511">
|
||||
<pre class="example" id="orgac10245">
|
||||
NAME:
|
||||
p2p-rendering-computation - p2p cli application to create and access VMs in other servers
|
||||
|
||||
@@ -372,7 +372,7 @@ GLOBAL OPTIONS:
|
||||
<div id="outline-container-start-as-a-server" class="outline-4">
|
||||
<h4 id="start-as-a-server"><span class="section-number-4">4.0.1.</span> Start as a server</h4>
|
||||
<div class="outline-text-4" id="text-start-as-a-server">
|
||||
<pre class="example" id="orgb8a6852">
|
||||
<pre class="example" id="org282e2af">
|
||||
p2prc -s
|
||||
</pre>
|
||||
</div>
|
||||
@@ -380,7 +380,7 @@ p2prc -s
|
||||
<div id="outline-container-view-server-specification" class="outline-4">
|
||||
<h4 id="view-server-specification"><span class="section-number-4">4.0.2.</span> View server Specification</h4>
|
||||
<div class="outline-text-4" id="text-view-server-specification">
|
||||
<pre class="example" id="org34f6fef">
|
||||
<pre class="example" id="org985433e">
|
||||
p2prc --specs=<ip address>
|
||||
</pre>
|
||||
</div>
|
||||
@@ -392,7 +392,7 @@ p2prc --specs=<ip address>
|
||||
use the <code>--gpu</code> if you know the other machine has a gpu.
|
||||
</p>
|
||||
|
||||
<pre class="example" id="org00c166d">
|
||||
<pre class="example" id="org9d5f05e">
|
||||
p2prc --touch=<server ip address> -p <number of ports> --gpu
|
||||
</pre>
|
||||
</div>
|
||||
@@ -404,7 +404,7 @@ p2prc --touch=<server ip address> -p <number of ports> --gpu
|
||||
The docker id is present in the output where you create a container
|
||||
</p>
|
||||
|
||||
<pre class="example" id="org31b403f">
|
||||
<pre class="example" id="org9e5bd7e">
|
||||
p2prc --rm=<server ip address> --id=<docker container id>
|
||||
</pre>
|
||||
</div>
|
||||
@@ -412,7 +412,7 @@ p2prc --rm=<server ip address> --id=<docker container id>
|
||||
<div id="outline-container-adding-servers-to-ip-table" class="outline-4">
|
||||
<h4 id="adding-servers-to-ip-table"><span class="section-number-4">4.0.5.</span> Adding servers to ip table</h4>
|
||||
<div class="outline-text-4" id="text-adding-servers-to-ip-table">
|
||||
<pre class="example" id="org4dd163a">
|
||||
<pre class="example" id="orgb1d5224">
|
||||
p2prc --as=<server ip address you want to add>
|
||||
</pre>
|
||||
</div>
|
||||
@@ -420,7 +420,7 @@ p2prc --as=<server ip address you want to add>
|
||||
<div id="outline-container-update-ip-table" class="outline-4">
|
||||
<h4 id="update-ip-table"><span class="section-number-4">4.0.6.</span> Update ip table</h4>
|
||||
<div class="outline-text-4" id="text-update-ip-table">
|
||||
<pre class="example" id="org5de641f">
|
||||
<pre class="example" id="org671a527">
|
||||
p2prc --us
|
||||
</pre>
|
||||
</div>
|
||||
@@ -428,7 +428,7 @@ p2prc --us
|
||||
<div id="outline-container-list-servers" class="outline-4">
|
||||
<h4 id="list-servers"><span class="section-number-4">4.0.7.</span> List Servers</h4>
|
||||
<div class="outline-text-4" id="text-list-servers">
|
||||
<pre class="example" id="org7c1e290">
|
||||
<pre class="example" id="org18aa560">
|
||||
p2prc --ls
|
||||
</pre>
|
||||
</div>
|
||||
@@ -436,7 +436,7 @@ p2prc --ls
|
||||
<div id="outline-container-view-network-interfaces" class="outline-4">
|
||||
<h4 id="view-network-interfaces"><span class="section-number-4">4.0.8.</span> View Network interfaces</h4>
|
||||
<div class="outline-text-4" id="text-view-network-interfaces">
|
||||
<pre class="example" id="orgd05dccf">
|
||||
<pre class="example" id="orge4afb87">
|
||||
p2prc --ni
|
||||
</pre>
|
||||
</div>
|
||||
@@ -444,7 +444,7 @@ p2prc --ni
|
||||
<div id="outline-container-viewing-containers-created-client-side" class="outline-4">
|
||||
<h4 id="viewing-containers-created-client-side"><span class="section-number-4">4.0.9.</span> Viewing Containers created Client side</h4>
|
||||
<div class="outline-text-4" id="text-viewing-containers-created-client-side">
|
||||
<pre class="example" id="org3e3298f">
|
||||
<pre class="example" id="orgb9767d1">
|
||||
p2prc --tc
|
||||
</pre>
|
||||
</div>
|
||||
@@ -452,7 +452,7 @@ p2prc --tc
|
||||
<div id="outline-container-running-plugin" class="outline-4">
|
||||
<h4 id="running-plugin"><span class="section-number-4">4.0.10.</span> Running plugin</h4>
|
||||
<div class="outline-text-4" id="text-running-plugin">
|
||||
<pre class="example" id="orga939fb9">
|
||||
<pre class="example" id="orgc805e30">
|
||||
p2prc --plugin <plugin name> --id <container id or group id>
|
||||
</pre>
|
||||
</div>
|
||||
@@ -460,7 +460,7 @@ p2prc --plugin <plugin name> --id <container id or group id>
|
||||
<div id="outline-container-create-group" class="outline-4">
|
||||
<h4 id="create-group"><span class="section-number-4">4.0.11.</span> Create group</h4>
|
||||
<div class="outline-text-4" id="text-create-group">
|
||||
<pre class="example" id="org1fc7f8a">
|
||||
<pre class="example" id="orgaa0084e">
|
||||
p2prc --cgroup
|
||||
</pre>
|
||||
</div>
|
||||
@@ -468,7 +468,7 @@ p2prc --cgroup
|
||||
<div id="outline-container-add-container-to-group" class="outline-4">
|
||||
<h4 id="add-container-to-group"><span class="section-number-4">4.0.12.</span> Add container to group</h4>
|
||||
<div class="outline-text-4" id="text-add-container-to-group">
|
||||
<pre class="example" id="orgd5e9d2f">
|
||||
<pre class="example" id="org25f0283">
|
||||
p2prc --group <group id> --id <container id>
|
||||
</pre>
|
||||
</div>
|
||||
@@ -476,7 +476,7 @@ p2prc --group <group id> --id <container id>
|
||||
<div id="outline-container-view-groups" class="outline-4">
|
||||
<h4 id="view-groups"><span class="section-number-4">4.0.13.</span> View groups</h4>
|
||||
<div class="outline-text-4" id="text-view-groups">
|
||||
<pre class="example" id="orgc07ef13">
|
||||
<pre class="example" id="org8abb354">
|
||||
p2prc --groups
|
||||
</pre>
|
||||
</div>
|
||||
@@ -484,7 +484,7 @@ p2prc --groups
|
||||
<div id="outline-container-view-specific-group" class="outline-4">
|
||||
<h4 id="view-specific-group"><span class="section-number-4">4.0.14.</span> View specific group</h4>
|
||||
<div class="outline-text-4" id="text-view-specific-group">
|
||||
<pre class="example" id="org114b30d">
|
||||
<pre class="example" id="org3a73cfe">
|
||||
p2prc --group <group id>
|
||||
</pre>
|
||||
</div>
|
||||
@@ -492,7 +492,7 @@ p2prc --group <group id>
|
||||
<div id="outline-container-delete-container-from-group" class="outline-4">
|
||||
<h4 id="delete-container-from-group"><span class="section-number-4">4.0.15.</span> Delete container from group</h4>
|
||||
<div class="outline-text-4" id="text-delete-container-from-group">
|
||||
<pre class="example" id="org020fae2">
|
||||
<pre class="example" id="orge983347">
|
||||
p2prc --rmcgroup --group <group id> --id <container id>
|
||||
</pre>
|
||||
</div>
|
||||
@@ -500,7 +500,7 @@ p2prc --rmcgroup --group <group id> --id <container id>
|
||||
<div id="outline-container-delete-entire-group" class="outline-4">
|
||||
<h4 id="delete-entire-group"><span class="section-number-4">4.0.16.</span> Delete entire group</h4>
|
||||
<div class="outline-text-4" id="text-delete-entire-group">
|
||||
<pre class="example" id="org2d9b29b">
|
||||
<pre class="example" id="org1a2d4d9">
|
||||
p2prc --rmgroup <group id>
|
||||
</pre>
|
||||
</div>
|
||||
@@ -508,7 +508,7 @@ p2prc --rmgroup <group id>
|
||||
<div id="outline-container-pulling-plugin-from-a-remote-repo" class="outline-4">
|
||||
<h4 id="pulling-plugin-from-a-remote-repo"><span class="section-number-4">4.0.17.</span> Pulling plugin from a remote repo</h4>
|
||||
<div class="outline-text-4" id="text-pulling-plugin-from-a-remote-repo">
|
||||
<pre class="example" id="orgbd5ba7f">
|
||||
<pre class="example" id="orgee7b538">
|
||||
p2prc --pp <repo link>
|
||||
</pre>
|
||||
</div>
|
||||
@@ -516,7 +516,7 @@ p2prc --pp <repo link>
|
||||
<div id="outline-container-deleting-plugin-from-the-plugin-directory" class="outline-4">
|
||||
<h4 id="deleting-plugin-from-the-plugin-directory"><span class="section-number-4">4.0.18.</span> Deleting plugin from the plugin directory</h4>
|
||||
<div class="outline-text-4" id="text-deleting-plugin-from-the-plugin-directory">
|
||||
<pre class="example" id="org40cd264">
|
||||
<pre class="example" id="org380741b">
|
||||
p2prc --rp <plugin name>
|
||||
</pre>
|
||||
</div>
|
||||
@@ -524,28 +524,28 @@ p2prc --rp <plugin name>
|
||||
<div id="outline-container-added-custom-metadata-about-the-current-node" class="outline-4">
|
||||
<h4 id="added-custom-metadata-about-the-current-node"><span class="section-number-4">4.0.19.</span> Added custom metadata about the current node</h4>
|
||||
<div class="outline-text-4" id="text-added-custom-metadata-about-the-current-node">
|
||||
<pre class="example" id="org16ee292">
|
||||
<pre class="example" id="org3da0b46">
|
||||
p2prc --amd "custom metadata"
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org6856d7d" class="outline-4">
|
||||
<h4 id="org6856d7d"><span class="section-number-4">4.0.20.</span> MapPort and link to domain name</h4>
|
||||
<div id="outline-container-org8aff015" class="outline-4">
|
||||
<h4 id="org8aff015"><span class="section-number-4">4.0.20.</span> MapPort and link to domain name</h4>
|
||||
<div class="outline-text-4" id="text-4-0-20">
|
||||
<p>
|
||||
Allows to expose remote ports from a machine in the P2P network.
|
||||
</p>
|
||||
<pre class="example" id="org3854c11">
|
||||
<pre class="example" id="org971ad93">
|
||||
p2prc --mp <port no to map> --dn <domain name to link Mapped port against>
|
||||
</pre>
|
||||
</div>
|
||||
<ol class="org-ol">
|
||||
<li><a id="orgd75fb31"></a>MapPort in remote machine<br />
|
||||
<li><a id="org0e256de"></a>MapPort in remote machine<br />
|
||||
<div class="outline-text-5" id="text-4-0-20-1">
|
||||
<p>
|
||||
This is to ensure ports on remote machines on the P2PRC can be easily opened.
|
||||
</p>
|
||||
<pre class="example" id="org7c733bc">
|
||||
<pre class="example" id="orgdc964c0">
|
||||
p2prc --mp <port no to map> --dn <domain name to link Mapped port against> --ra <remote server address>
|
||||
</pre>
|
||||
|
||||
@@ -567,7 +567,7 @@ servers with optimal performance, enhancing their overall network experience.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
[[<img src="Docs/images/p2pmoduleArch.png" alt="p2pmoduleArch.png" />]
|
||||
[[<img src="./images/p2pmoduleArch.png" alt="p2pmoduleArch.png" />]
|
||||
</p>
|
||||
|
||||
<p>
|
||||
@@ -660,7 +660,7 @@ from the TURN server. The flow below describes the workflow.
|
||||
<li>Call <code>/FRPPort</code></li>
|
||||
</ul>
|
||||
|
||||
<pre class="example" id="org740a4eb">
|
||||
<pre class="example" id="org1216e2d">
|
||||
http://<turn server ip>:<server port no>/FRPport
|
||||
</pre>
|
||||
|
||||
@@ -749,7 +749,7 @@ p2prc.h p2prc.so
|
||||
Below are a sample set of commands to open the bindings implementation.
|
||||
</p>
|
||||
|
||||
<pre class="example" id="org10d6759">
|
||||
<pre class="example" id="org43e18ca">
|
||||
# run
|
||||
cd Bindings/
|
||||
# list files
|
||||
@@ -837,7 +837,7 @@ that convert a go object to JSON string initially and converts it to
|
||||
</li>
|
||||
<li><a id="a-pseudo-code-to-refer-to-the-common-function-implementation-shape-could-be-represented-as"></a>A Pseudo code to refer to the common function implementation shape could be represented as:<br />
|
||||
<div class="outline-text-5" id="text-a-pseudo-code-to-refer-to-the-common-function-implementation-shape-could-be-represented-as">
|
||||
<pre class="example" id="orgca38d0d">
|
||||
<pre class="example" id="orgfc7fe39">
|
||||
func <Function name> (output *C.char) {
|
||||
<response>,<error> := <P2PRC function name>(<parameters if needed>)
|
||||
if <error> != nil {
|
||||
@@ -855,8 +855,8 @@ func <Function name> (output *C.char) {
|
||||
<h3 id="current-languages-supported"><span class="section-number-3">6.3.</span> Current languages supported</h3>
|
||||
<div class="outline-text-3" id="text-current-languages-supported">
|
||||
</div>
|
||||
<div id="outline-container-orgf9e8d26" class="outline-4">
|
||||
<h4 id="orgf9e8d26"><span class="section-number-4">6.3.1.</span> Python</h4>
|
||||
<div id="outline-container-orga857f83" class="outline-4">
|
||||
<h4 id="orga857f83"><span class="section-number-4">6.3.1.</span> Python</h4>
|
||||
<div class="outline-text-4" id="text-6-3-1">
|
||||
</div>
|
||||
<ol class="org-ol">
|
||||
@@ -893,8 +893,8 @@ called from other programming languages.
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
<div id="outline-container-org0c4094d" class="outline-4">
|
||||
<h4 id="org0c4094d"><span class="section-number-4">6.3.2.</span> Haskell</h4>
|
||||
<div id="outline-container-orgf0d5243" class="outline-4">
|
||||
<h4 id="orgf0d5243"><span class="section-number-4">6.3.2.</span> Haskell</h4>
|
||||
<div class="outline-text-4" id="text-6-3-2">
|
||||
<p>
|
||||
P2PRC officially supports Haskell bindings and will further support
|
||||
@@ -1006,7 +1006,7 @@ from the TURN server. The flow below describes the workflow.
|
||||
<li>Call <code>/FRPPort</code></li>
|
||||
</ul>
|
||||
|
||||
<pre class="example" id="org5df2368">
|
||||
<pre class="example" id="org19abd64">
|
||||
http://<turn server ip>:<server port no>/FRPport
|
||||
</pre>
|
||||
|
||||
@@ -1037,12 +1037,12 @@ func main() {
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org38e128d" class="outline-2">
|
||||
<h2 id="org38e128d"><span class="section-number-2">11.</span> Blog posts</h2>
|
||||
<div id="outline-container-orgefbf5e1" class="outline-2">
|
||||
<h2 id="orgefbf5e1"><span class="section-number-2">11.</span> Blog posts</h2>
|
||||
<div class="outline-text-2" id="text-11">
|
||||
</div>
|
||||
<div id="outline-container-org3c2441b" class="outline-3">
|
||||
<h3 id="org3c2441b"><span class="section-number-3">11.1.</span> Self host within 5 minutes any program</h3>
|
||||
<div id="outline-container-org0aff8a2" class="outline-3">
|
||||
<h3 id="org0aff8a2"><span class="section-number-3">11.1.</span> Self host within 5 minutes any program</h3>
|
||||
<div class="outline-text-3" id="text-11-1">
|
||||
<ul class="org-ul">
|
||||
<li>Author: <a href="http://akilan.io/">Akilan Selvacoumar</a></li>
|
||||
@@ -1054,7 +1054,7 @@ func main() {
|
||||
<li>Video tutorial:</li>
|
||||
</ul>
|
||||
|
||||
<div id="org92e0ec3" class="figure">
|
||||
<div id="org96fc14a" class="figure">
|
||||
<p><a href="https://youtu.be/rN4SiVowg5E" class="video"><img src="https://i3.ytimg.com/vi/rN4SiVowg5E/maxresdefault.jpg" alt="maxresdefault.jpg" class="video" /></a>
|
||||
</p>
|
||||
</div>
|
||||
@@ -1064,8 +1064,8 @@ This is a fun expirement for anyone to try to quickly run a server and
|
||||
quickly do a map port and domain name mapping in a single command.
|
||||
</p>
|
||||
</div>
|
||||
<div id="outline-container-orgfa625fe" class="outline-4">
|
||||
<h4 id="orgfa625fe"><span class="section-number-4">11.1.1.</span> 1. Find a program you want to run</h4>
|
||||
<div id="outline-container-orgc1cd454" class="outline-4">
|
||||
<h4 id="orgc1cd454"><span class="section-number-4">11.1.1.</span> 1. Find a program you want to run</h4>
|
||||
<div class="outline-text-4" id="text-11-1-1">
|
||||
<p>
|
||||
Let's try to setup a really easy program (Let's do with Linkwarden
|
||||
@@ -1074,7 +1074,7 @@ compose installed on your local machine.
|
||||
</p>
|
||||
</div>
|
||||
<ol class="org-ol">
|
||||
<li><a id="orgb28dcd6"></a>Let's run Linkwarden using docker compose and P2PRC<br />
|
||||
<li><a id="org29864ce"></a>Let's run Linkwarden using docker compose and P2PRC<br />
|
||||
<div class="outline-text-5" id="text-11-1-1-1">
|
||||
<p>
|
||||
<a href="https://docs.linkwarden.app/self-hosting/installation">Installation instructions</a>:
|
||||
@@ -1163,16 +1163,16 @@ ex: <a href="https://linkwarden.akilan.io">https://linkwarden.akilan.io</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org46a1b99" class="outline-2">
|
||||
<h2 id="org46a1b99"><span class="section-number-2">12.</span> Ideas for future potencial features</h2>
|
||||
<div id="outline-container-org6a05ac1" class="outline-2">
|
||||
<h2 id="org6a05ac1"><span class="section-number-2">12.</span> Ideas for future potencial features</h2>
|
||||
<div class="outline-text-2" id="text-12">
|
||||
<p>
|
||||
Consists of personal loideas for the future of P2PRC.
|
||||
At moment only has main contributors writiing to this.
|
||||
</p>
|
||||
</div>
|
||||
<div id="outline-container-org142d85b" class="outline-3">
|
||||
<h3 id="org142d85b"><span class="section-number-3">12.1.</span> To support hetrogenous set of Nodes that cannot run P2PRC</h3>
|
||||
<div id="outline-container-org2136819" class="outline-3">
|
||||
<h3 id="org2136819"><span class="section-number-3">12.1.</span> To support hetrogenous set of Nodes that cannot run P2PRC</h3>
|
||||
<div class="outline-text-3" id="text-12-1">
|
||||
<p>
|
||||
This stems from a personal issue I have when doing research
|
||||
@@ -1188,8 +1188,8 @@ and would introduce a new layer fault tolerance within a local
|
||||
network nodes.
|
||||
</p>
|
||||
</div>
|
||||
<div id="outline-container-org3e88acf" class="outline-4">
|
||||
<h4 id="org3e88acf"><span class="section-number-4">12.1.1.</span> Assumptions:</h4>
|
||||
<div id="outline-container-org8f98161" class="outline-4">
|
||||
<h4 id="org8f98161"><span class="section-number-4">12.1.1.</span> Assumptions:</h4>
|
||||
<div class="outline-text-4" id="text-12-1-1">
|
||||
<ul class="org-ul">
|
||||
<li>I have a Morello board that cannot run P2PRC</li>
|
||||
@@ -1202,8 +1202,8 @@ as well look into custom tasks into the hetrogenous hardware.</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org3ff0b6c" class="outline-4">
|
||||
<h4 id="org3ff0b6c"><span class="section-number-4">12.1.2.</span> Set of interesting possible:</h4>
|
||||
<div id="outline-container-org806bc11" class="outline-4">
|
||||
<h4 id="org806bc11"><span class="section-number-4">12.1.2.</span> Set of interesting possible:</h4>
|
||||
<div class="outline-text-4" id="text-12-1-2">
|
||||
<p>
|
||||
We build a cool set possibilities before and use this to build up the implementation
|
||||
@@ -1220,8 +1220,8 @@ weight hypervisors.</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-orgbaa7f26" class="outline-4">
|
||||
<h4 id="orgbaa7f26"><span class="section-number-4">12.1.3.</span> Implementation</h4>
|
||||
<div id="outline-container-org2df764e" class="outline-4">
|
||||
<h4 id="org2df764e"><span class="section-number-4">12.1.3.</span> Implementation</h4>
|
||||
<div class="outline-text-4" id="text-12-1-3">
|
||||
<ul class="org-ul">
|
||||
<li>To use implementations similar to <a href="https://linux.die.net/man/1/socat">socat</a> to ensure we can bind address of local
|
||||
@@ -1235,8 +1235,8 @@ other nodes can access the Morello board who have permission access.</li>
|
||||
</ul>
|
||||
|
||||
|
||||
<div id="orge45d36b" class="figure">
|
||||
<p><img src="./Docs/images/P2PRCRemoteNodes.png" alt="P2PRCRemoteNodes.png" />
|
||||
<div id="orga7ceb3b" class="figure">
|
||||
<p><img src="./images/P2PRCRemoteNodes.png" alt="P2PRCRemoteNodes.png" />
|
||||
</p>
|
||||
<p><span class="figure-number">Figure 1: </span>Implementation idea (To be improved upon)</p>
|
||||
</div>
|
||||
@@ -1247,7 +1247,7 @@ other nodes can access the Morello board who have permission access.</li>
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Akilan</p>
|
||||
<p class="date">Created: 2025-04-25 Fri 23:06</p>
|
||||
<p class="date">Created: 2025-04-25 Fri 23:17</p>
|
||||
<p class="validation"><a href="https://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
@@ -4,7 +4,7 @@
|
||||
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="style.css"/>
|
||||
|
||||
#+attr_html: :width 300px
|
||||
[[./artwork/p2prc-logos/Colored-On-Light-Image.png]]
|
||||
[[../artwork/p2prc-logos/Colored-On-Light-Image.png]]
|
||||
|
||||
* Guide through video
|
||||
*** The video below shows the setup and usage of P2PRC.
|
||||
@@ -367,7 +367,7 @@ to determine upload and download speeds. This valuable information enables users
|
||||
servers with optimal performance, enhancing their overall network experience.
|
||||
|
||||
#+caption: UML diagram of P2P module
|
||||
[[file:Docs/images/p2pmoduleArch.png]
|
||||
[[file:./images/p2pmoduleArch.png]
|
||||
|
||||
The peer to peer implementation was built from scratch. This is because
|
||||
other peer to peer libraries were on the implementation of the
|
||||
@@ -909,4 +909,4 @@ network nodes.
|
||||
other nodes can access the Morello board who have permission access.
|
||||
|
||||
#+CAPTION: Implementation idea (To be improved upon)
|
||||
[[./Docs/images/P2PRCRemoteNodes.png]]
|
||||
[[./images/P2PRCRemoteNodes.png]]
|
||||
Reference in New Issue
Block a user