{"id":13832877,"url":"https://github.com/MostroP2P/mostro-web","last_synced_at":"2025-07-09T20:30:44.443Z","repository":{"id":150570969,"uuid":"623033710","full_name":"MostroP2P/mostro-web","owner":"MostroP2P","description":"Mostro web client","archived":false,"fork":false,"pushed_at":"2025-03-11T02:59:28.000Z","size":3074,"stargazers_count":26,"open_issues_count":27,"forks_count":11,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-03-11T03:28:32.739Z","etag":null,"topics":["bitcoin","lightning-network","nostr","web-client"],"latest_commit_sha":null,"homepage":"https://mostro.network","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MostroP2P.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-03T14:59:43.000Z","updated_at":"2025-03-08T01:35:10.000Z","dependencies_parsed_at":"2023-12-16T05:00:13.627Z","dependency_job_id":"d809c978-c45e-4c23-bfed-deac15418d00","html_url":"https://github.com/MostroP2P/mostro-web","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/MostroP2P/mostro-web","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MostroP2P%2Fmostro-web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MostroP2P%2Fmostro-web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MostroP2P%2Fmostro-web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MostroP2P%2Fmostro-web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MostroP2P","download_url":"https://codeload.github.com/MostroP2P/mostro-web/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MostroP2P%2Fmostro-web/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264502642,"owners_count":23618663,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bitcoin","lightning-network","nostr","web-client"],"created_at":"2024-08-04T11:00:32.641Z","updated_at":"2025-07-09T20:30:44.115Z","avatar_url":"https://github.com/MostroP2P.png","language":"Vue","funding_links":[],"categories":["Peer-to-peer markets"],"sub_categories":["Client reviews and/or comparisons"],"readme":"## Mostro Web\n\nSuper early version of a web client for the [Mostro](https://github.com/MostroP2P/mostro) P2P System.\n\nThis project is a web interface that facilitates peer-to-peer bitcoin trading over the lightning network ⚡️ using nostr 🦩. The lightning network is a layer 2 scaling solution for bitcoin that enables fast and low-cost transactions.\n\n### Prerequisites\n\n#### Node.js and NPM\nNode.js: Recommended version: `v20.15.1`\n\nNPM: Recommended version: `10.7.0`\n\n#### Mostro\n* Clone [Mostro](https://github.com/MostroP2P/mostro)\n* See detailed instructions [here](https://github.com/MostroP2P/mostro?tab=readme-ov-file#requirements)\n\n### Installation\n#### 1- Clone the repository\n```bash\ngit clone git@github.com:MostroP2P/mostro-web.git\n```\n\n#### 2- Install Node Dependencies\n```bash\nnpm install\n```\n#### 3 - Set up configuration\n- Create a new environment file by `cp .env-sample .env`. Here you'll want to set 2 environment variables:\n\n- `RELAYS`: A comma separated list of relays URLs. For example:\n```bash\nRELAYS=wss://relay.mostro.network,wss://relay.nostr.net\n```\n- `MOSTRO_PUB_KEY`: This is the identity of the mostro daemon you want to interact with and should match the private key (nsec) you specified in `mostro`. For example:\n```bash\nMOSTRO_PUB_KEY=npub19m9laul6k463czdacwx5ta4ap43nlf3lr0p99mqugnz8mdz7wtvskkm5wg\n```\n\nOnce this is set, just run `source .env` to load these environment variables.\n\n**Obs.** It is also possible, and sometimes desirable to run a private relay. There are instructions on how to do this with a docker container in the [mostro]([https://github.com/MostroP2P/mostro](https://github.com/MostroP2P/mostro?tab=readme-ov-file#option-1-run-mostro-with-a-private-dockerized-relay)) repository.\n\n### 4. Run it\n```bash\n$ npm run dev\n```\n\nThat's it! 🎉\n\nFor detailed explanation on how things work, check out the [documentation](https://nuxtjs.org).\n\n### Features\n-   [x] Posts Orders (Buy \u0026 Sell)\n-   [x] Displays order list\n-   [x] Decodes DMs from mostro\n-   [x] Buy flow (maker / market rate)\n-   [x] Buy flow (maker / fixed price)\n-   [x] Sell flow (maker / market rate)\n-   [x] Sell flow (maker / fixed price)\n-   [x] Buy flow (taker / market rate)\n-   [x] Buy flow (taker / fixed price)\n-   [x] Sell flow (taker / market rate)\n-   [x] Sell flow (taker / fixed price)\n-   [x] Handling multiple relays\n-   [x] NIP-07 for key management\n-   [x] Persisting old events\n-   [x] Direct message with peers\n-   [x] Disputes\n-   [ ] NIP59 support\n\n### Generic Nuxt Scripts\nThis is a Nuxt 3 project, and as such you have these scripts to build an SSR ready version and/or generate a static release.\n\n```bash\n# Production build and version generation\n# There's no need to run this every time, but run this at least once \n# before running `npm run dev`\n$ npm run build\n\n# serve with hot reload at localhost:3000\n$ npm run dev\n\n# build for production and launch server\n$ npm run build\n$ npm run start\n\n# generate static project\n$ npm run generate\n```\n\n### License\n\nThis project is licensed under the MIT License 📜. See the `LICENSE` file for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMostroP2P%2Fmostro-web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FMostroP2P%2Fmostro-web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMostroP2P%2Fmostro-web/lists"}