{"id":13639564,"url":"https://github.com/worpet-bildet/portal","last_synced_at":"2025-04-19T22:33:06.341Z","repository":{"id":151063840,"uuid":"535717828","full_name":"worpet-bildet/portal","owner":"worpet-bildet","description":"Sovereign social media on Urbit","archived":false,"fork":false,"pushed_at":"2023-10-19T08:17:50.000Z","size":16654,"stargazers_count":12,"open_issues_count":2,"forks_count":2,"subscribers_count":4,"default_branch":"develop","last_synced_at":"2024-08-03T01:15:03.625Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://x.com/portal__gm","language":"hoon","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/worpet-bildet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2022-09-12T14:55:11.000Z","updated_at":"2024-04-12T03:21:20.000Z","dependencies_parsed_at":"2023-10-17T11:01:11.375Z","dependency_job_id":null,"html_url":"https://github.com/worpet-bildet/portal","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/worpet-bildet%2Fportal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/worpet-bildet%2Fportal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/worpet-bildet%2Fportal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/worpet-bildet%2Fportal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/worpet-bildet","download_url":"https://codeload.github.com/worpet-bildet/portal/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223810528,"owners_count":17206784,"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":[],"created_at":"2024-08-02T01:01:02.132Z","updated_at":"2024-11-09T09:31:12.119Z","avatar_url":"https://github.com/worpet-bildet.png","language":"hoon","funding_links":[],"categories":["Archive"],"sub_categories":["Applications"],"readme":"# Portal\n\n### A tool for decentralized curation and discovery of Urbit applications\n\nFor details see:\nhttps://github.com/urbit/urbit.org/blob/master/content/grants/app-store.md\n\nFor discussion, visit on Urbit:\n~worpet-bildet/portal\n\n## Setup\n\n## UI Prereqs\n\n- Node JS- [https://nodejs.org/en/download/](https://nodejs.org/en/download/). install with `sudo apt install nodejs`\n\n- This project uses [pnpm](https://github.com/pnpm/pnpm) for package management, but any of these will work for node version management. install it with `wget -qO- https://get.pnpm.io/install.sh | ENV=\"~/.bashrc\" SHELL=\"$(which bash)\" bash -`\n\nTo install n with npm:\n\n  ```\n  sudo apt install npm\n  npm install -g n\n  ```\n\n- Select node version `16.14.0` with `pnpm env use --global 16.14.0`. You can check which version you're on with `node -v`\n\n## UI Usage\n\n```\ncd ui\n```\n\nInstall deps:\n\n```\npnpm install\n```\n\nBuild app:\n\n```\npnpm build\n```\n\nRun local app dev server:\n\n```\npnpm dev\n```\n\n\n## Desk Setup\n\nApp Store is not yet published on Urbit, but it is easy to boot a fake ship and play with it.\n\ninstall urbit\n\n`curl -L https://urbit.org/install/linux-x86_64/latest | tar xzk --transform='s/.*/urbit/g' \u0026\u0026 ./urbit`\n\nboot a comet\n\n`./urbit -c mycomet`\n\nwhen you finish booting, the stdout should tell you the port where the ship is hosted, e.g. \"web interface http://localhost:8081\". define SHIP_URL in vite.config.js with this value\n\nRun:\n\nYou should add a desk.ship file to portal desk with the ship which represents you local indexer used in development.\n\n```\n|new-desk %portal\n|mount %portal\n```\n\nDownload the zip file from github, and extract it to your fake ship. Delete the app-store desk, and rename the downloaded folder into \"app-store\". Then:\n\n```\n|commit %portal\n|install our %portal\n```\n\non nuke\n\n```\n|nuke %portal, =desk \u0026\n|rein %portal [\u0026 %portal-manager]\n```\n\n\u003e To seed %portal data, see commands in /portal/notes\n\n## How to Glob\n\n### The Proper Way\n\n1. build the dist folder pnpm build-prod\n2. add the dist folder to /your-urbit/portal/app/\n3. `|commit %portal`\n4. If you have any \"missing mark files\" grab them from the urbit git repo and put them in the /your-urbit/trove/app/mar folder\n5. -garden!make-glob %desk /path/to/dist (e.g. -garden!make-glob %portal /app/dist)\n6. find glob in /your-pier/.urb/put, store on cloud\n7. update desk.docket-0 file glob-http url and hash as below\n\n### The Quick 'n' Dirty Way\n\n1. build the dist folder `npm run build`\n2. Login to https://worpet-bildet.arvo.network/\n3. Navigate to https://worpet-bildet.arvo.network/docket/upload\n4. Select portal from the dropdown\n5. Select the `dist` folder that was just created by `npm run build` on your local machine\n6. Click glob button\n7. Wait for the page to refresh (takes literally a minute or more sometimes)\n8. Wait another minute or two for Urbit to be Urbit\n9. Check that your changes have been deployed by navigating to the app\n\n## setting up indexers\n\ndesk.ship is where you POST your feedposts to (so you don't want this to be ~worpet-bildet!)\nYou make a local portal/portal/desk.ship\nIt will be gitignored\ncopy that to mars and commit it\n\nthe .env var is where you LOAD your feedposts from (so this can be ~worpet-bildet)\nedit .env.local VITE_INDEXER\nsource .env.local\nnpm run dev\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fworpet-bildet%2Fportal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fworpet-bildet%2Fportal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fworpet-bildet%2Fportal/lists"}