MyGo 云音乐
Go와 MyGo로 만든 서드파티 네이버 클라우드 뮤직 데스크톱 클라이언트
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기The public home page of podcastindex.org
저장소 README에서 가져옴
README 전체를 불러오는 중입니다. 아래는 저장된 발췌입니다.
Podcast Web UI is a project that houses the code for the React app and express server for podcastindex.org.
• Landing page for PodcastIndex.
• Search for podcasts in index.
• Simple podcast player for listening.
• List of apps using the PodcastIndex.
• Documentation and developer login for credential management.
The project is split into two folders, ui, and server.README 전문 보기 ↗Podcast Web UI is a project that houses the code for the React app and express server for podcastindex.org.
The project is split into two folders, ui, and server.
.
├── ...
├── ui
│ ├── public # Static files for index.html and favicon
│ ├── fonts # Fonts used in the UI
│ ├── images # Images and icons that are part of the UI
│ └── src # All React and client code
├── server
│ ├── assets # static files that are dynamically updated
│ ├── data # static data files (ie. json) that are dynamically updated
│ └── index.js # express app that serves the UI and is a reverse proxy (replaces need for NGINX)
└── ...
The folder ui houses all the React and client based code and assets.
The folder server houses all of the API, static server data, and the reverse proxy to the PodcastIndex API using comster/podcast-index-api.
data and assetsThe reason to build a custom express server for serving React and other data is due to the need for script updated .json files and dynamically adding apps to the /apps page. This data should not be bundled with the client compiled code.
The custom express server also is used to reverse proxy requests through the same domain to prevent CORS issues. Using the same domain to server up the UI content and to send api requests prevents CORS issues in modern browsers.
git clone https://github.com/Podcastindex-org/web-ui.git && cd "$(basename "$_" .git)"
cp .env-example .environments/.env.development # Generate a .env for development
cp .env-example .env # Generate a .env for yarn/npm start
# Generate a new .env for production
sed s/NODE_ENV=development/NODE_ENV=production/ .env-example > .environments/.env.production
nvm use # If you want to use .nvmrc Node.js version
corepack -v # Check version and instalattion
export COREPACK_ENABLE_DOWNLOAD_PROMPT=0 # Disable download prompt
corepack enable # Enable dependency
The dev, build and production scripts run webpack with NODE_OPTIONS=--openssl-legacy-provider, because webpack 4 hashes with MD4, which OpenSSL 3 (Node 17+) disables by default. If you run webpack directly, set it yourself.
You should see a .env-example file. Copy this into:
.env. For yarn start .environments/ and change the -example to .development and/or .production.The files .env* should be on .gitignore and are needed to set the API_KEY, API_SECRET, API_ADD_KEY and API_ADD_SECRET variables.
In order to have the UI hot reload for development, we utilized webpack-dev-server this allows for easier debugging, etc. In order for the dev-server to connect to the API, you must first have set the .env* file variables and have started the server with yarn start
# Install dependencies
yarn install
# Start dev server
yarn run dev
# Or if you are using docker (to bind to 0.0.0.0 instead of loopback)
# yarn run dev:docker
# Start the node server in another terminal window.
yarn run start
To start the server, simply run after setting the .environments/.env.production and .env files.
Note: Make sure to set NODE_ENV=production in .env.production and .env files.
The below script will compile the code and then start the node server.
npm run build
npm start
Or use:
yarn run production