{"id":19977976,"url":"https://github.com/ao-space/space-web","last_synced_at":"2025-05-04T03:31:01.989Z","repository":{"id":194461450,"uuid":"687302107","full_name":"ao-space/space-web","owner":"ao-space","description":"The client functions as the system's frontend, granting us with access to all functionalities of the AO.space.","archived":false,"fork":false,"pushed_at":"2023-12-13T14:05:35.000Z","size":9413,"stargazers_count":7,"open_issues_count":0,"forks_count":9,"subscribers_count":11,"default_branch":"dev","last_synced_at":"2025-04-08T02:51:16.453Z","etag":null,"topics":["css","html5","javascript","typescript","vue"],"latest_commit_sha":null,"homepage":"https://ao.space","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ao-space.png","metadata":{"files":{"readme":"README.md","changelog":null,"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-09-05T04:41:04.000Z","updated_at":"2025-02-24T15:51:18.000Z","dependencies_parsed_at":"2023-09-13T12:46:19.390Z","dependency_job_id":"31261733-3eab-46eb-9198-eadcef36be29","html_url":"https://github.com/ao-space/space-web","commit_stats":null,"previous_names":["ao-space/space-web"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ao-space%2Fspace-web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ao-space%2Fspace-web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ao-space%2Fspace-web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ao-space%2Fspace-web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ao-space","download_url":"https://codeload.github.com/ao-space/space-web/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252283577,"owners_count":21723503,"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":["css","html5","javascript","typescript","vue"],"created_at":"2024-11-13T03:29:57.983Z","updated_at":"2025-05-04T03:30:56.154Z","avatar_url":"https://github.com/ao-space.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# space-web\n\nEnglish | [简体中文](./README_cn.md)\n\n- [space-web](#space-web)\n  - [Introduction](#introduction)\n    - [Architecture Design](#architecture-design)\n    - [Development Instructions](#development-instructions)\n    - [Deployment Instructions](#deployment-instructions)\n  - [Contribution Guidelines](#contribution-guidelines)\n  - [Contact us](#contact-us)\n  - [Thanks for your contribution](#thanks-for-your-contribution)\n\n## Introduction\n\nThe client functions as the system's frontend, granting us with access to all functionalities of the AO.space. It encompasses Web, iOS, Android platforms, providing the following key modules:\n\n- End-to-End Encryption Channel\n- Files\n- Devices\n- Space Application\n- Developer Options\n- Security\n\n### Architecture Design\n\n![Alt text](image.png)\n\nspace-web is developed using JavaScript and utilizes technologies such as Vue3, Element-plus, Axios, Jsencrypt, and service-worker. The business layer includes pages such as login, quick login, mine, and homepage, and uses web localization technology to ensure smooth file operations.\n\n### Development Instructions\n\n1. Enter your working directory and run the command `git clone https://github.com/ao-space/space-web.git`.\n2. Enter the space-web directory `cd ./space-web`.\n3. Install dependencies by running `npm install`.\n4. Run `npm run dev` for development.\n5. This project is the web component of AO.space, and the server-side interface uses the [space-gateway](https://github.com/ao-space/space-gateway) interface. When developing, please modify the target property in the vite-dev file in the root directory to point to the space-gateway interface address.\nSee the following image for details.\n![Alt text](./img/image.png)\n\n### Deployment Instructions\n\n1. Determine the domain name exposed to the outside world for this project and the space-gateway interface domain name.\n2. If the domain name exposed to the outside world for this project and the space-gateway interface domain name are inconsistent, modify the baseurl of urlConfig in src/config/networkConfig.ts to the space-gateway interface domain name.\nSee the following image for details.\n![Alt text](./img/image-1.png)\n3. Run `docker build -t space-web .` in the project root directory.\n4. Run the packaged nginx image by executing the command `docker run -d --name space-web -p 80:80 space-web` (Refer to the Docker documentation for specific Docker commands).\n\n## Contribution Guidelines\n\nContributions to this project are very welcome. Here are some guidelines and suggestions to help you get involved in the project.\n\n[Contribution Guidelines](https://github.com/ao-space/ao.space/blob/dev/docs/en/contribution-guidelines.md)\n\n## Contact us\n\n- Email: \u003cdeveloper@ao.space\u003e\n- [Official Website](https://ao.space)\n- [Discussion group](https://slack.ao.space)\n\n## Thanks for your contribution\n\nFinally, thank you for your contribution to this project. We welcome contributions in all forms, including but not limited to code contributions, issue reports, feature requests, documentation writing, etc. We believe that with your help, this project will become more perfect and stronger.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fao-space%2Fspace-web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fao-space%2Fspace-web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fao-space%2Fspace-web/lists"}