alvin's avatar
alvin
alvin@habla.news
npub1ansj...epd5
#antiespecista #abolicionista #anarquista #anticapitalista Montevideo Uruguay
alvin's avatar
alvin 1 year ago
Debate Donald Trump vs. Kamala Harris #music #catsanddogs #Springfield #humor #Trump #cats #dogs #govegan
alvin's avatar
alvin 1 year ago
Si hacen click en alvin.npub.pro Qué les aparece ??
alvin's avatar
alvin 1 year ago
Luego de más de un año vengo a hacer una pequeña #presentacion #presentation Hola soy Alvaro nacido en 1967 en #Montevideo #Uruguay , profesión fotógrafo ,panadero autodidacta. Estudié ingeniería en sistemas de computación por 2 años y 3 años de ciclo básico de Química ..nunca me gradué de esas carreras. Vegano antiespecista abolicionista,activista por los derechos de los animales , voluntario de un santuario de gallos,gallinas y alguna otra ave. Surfeo en la red desde aproximadamente el año 2006,tengo cuenta activa en X ,instagram , bluesky y mastodon .
alvin's avatar
alvin 1 year ago
Fuente: # WoT Relay WOT Relay is a Nostr relay that saves all the notes that people you follow, and people they follow are posting. It's built on the [Khatru](https://khatru.nostr.technology) framework. # Available Relays Don't want to run the relay, just want to connect to some? Here are some available relays: - [wss://wot.utxo.one](https://wot.utxo.one) - [wss://nostrelites.org](https://nostrelites.org) - [wss://wot.nostr.party](https://wot.nostr.party) - [wss://wot.sovbit.host](https://wot.sovbit.host) - [wss://wot.girino.org](https://wot.girino.org) - [wss://relay.lnau.net](https://relay.lnau.net) - [wss://wot.siamstr.com](https://wot.siamstr.com) - [wss://wot.sudocarlos.com](https://wot.sudocarlos.com) - [wss://relay.otherstuff.fyi](https://relay.otherstuff.fyi) ## Prerequisites - **Go**: Ensure you have Go installed on your system. You can download it from [here](https://golang.org/dl/). - **Build Essentials**: If you're using Linux, you may need to install build essentials. You can do this by running `sudo apt install build-essential`. ## Setup Instructions Follow these steps to get the WOT Relay running on your local machine: ### 1. Clone the repository ```bash git clone cd wot-relay ``` ### 2. Copy `.env.example` to `.env` You'll need to create an `.env` file based on the example provided in the repository. ```bash cp .env.example .env ``` ### 3. Set your environment variables Open the `.env` file and set the necessary environment variables. Example variables include: ```bash RELAY_NAME="YourRelayName" RELAY_PUBKEY="YourPublicKey" RELAY_DESCRIPTION="Your relay description" DB_PATH="/home/ubuntu/wot-relay/db" # any path you would like the database to be saved. INDEX_PATH="/home/ubuntu/wot-relay/templates/index.html" # path to the index.html file STATIC_PATH="/home/ubuntu/wot-relay/templates/static" # path to the static folder REFRESH_INTERVAL_HOURS=24 # interval in hours to refresh the web of trust MINIMUM_FOLLOWERS=3 #how many followers before they're allowed in the WoT ``` ### 4. Build the project Run the following command to build the relay: ```bash go build ``` ### 5. Create a Systemd Service (optional) To have the relay run as a service, create a systemd unit file. Here's an example: 1. Create the file: ```bash sudo nano /etc/systemd/system/wot-relay.service ``` 2. Add the following contents: ```ini [Unit] Description=WOT Relay Service After=network.target [Service] ExecStart=/home/ubuntu/wot-relay/wot-relay #change this to your path WorkingDirectory=/home/ubuntu/wot-relay #change this to your path Restart=always [Install] WantedBy=multi-user.target ``` Replace `/path/to/` with the actual paths where you cloned the repository and stored the `.env` file. 3. Reload systemd to recognize the new service: ```bash sudo systemctl daemon-reload ``` 4. Start the service: ```bash sudo systemctl start wot-relay ``` 5. (Optional) Enable the service to start on boot: ```bash sudo systemctl enable wot-relay ``` #### Permission Issues on Some Systems the relay may not have permissions to read and write to the database. To fix this, you can change the permissions of the database folder: ```bash sudo chmod -R 777 /path/to/db ``` ### 6. Serving over nginx (optional) You can serve the relay over nginx by adding the following configuration to your nginx configuration file: ```nginx server { listen 80; server_name yourdomain.com; location / { proxy_pass http://localhost:3334; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; } } ``` Replace `yourdomain.com` with your actual domain name. After adding the configuration, restart nginx: ```bash sudo systemctl restart nginx ``` ### 7. Install Certbot (optional) If you want to serve the relay over HTTPS, you can use Certbot to generate an SSL certificate. ```bash sudo apt-get update sudo apt-get install certbot python3-certbot-nginx ``` After installing Certbot, run the following command to generate an SSL certificate: ```bash sudo certbot --nginx ``` Follow the instructions to generate the certificate. ### 8. Access the relay Once everything is set up, the relay will be running on `localhost:3334` or your domain name if you set up nginx. ## Start the Project with Docker Compose To start the project using Docker Compose, follow these steps: 1. Ensure Docker and Docker Compose are installed on your system. 2. Navigate to the project directory. 3. Ensure the `.env` file is present in the project directory and has the necessary environment variables set. 4. You can also change the paths of the `db` folder and `templates` folder in the `docker-compose.yml` file. ```yaml volumes: - "./db:/app/db" # only change the left side before the colon - "./templates/index.html:/app/templates/index.html" # only change the left side before the colon - "./templates/static:/app/templates/static" # only change the left side before the colon ``` 5. Run the following command: ```sh # in foreground docker compose up --build # in background docker compose up --build -d ``` 6. For updating the relay, run the following command: ```sh git pull docker compose build --no-cache # in foreground docker compose up # in background docker compose up -d ``` This will build the Docker image and start the `wot-relay` service as defined in the `docker-compose.yml` file. The application will be accessible on port 3334. ### 7. Hidden Service with Tor (optional) Same as the step 6, but with the following command: ```sh # in foreground docker compose -f docker-compose.tor.yml up --build # in background docker compose -f docker-compose.tor.yml up --build -d ``` You can find the onion address here: `tor/data/relay/hostname` ### 8. Access the relay Once everything is set up, the relay will be running on `localhost:3334`. ```bash http://localhost:3334 ``` ## License This project is licensed under the MIT License.
alvin's avatar
alvin 1 year ago
Llegaron los videos a Bluesky , por si le importa a alguien 😀
alvin's avatar
alvin 1 year ago
$boost y $prism siguen funcionando ?? alguien me lo puede recordar , cómo se usaba ???
alvin's avatar
alvin 1 year ago
Usan Gossip? Es para compu nada más ... Tienen algún review,manual , tips o tutoriales de yt ( u otra ..mientras tenga [cc] en español Saben de alguien que use .. Compartan data , cómo se usa ,ventajas , desventajas... Gracias 🫂 Los leo ⬇️
alvin's avatar
alvin 1 year ago
No sé quién me lee y quién no ... Cambié los relays en los cuales lo hacía debido a el constante ataque de estos bots raros . Si me estás leyendo ... interactúa con esta publicación de alguna manera Dando un $boost ...léase como repostear Dejá una reacción : 🧉🤔👏🏼 O me podés poner unos sats ⚡⚡⚡..que la economía por acá anda media pa'bajo Gracias, saludos desde Montevideo Uruguay 🇺🇾🧉
alvin's avatar
alvin 1 year ago
Aviso al respecto de esta tormenta de spam note16k9h3xhn7jqdytse57gxdzvk2lafa6teqvr6rqjxrzvjr2mr4pkqg6lmyd
alvin's avatar
alvin 1 year ago
@Derek Ross Hola ,sorry no speak English// Qué sucede con el tema de estas cuentas que responden a todo y todos .... A qué se debe ,y quién soltó a este monstruo.? Entre mis contactos es un tal #ReplyGuy ..pero he visto otros que ni nombre tienen usan solo el npub. Gracias, saludos desde Montevideo Uruguay 🇺🇾🧉
alvin's avatar
alvin 1 year ago
No hay nadie viendo como resolver el problema de ReplyGuy ?? es bastante molesto .... Alguien que molesta ,y después aparece con la $olución me parece ...un truco muy viejo pero efectivo...y también poco ético
alvin's avatar
alvin 1 year ago
GM⛅ buenos días 🌦️ Así como está el #zapathon ...podríamos inventar uno para hacer los sábados,digamos a las 9p.m. UTC #satsturday #zapurday #satsbathon ...⚡⚡⚡ O comenten con que nombre y hora les parece??
alvin's avatar
alvin 1 year ago
Lo que no he visto en nostr todavía,capaz que hay y no lo he visto ,es una app o sitio que tenga pronóstico de tiempo de todo el mundo , no sería mala idea ... Y así como podemos dejar notas georeferenciadas ,podríamos contar un poco de como está el tiempo en nuestro país , región o ciudad #dev #weather #global #español #ñ #eñe Saludos desde #Uruguay