https://github.com/Dusk-Labs/dim Skip to content Sign up * Product + Features + Mobile + Actions + Codespaces + Packages + Security + Code review + Issues + Integrations + GitHub Sponsors + Customer stories * Team * Enterprise * Explore + Explore GitHub + Learn and contribute + Topics + Collections + Trending + Learning Lab + Open source guides + Connect with others + The ReadME Project + Events + Community forum + GitHub Education + GitHub Stars program * Marketplace * Pricing + Plans + Compare plans + Contact Sales + Education [ ] * # In this repository All GitHub | Jump to | * No suggested jump to results * # In this repository All GitHub | Jump to | * # In this organization All GitHub | Jump to | * # In this repository All GitHub | Jump to | Sign in Sign up {{ message }} Dusk-Labs / dim Public * Notifications * Fork 97 * Star 2.3k Dim, a media manager fueled by dark forces. GPL-2.0 License 2.3k stars 97 forks Star Notifications * Code * Issues 122 * Pull requests 14 * Discussions * Actions * Projects 2 * Wiki * Security * Insights More * Code * Issues * Pull requests * Discussions * Actions * Projects * Wiki * Security * Insights This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. master Switch branches/tags [ ] Branches Tags Could not load branches Nothing to show {{ refName }} default View all branches Could not load tags Nothing to show {{ refName }} default View all tags 16 branches 6 tags Code Latest commit @vgarleanu vgarleanu chore: add mailmap ... 8bc8cce Mar 24, 2022 chore: add mailmap 8bc8cce Git stats * 1,924 commits Files Permalink Failed to load latest commit information. Type Name Latest commit message Commit time .github use ghcr registry Feb 13, 2022 .vscode refactor(db): rewrite user.rs Jun 21, 2021 auth fix a couple of unit tests, get CI to actually run and check the unit... Nov 30, 2021 database Next episode player popup (#341) Dec 18, 2021 dim Change ffpath to return String to avoid leaking memory (#385) Feb 6, 2022 docs/design Reduce size of design images 15x Oct 20, 2021 events Asset fetcher improvements (#198) Sep 15, 2021 extra added some extras needed for compilation on windows to work Feb 13, 2021 ui Convert JS modules with five imports to TS. (#407) Feb 25, 2022 .dockerignore Fix dockerfile, start.sh and build.rs Apr 14, 2021 .env Make .env permanent in the tree Aug 26, 2021 .gitattributes track lfs Jan 8, 2021 .gitignore Added .DS_Store to .gitignore file (#419) Mar 2, 2022 .mailmap chore: add mailmap Mar 24, 2022 .rgignore forgot to remove the constraint lol Feb 20, 2021 CONTRIBUTING.md update CONTRIBUTING.md Apr 14, 2021 Cargo.toml remove rusty_vainfo dependency, rust workflow will fetch ui and ffmpe... Sep 25, 2021 Dockerfile fix rust workflow and dockerfile (#402) Feb 13, 2022 LICENSE.md fix formatting Sep 21, 2021 README.md Add 'mkdir utils' before creating symlink (#374) Jan 10, 2022 deny.toml Added a deny lint file Mar 27, 2020 docker-compose-template.yml Adding more docker-compose comments. Fixes #202 (#318) Oct 28, 2021 View code [ ] Dim Running from binaries Dependencies Running with docker Running from source Dependencies License Screenshots README.md Dim Dashboard Discord Dim is a self-hosted media manager. With minimal setup, Dim will organize and beautify your media collections, letting you access and play them anytime from anywhere. Running from binaries Dependencies * libva2 * libva-drm2 * libharfbuzz * libfontconfig * libfribidi * libtheora * libvorbis * libvorbisenc * libtheora0 You can then obtain binaries from the release tab in github: 1. Unpack with unzip ./release-linux.zip && tar -xvzf ./ release.tar.gz 2. Run cd release && ./dim 3. Then you can access the Dim web UI through your browser with http://0.0.0.0:8000 (assuming it's running locally.) Running with docker The following command runs dim on port 8000, storing configuration in $HOME/.config/dim. You may change that path if you'd like to store configuration somewhere else. You can mount as many directories containing media as you like by repeating the -v HOST_PATH:CONTAINER_PATH option. In this example, the path /media on the host is made available at the same path inside the Docker container. This name "media" is arbitrary and you can choose whatever you like. docker run -d -p 8000:8000/tcp -v $HOME/.config/dim:/opt/dim/config -v /media:/media:ro ghcr.io/dusk-labs/dim:dev To use hardware acceleration, mount the relevant device: docker run -d -p 8000:8000/tcp -v $HOME/.config/dim:/opt/dim/config -v /media:/media:ro --device=/dev/dri/renderD128 ghcr.io/dusk-labs/dim:dev Refer to docker-compose-template.yaml to run dim using Docker Compose. Running from source Dependencies To run from source, you'll first need to install the following dependencies on your system: * sqlite * cargo * rustc (nightly) * yarn, npm * libssl-dev * libva2 (only if you're using Linux) * libva-dev (only if you're using Linux) * libva-drm2 (only if you're using Linux) * ffmpeg Once the dependencies are installed, clone the repository and build the project: git clone https://github.com/Dusk-Labs/dim yarn --cwd ui/ && yarn --cwd ui/ build mkdir utils && ln -nfs $(which ffmpeg) utils/ffmpeg && ln -nfs $(which ffprobe) utils/ffprobe If you're on Linux, run dim with: cargo run --features vaapi --release On other platforms where libva isn't available, run dim with: cargo run --release License Dim is licensed under the GPLv2 license (LICENSE.md or http:// opensource.org/licenses/GPL-2.0) Screenshots Login_Page Add_Library Modal Media_Page About Dim, a media manager fueled by dark forces. Topics rust reactjs rust-lang mediamanager Resources Readme License GPL-2.0 License Stars 2.3k stars Watchers 28 watching Forks 97 forks Releases 4 Dim v0.3.0-rc6 Latest Oct 19, 2021 + 3 releases Packages 1 Contributors 17 * @eraychumak * @vgarleanu * @mental32 * @jimmycuadra * @N-give * @liamdebellada * @MrTimscampi * @IGI-111 * @sadstan * @ldobbelsteen * @TobiasDeBruijn + 6 contributors Languages * Rust 49.8% * JavaScript 25.2% * SCSS 12.2% * TypeScript 12.2% * Dockerfile 0.3% * HTML 0.2% * Shell 0.1% * (c) 2022 GitHub, Inc. * Terms * Privacy * Security * Status * Docs * Contact GitHub * Pricing * API * Training * Blog * About You can't perform that action at this time. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.