### Expose the api to the web using Ngrok Source: https://github.com/akave-ai/akavelink/blob/main/README.md Installs Ngrok and exposes the local API running on port 8000 to the web. ```bash ngrok http 8000 ``` -------------------------------- ### Expose the api to the web using Cloudflare Tunnel Source: https://github.com/akave-ai/akavelink/blob/main/README.md Installs Cloudflare Tunnel and exposes the local API running on port 8000 to the web. ```bash cloudflared tunnel --url http://localhost:8000 ``` -------------------------------- ### Get File Info Response Source: https://github.com/akave-ai/akavelink/blob/main/README.md The JSON response when getting metadata about a specific file. ```json { "success": true, "data": { "Name": "string", "Size": "number", "Created": "timestamp" } } ``` -------------------------------- ### Run the container to serve a personal api Source: https://github.com/akave-ai/akavelink/blob/main/README.md Runs the Akavelink container, mapping port 8000 to 3000 and setting essential environment variables. ```bash docker run -d \ -p 8000:3000 \ -e NODE_ADDRESS="connect.akave.ai:5500" \ -e PRIVATE_KEY="your_private_key" \ akave/akavelink:latest ``` -------------------------------- ### Create Bucket Response Source: https://github.com/akave-ai/akavelink/blob/main/README.md The JSON response after successfully creating a bucket. ```json { "success": true, "data": { "Name": "string", "Created": "timestamp" } } ``` -------------------------------- ### Pull the Akavelink docker image Source: https://github.com/akave-ai/akavelink/blob/main/README.md Pulls the latest Akavelink docker image from Docker Hub. ```bash docker pull akave/akavelink:latest ``` -------------------------------- ### List Files Response Source: https://github.com/akave-ai/akavelink/blob/main/README.md The JSON response when listing files in a specific bucket. ```json { "success": true, "data": [ { "Name": "string", "Size": "number", "Created": "timestamp" } ] } ``` -------------------------------- ### Create Bucket Request Body Source: https://github.com/akave-ai/akavelink/blob/main/README.md The JSON request body for creating a new bucket. ```json { "bucketName": "string" } ``` -------------------------------- ### List Buckets Response Source: https://github.com/akave-ai/akavelink/blob/main/README.md The JSON response when listing all buckets. ```json { "success": true, "data": [ { "Name": "string", "Created": "timestamp" } ] } ``` -------------------------------- ### Upload File Response Source: https://github.com/akave-ai/akavelink/blob/main/README.md The JSON response after successfully uploading a file. ```json { "success": true, "data": { "Name": "string", "Size": "number" } } ``` -------------------------------- ### Download File Error Response Source: https://github.com/akave-ai/akavelink/blob/main/README.md The JSON response format for errors during file download. ```json { "success": false, "error": "error message" } ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.