ProductPromotion
Logo

Open.Source

made by https://0x3d.site

GitHub - manyfold3d/manyfold: A self-hosted digital asset manager for 3d print files. Previously named "VanDAM"
A self-hosted digital asset manager for 3d print files. Previously named "VanDAM" - manyfold3d/manyfold
Visit Site

GitHub - manyfold3d/manyfold: A self-hosted digital asset manager for 3d print files. Previously named "VanDAM"

GitHub - manyfold3d/manyfold: A self-hosted digital asset manager for 3d print files. Previously named "VanDAM"

Manyfold

Manyfold is an open source, self-hosted web application for managing a collection of 3d models, particularly focused on 3d printing.

Visit manyfold.app for more details, installation instructions, and user and administration guides! Or, to have a go straight away, try our demo at try.manyfold.app.

Help and Support

There are a few routes to get help:

  • GitHub issues is the best place to report bugs.
  • Live chat to the "team" on Matrix (an open Discord/Slack-like chat system).
  • Get in touch with our social media presence in the Fediverse (Mastodon, etc).

And, if you want to contribute financially to development efforts...

Developer Documentation

Manyfold is open source software, and we encourage contributions! If you want to get involved, follow the guidance below, which explains how to get up and running. Then take a look at our good first issue tag for tasks that might suit newcomers to the codebase, or take a look at our development roadmap.

Application architecture

The application is built in Ruby on Rails, and tries to follow the best practices of that framework wherever possible. If you're not familiar with Rails, their Getting Started guide is a good first introduction.

In general, Manyfold is a server-side app that uses plain old HTTP requests. We don't have any code using XHR, Websockets, or other more interactive comms yet (though could do in future).

The application consists of the application server itself, plus a background job runner using Sidekiq for asynchronous tasks.

There are a few other major components that we build with:

  • Bootstrap 5 provides the frontend CSS / JS
  • THREE.js (via TypeScript) is used for the client-side 3D rendering
  • Mittsu, a Ruby port of THREE.js, is used for server-side 3D code
  • ActiveAdmin is used for now to provide an advanced database admin interface
  • PostgreSQL is the production database, though sqlite3 is used in dev

Running locally

To run the app yourself, you'll need the following installed:

To run the application once you've cloned this repo, you should be able to just run bin/dev; that should set up the database, perform migrations, install dependencies, and then make the application available at http://127.0.0.1:5000.

If you want to configure optional features, set the appropriate environment variables in a file called .env. See env.example for a template file. Note that the required environment variables in the documentation are not needed in development mode, due to the use of SQLite instead of PostgreSQL.

Coding standards

Code Climate maintainability Code Climate technical debt

We use Rubocop to monitor adherence to coding standards in Ruby code. We use StandardRB rules along with some other rulesets for specific libraries and frameworks.

You can run the linter with bundle exec rubocop.

We also have linters for ERB and Typescript files. You can run these with: bundle exec erb_lint --lint-all and yarn run lint:ts respectively.

Code linting is automatically performed by our GitHub Actions test runners, but if you set up Husky, it will also execute as a pre-commit hook.

Testing

GitHub Actions Workflow Status Code Climate coverage

We want to produce well-tested code; it's not 100%, but we aim to increase test coverage with each new bit of code.

You can run the test suite as a one off with the command bundle exec rake, or you can start a continuous test runner with bundle exec guard that will automatically run tests as you code.

Tests are run automatically when pushed to our repository using GitHub Actions.

Internationalisation & Translation

Manyfold uses Rails' I18n framework to handle all text content.

You can check the validity of locale files with bundle exec i18n-tasks health. This is also run as part of our test pipeline, so will be enforced on new code.

Translations are also available in client-side Javascript; they are built from the Rails locale files as part of the asset pipeline, using i18n-js. If you need to run an export manually, do bundle exec i18n export -c config/i18n-js.yml.

We are using Translation.io to manage translations into other languages. If you want to help out on that, sign up on the site and send us username on a GitHub issue for the language you're interested in.

To synchronise with Translation.io, run rake translation:clobber_and_sync:{locale} where {locale} is a supported code, such as de.

Building Docker images

Built with Depot

The application is distributed as a multi-platform docker image (built by Depot); see our Docker Compose instructions for full details.

If you want to build your own version of the Docker image, you can do so by running docker build -f docker/default.dockerfile . in the root directory of this repository.

Funding

This project is funded through NGI0 Entrust, a fund established by NLnet with financial support from the European Commission's Next Generation Internet program. Learn more at the NLnet project page.

This project is also funded by you! Make a donation to support long-term development at OpenCollective:

Popularity

Down the bottom because they're cool, but not important, here are some stats!

Star History Chart

Articles
to learn more about the open-source concepts.

Resources
which are currently available to browse on.

mail [email protected] to add your project or resources here 🔥.

FAQ's
to know more about the topic.

mail [email protected] to add your project or resources here 🔥.

Queries
or most google FAQ's about Open-Source.

mail [email protected] to add more queries here 🔍.

More Sites
to check out once you're finished browsing here.

0x3d
https://www.0x3d.site/
0x3d is designed for aggregating information.
NodeJS
https://nodejs.0x3d.site/
NodeJS Online Directory
Cross Platform
https://cross-platform.0x3d.site/
Cross Platform Online Directory
Open Source
https://open-source.0x3d.site/
Open Source Online Directory
Analytics
https://analytics.0x3d.site/
Analytics Online Directory
JavaScript
https://javascript.0x3d.site/
JavaScript Online Directory
GoLang
https://golang.0x3d.site/
GoLang Online Directory
Python
https://python.0x3d.site/
Python Online Directory
Swift
https://swift.0x3d.site/
Swift Online Directory
Rust
https://rust.0x3d.site/
Rust Online Directory
Scala
https://scala.0x3d.site/
Scala Online Directory
Ruby
https://ruby.0x3d.site/
Ruby Online Directory
Clojure
https://clojure.0x3d.site/
Clojure Online Directory
Elixir
https://elixir.0x3d.site/
Elixir Online Directory
Elm
https://elm.0x3d.site/
Elm Online Directory
Lua
https://lua.0x3d.site/
Lua Online Directory
C Programming
https://c-programming.0x3d.site/
C Programming Online Directory
C++ Programming
https://cpp-programming.0x3d.site/
C++ Programming Online Directory
R Programming
https://r-programming.0x3d.site/
R Programming Online Directory
Perl
https://perl.0x3d.site/
Perl Online Directory
Java
https://java.0x3d.site/
Java Online Directory
Kotlin
https://kotlin.0x3d.site/
Kotlin Online Directory
PHP
https://php.0x3d.site/
PHP Online Directory
React JS
https://react.0x3d.site/
React JS Online Directory
Angular
https://angular.0x3d.site/
Angular JS Online Directory