simplyroba / pixoo-bridge Goto Github PK
View Code? Open in Web Editor NEWSmall docker image to communicate with a network enabled pixoo LED dot matrix.
License: GNU General Public License v3.0
Small docker image to communicate with a network enabled pixoo LED dot matrix.
License: GNU General Public License v3.0
RUN addgroup -S demo && adduser -S demo -G demo
USER demo
https://www.baeldung.com/linux/docker-alpine-add-user
https://stackoverflow.com/questions/44683119/dockerfile-replicate-the-host-user-uid-and-gid-to-the-image
Faster startup
https://spring.io/guides/topicals/spring-boot-docker/#a-better-dockerfile
https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#container-images.dockerfiles
FROM eclipse-temurin:17-jre as builder
WORKDIR application
ARG JAR_FILE=target/*.jar
COPY ${JAR_FILE} application.jar
RUN java -Djarmode=layertools -jar application.jar extract
FROM eclipse-temurin:17-jre
WORKDIR application
COPY --from=builder application/dependencies/ ./
COPY --from=builder application/spring-boot-loader/ ./
COPY --from=builder application/snapshot-dependencies/ ./
COPY --from=builder application/application/ ./
ENTRYPOINT ["java", "org.springframework.boot.loader.JarLauncher"]
TODOs before
https://github.com/diffplug/spotless
plugins { id("com.diffplug.spotless") }
repositories { mavenCentral() }
spotless {
format("misc") {
target("**/*.yml", "**/*.yaml", ".gitignore",)
targetExclude("**/build/**/*", "**/.idea/**")
trimTrailingWhitespace()
endWithNewline()
indentWithSpaces(2)
}
kotlin {
target("**/src/**/*.kt", "**/src/**/*.kts", "**/buildSrc/**/*.kts")
targetExclude("**/build/**/*.kts", "**/build/**/*.kt")
ktfmt().googleStyle()
indentWithSpaces(2)
}
kotlinGradle {
target("**/*.gradle.kts")
targetExclude("**/build/**/*.gradle.kts")
ktfmt().googleStyle()
}
freshmark { target("*.md") }
}
https://gist.github.com/mihkels/f19ea45e4d05b7741569d7575f5f7026
https://github.com/docker/setup-qemu-action
https://github.com/docker/setup-buildx-action
https://github.com/docker/metadata-action
https://github.com/docker/login-action
https://github.com/docker/build-push-action
https://docs.docker.com/build/ci/github-actions/multi-platform/
https://spring.io/guides/topicals/spring-boot-docker/
# platforms: linux/amd64,linux/arm64,linux/riscv64,linux/ppc64le,linux/s390x,linux/386,linux/mips64le,linux/mips64,linux/arm/v7,linux/arm/v6
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6
This can happen if the pixxo was restarted or lost connection to the wifi.
The bridge should handle such case and reconnect to the pixoo and execute the command again.
for example with https://github.com/mikepenz/action-junit-report
tag can be used to make release
Is your feature request related to a problem? Please describe.
Uploading an image needs always to download the image to the client first.
Describe the solution you'd like
Pass a url to the bridge, so the image can be downloaded there get resized and uploaded to the pixoo.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.