BeamNG.Earth
BeamNG.drive용 1:1 비율 실시간 지구, 실제 고도·위성 이미지·부동 원점·보조 서버에서 LOD 스트리밍
Company of Heroes 3 통계·리더보드·플레이어 카드·과거 경기·유닛·DPS 계산·전투그룹·무기·실시간 게임·최신 뉴스 제공
Company of Heroes 3 Stats. Leaderboards, Player Card, Past Matches, Unit stats, DPS Calculator, Battlegroup Explorer, Weapons explorer, Current Live Games, Latest COH3 News, latest YouTube and Twitch
게임TypeScript · JavaScriptGitHub @cohstats온라인운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
COH3 Stats - Leaderboards, PlayerCards, Matches, Statistics for players, Unit stats and much more!
저장소 README에서 가져옴
README 전체를 불러오는 중입니다. 아래는 저장된 발췌입니다.
We are looking not only for developers but anyone who would like to contribute
in building the best site with most info for Company of Heroes 3. All the data will
be open source for anyone to use! We need people to get the data from the game
/ organize the data. Come up with layouts and much more.
Anyone can put a hand in building this site. Please consider joining our Discord.
We have open sourced our underlying data https://coh3stats.com/other/open-dataREADME 전문 보기 ↗Website https://coh3stats.com/
We are looking not only for developers but anyone who would like to contribute in building the best site with most info for Company of Heroes 3. All the data will be open source for anyone to use! We need people to get the data from the game / organize the data. Come up with layouts and much more.
Anyone can put a hand in building this site. Please consider joining our Discord.
We publish open source data https://coh3stats.com/other/open-data
The website supports multiple languages through locale files located in public/locales. English (EN) is the source of truth for all translations.
To contribute translations:
public/locales directorypublic/locales/enMaster branch is deployed to https://dev.coh3stats.com/
First install dependencies:
yarn install
Run the development server:
yarn dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying pages/index.tsx. The page auto-updates as you edit the file.
Before making an MR please create an issue describing what you want to change and how you want to change it so we can have some discussion. Furthermore, it avoids multiple people working on the same thing.
Feel free to create a fork and make an PR. Before PR you can test your code with yarn build to make sure it builds.
You can also run yarn build:slim to build the app without prerendering all the pages. This is useful for faster development.
Also make sure the prettier is right yarn fix and yarn test
Development conventions:
- instead of camelCase. Eg color-scheme-toggle.tsxpages (includes SSR code, data fetching, etc)screens (includes the UI code)components (includes the UI code which is reused across the app)Maps are specified in https://github.com/cohstats/coh3-stats/blob/master/src/coh3/coh3-data.ts#L284
You can use the function getIconsPathOnCDN where you can pass the image name or the full path and it should automatically resolve it on our hosting https://github.com/cohstats/coh3-stats/blob/master/src/utils.ts#L22 If the image is not found there, you can always add it to the /public folder.
See src/news/README.md for instructions on adding site news articles (including images and opening a PR).
You can run the automated workflow in GitHub for this.
Or manually you can do the following:
yarn buildyarn sitemappublic/sitemap.xmlnext-sitemap.config.jsFor more info see readme at https://www.npmjs.com/package/next-sitemap
We have a special script for that.
npx --yes ts-node --compiler-options "{\"module\":\"commonjs\"}" scripts/unit-paths.ts > unit-paths.txt
https://nextjs.org/docs/basic-features/data-fetching/get-server-side-props.
Example pages:
Example pages:
App platform:
Frontend:
Backend: