How to Install Chibisafe on macOS

Chibisafe is a self-hosted media/file management system. Here's a tutorial on installing Chibisafe on macOS:

Prerequisites

  1. A macOS computer with admin privileges.
  2. Homebrew package manager.

Installation Steps

  1. Open Terminal on your macOS.

  2. Install Homebrew, if not installed already, by running the following command:

    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
    
  3. Install the following dependencies:

    brew install ffmpeg imagemagick ghostscript pngcrush
    
  4. Install Ruby, if not installed already:

    brew install ruby
    
  5. Download the Chibisafe code by running the following command:

    git clone https://github.com/BerryTarta/chibisafe.git
    
  6. Once the download is complete, navigate inside the downloaded folder:

    cd chibisafe
    
  7. Install the application dependencies:

    bundle install
    
  8. Create a .env file in the project root directory:

    touch .env
    
  9. Open the .env file in a text editor (e.g. nano, vim)

    nano .env
    
  10. Paste the following configurations into the file:

BIND=0.0.0.0:3000
DATABASE_URL=sqlite3:db/chibisafe.sqlite3
  1. Save and exit the text editor.
  2. Run the database migration command:
bundle exec rake db:migrate
  1. Finally, start the Chibisafe server:
bundle exec rails server
  1. In the browser, go to http://localhost:3000 to access Chibisafe.

Congratulations! You've now successfully installed Chibisafe on macOS.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!

Alternatively, for the best virtual desktop, try Shells!