Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pine/emotions
:smile: Change avatar's emotion everyday.
https://github.com/pine/emotions
java spring-batch spring-boot
Last synced: 26 days ago
JSON representation
:smile: Change avatar's emotion everyday.
- Host: GitHub
- URL: https://github.com/pine/emotions
- Owner: pine
- License: mit
- Created: 2019-02-16T19:27:20.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2022-11-22T05:52:28.000Z (almost 2 years ago)
- Last Synced: 2024-04-15T15:34:27.371Z (7 months ago)
- Topics: java, spring-batch, spring-boot
- Language: Java
- Homepage:
- Size: 851 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# emotions [![CircleCI](https://circleci.com/gh/pine/emotions/tree/main.svg?style=shield&circle-token=9aff416dfaefc86bc002a0b7630386b32079fd88)](https://circleci.com/gh/pine/emotions/tree/main) [![codecov](https://codecov.io/gh/pine/emotions/branch/master/graph/badge.svg)](https://codecov.io/gh/pine/emotions)
:smile: Change avatar's emotion everyday.![](images/resized.jpg)
© shihina/123RF.COM
## Requirements
- JDK 17 or later
## Libraries
- Spring Boot 2
- Spring Batch## Supported services
- [Bookmeter](https://bookmeter.com/)
- [Gravatar](https://gravatar.com/)
- [GitHub](https://github.com/)
- [Qiita](https://qiita.com/)
- [Twitter](https://twitter.com)## Development
### JDK
For macOS users.```
$ brew install --cask temurin17
```### Gravatar
You should set `gravatar.images` properties when the app runs.Please try the following commands after set `GRAVATAR_EMAIL`, `GRAVATAR_PASSWORD` environment variables.
```
$ ./gradlew :tool-gravatar:bootRun
```### Encrypt credentials with Jasypt
To encrypt plain text with Jasypt, please use the command below.```sh
$ bin/encrypt.sh \
algorithm=PBEWITHHMACSHA512ANDAES_256 \
ivGeneratorClassName=org.jasypt.iv.RandomIvGenerator \
password= \
input=
```### Run Spring Batch's job
`` is defined in [BatchConfiguration.java](app/src/main/java/moe/pine/emotions/app/config/BatchConfiguration.java).#### Using Gradle
```bash
$ ./gradlew :app:bootRun --args='--spring.batch.job.names='
```#### Using .jar file
```bash
$ ./gradlew :app:bootJar
$ java -jar -jar app/build/libs/app.jar \
--jasypt.encryptor.password= \
--spring.batch.job.names=
```## License
MIT © [Pine Mizune](https://profile.pine.moe/)