This repository is deprecated. Please check out hknews.
Category | Measurement |
---|---|
Pipeline | |
Quality | |
Coverage | |
Ratings | |
Security | |
Miscellaneous |
Serves aggregated news from 10+ local news publishers in Hong Kong. Made with ❤
- Support text, image and video news
- Read news from 10+ local news publishers
- No ads. We hate ads as much as you do
- Apple Daily (蘋果日報)
- Oriental Daily (東方日報)
- Sing Tao (星島日報)
- Hong Kong Economic Times (經濟日報)
- Sing Pao (成報)
- Ming Pao (明報)
- Headline (頭條日報)
- Sky Post (晴報)
- Hong Kong Economic Journal (信報)
- RTHK (香港電台)
- South China Morning Post (南華早報)
- The Standard (英文虎報)
- Wen Wei Po (文匯報)
View interactive API documentation
* JDK 8, 9 and 10 also work. JDK 11 is used here for better runtime performance.
- Start the server
export SPRING_PROFILES_ACTIVE=development ./gradlew bootRun
- Test specific API
curl http://localhost:8080/sources
- Export SSL certificate key for using HTTPS
export SSL_KEY=x123y456
- Export Instrumental API key for using sending system metrics to cloud service
export INSTRUMENTAL_API_KEY=a111b222
- Export Logz.io token for using sending application logs to cloud service
export LOGZIO_TOKEN=abcdef
- Start the server
java -server -Xverify:none -Xms256m -Xmx512m -Xss512k -XX:+ScavengeBeforeFullGC -XX:+CMSScavengeBeforeRemark -Dfile.encoding=UTF-8 -Dserver.ssl.key-store-password=${SSL_KEY} -Dserver.ssl.trust-store-password=${SSL_KEY} -Dspring.profiles.active=production -jar ./build/libs/hknews-backend-1.2.3.jar
- Test specific API
curl https://hknews.dev/sources
This software is made with the support of open source projects:
- Spring Boot
- Spring Data
- Spring Data MongoDB
- Undertow
- OkHttp
- Retrofit
- Apache Commons Lang
- Project Lombok
- JSON
- Gson
- JUnit
- Mockito
- Checkstyle
- SpotBugs
- JaCoCo
- OWASP Dependency Check
... and closed source services: