Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
76524db
local environment
kimurash Mar 20, 2026
99d4f4a
webpack production mode
kimurash Mar 20, 2026
ba376b4
devtool source map
kimurash Mar 20, 2026
955f667
enable minimization
kimurash Mar 20, 2026
2fa4ed0
split chunks
kimurash Mar 20, 2026
afdbd37
produciton build
kimurash Mar 20, 2026
f25e36c
lazy container loading
kimurash Mar 20, 2026
b88d0fc
limit syntax highlighter language
kimurash Mar 20, 2026
70fb9a4
only support modern browser
kimurash Mar 20, 2026
df85f86
local environment by mise
kimurash Mar 20, 2026
784d485
add test command
kimurash Mar 29, 2026
8ab1f7f
remove fetcher async false
kimurash Mar 29, 2026
fb1f783
remove 2 ** 18 hasReached loop
kimurash Mar 29, 2026
3120d1e
install webpack bundle analyzer
kimurash Mar 29, 2026
16d571c
uninstall ffmpeg packages
kimurash Mar 29, 2026
8d04072
install ffmpeg in Dockerfile
kimurash Mar 29, 2026
5850de6
replace GIF-based movie rendering with native HTML5 video
kimurash Mar 29, 2026
84ab51c
add media transcode utility
kimurash Mar 29, 2026
67a6442
change movie.ts
kimurash Mar 29, 2026
e840c5b
change sound.ts
kimurash Mar 29, 2026
b56a09d
convert gif to mp4
kimurash Mar 29, 2026
c061336
add application url option to scoring start command
kimurash Mar 29, 2026
a2419d9
install sharp & exifr
kimurash Mar 29, 2026
24d6852
add width & height to image model
kimurash Mar 29, 2026
cc9a05c
generate image seed
kimurash Mar 29, 2026
be60387
insert image seed
kimurash Mar 29, 2026
b00f03c
change image post handler
kimurash Mar 29, 2026
396be1b
change image schema & type definition
kimurash Mar 29, 2026
d664a78
uninstall imagemagick
kimurash Mar 29, 2026
2f54ab8
change client image implementation
kimurash Mar 29, 2026
5208546
install necessary packages
kimurash Mar 30, 2026
9ed05d5
add sentiment api
kimurash Mar 30, 2026
10b7aff
change client negaposi-analyzer
kimurash Mar 30, 2026
a3eb27d
uninstall unnecessary packages
kimurash Mar 30, 2026
d8c08cc
recover necessary packages
kimurash Mar 30, 2026
814e803
install tailwind & postcss plugin
kimurash Mar 30, 2026
40936e8
build tailwind
kimurash Mar 30, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ LABEL fly_launch_runtime="Node.js"
ENV PNPM_HOME=/pnpm

WORKDIR /app
RUN apt-get update && apt-get install -y --no-install-recommends ffmpeg && rm -rf /var/lib/apt/lists/*
RUN --mount=type=cache,target=/root/.npm npm install -g pnpm@${PNPM_VERSION}

FROM base AS build
Expand Down
8 changes: 4 additions & 4 deletions application/client/babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ module.exports = {
[
"@babel/preset-env",
{
targets: "ie 11",
targets: "> 0.5%, last 2 versions, Firefox ESR, not dead",
corejs: "3",
modules: "commonjs",
useBuiltIns: false,
modules: false,
useBuiltIns: "usage",
Copy link

Copilot AI Mar 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@babel/preset-env is now configured with useBuiltIns: "usage", but the webpack entry still imports core-js (and regenerator-runtime/runtime). Keeping core-js in the entry typically pulls in a large global polyfill bundle and can duplicate polyfills, largely negating the benefit of usage. Either remove the core-js (and possibly regenerator) entries and rely on usage, or revert to an entry-based polyfill strategy (e.g., useBuiltIns: false/entry) so the configuration is consistent.

Suggested change
useBuiltIns: "usage",
useBuiltIns: "entry",

Copilot uses AI. Check for mistakes.
},
],
[
"@babel/preset-react",
{
development: true,
development: false,
runtime: "automatic",
},
],
Expand Down
17 changes: 5 additions & 12 deletions application/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,11 @@
"license": "MPL-2.0",
"author": "CyberAgent, Inc.",
"scripts": {
"build": "NODE_ENV=development webpack",
"build": "NODE_ENV=production webpack",
"analyze": "ANALYZE=true NODE_ENV=production webpack",
"typecheck": "tsc"
},
"dependencies": {
"@ffmpeg/core": "0.12.10",
"@ffmpeg/ffmpeg": "0.12.15",
"@imagemagick/magick-wasm": "0.0.37",
"@mlc-ai/web-llm": "0.2.80",
"@web-speed-hackathon-2026/client": "workspace:*",
"bayesian-bm25": "0.4.0",
Expand All @@ -20,10 +18,7 @@
"classnames": "2.5.1",
"common-tags": "1.8.2",
"core-js": "3.45.1",
"encoding-japanese": "2.2.0",
"fast-average-color": "9.5.0",
"gifler": "github:themadcreator/gifler#v0.3.0",
"image-size": "2.0.2",
"jquery": "3.7.1",
"jquery-binarytransport": "1.0.0",
"json-repair-js": "1.0.0",
Expand All @@ -32,11 +27,8 @@
"langs": "2.0.0",
"lodash": "4.17.21",
"moment": "2.30.1",
"negaposi-analyzer-ja": "1.0.1",
"normalize.css": "8.0.1",
"omggif": "1.0.10",
"pako": "2.1.0",
"piexifjs": "1.0.6",
"react": "19.2.0",
"react-dom": "19.2.0",
"react-helmet": "npm:@dr.pogodin/react-helmet@3.0.4",
Expand All @@ -57,16 +49,15 @@
"@babel/preset-env": "7.28.3",
"@babel/preset-react": "7.27.1",
"@babel/preset-typescript": "7.27.1",
"@tailwindcss/postcss": "^4.2.2",
"@tsconfig/strictest": "2.0.8",
"@types/bluebird": "3.5.42",
"@types/common-tags": "1.8.4",
"@types/encoding-japanese": "2.2.1",
"@types/jquery": "3.5.33",
"@types/kuromoji": "0.1.3",
"@types/langs": "2.0.5",
"@types/lodash": "4.17.20",
"@types/node": "22.18.8",
"@types/omggif": "1.0.5",
"@types/pako": "2.0.4",
"@types/piexifjs": "1.0.0",
"@types/react": "19.2.2",
Expand All @@ -83,8 +74,10 @@
"postcss-loader": "8.2.0",
"postcss-preset-env": "10.4.0",
"react-markdown": "10.1.0",
"tailwindcss": "^4.2.2",
"typescript": "5.9.3",
"webpack": "5.102.1",
"webpack-bundle-analyzer": "^5.3.0",
"webpack-cli": "6.0.1",
"webpack-dev-server": "5.2.2"
},
Expand Down
110 changes: 104 additions & 6 deletions application/client/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions application/client/postcss.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
const postcssImport = require("postcss-import");
const tailwindcss = require("@tailwindcss/postcss");
const postcssPresetEnv = require("postcss-preset-env");

module.exports = {
plugins: [
postcssImport(),
tailwindcss(),
postcssPresetEnv({
stage: 3,
}),
Expand Down
Loading