a beautiful robot, dancing alone · showgirls über alles: kylie, angèle · masto · last.fm · listenbrainz · https://www.lovekylie.com/keyoxide

  • 25 Posts
  • 62 Comments
Joined 2 years ago
cake
Cake day: June 5th, 2023

help-circle


  • we’ve normalised the idea that we own celebrities, that they owe us continuous intrusion into their private lives as a condition of fame. there’s always a line, a fuzzy one, currently drawn somewhere near paparazzi (they’re evil vs they’re a necessary evil, how else would we get our pics).

    society is built on these lines separating the acceptable from the unacceptable. they change, more quickly than we remember. we don’t smoke in restaurants. we do wear seat belts. but the people who fought those battles, not that long ago, were pariahs.

    ellen degeneres (before she became 😡 ellen 😡 for different reasons) was blackballed for coming out. chappell roan is kissing women in her videos. if she wants to try to move the privacy line, and risk being a pariah for it, good for her. she’s either proven right or wrong over time. she’ll either pay or she won’t. but she’s using her capital for something that’s important to her, and that she sees as important to her industry. everyone’s entitled to try.








  • Prerequisites

    • Internet-facing web server with reverse proxy and domain name (preferably SSL of course)
    • Server behind the reverse proxy with Rust environment

    Installation

    • Don’t bother downloading the source code to your server; installing it that way gives you a big debug executable
    • Instead just cargo install mollysocket
    • Move the mollysocket executable if desired
    • Run mollysocket once so that it will emit the default config

    Configuration

    • Fish the config file out of .config/mollysocket/default-config.toml and copy it somewhere.

    config.toml

    • In the new file, replace the allowed_endpoints line with allowed_endpoints = ['*']. The default 0.0.0.0 config appears to be a bug; this setting controls access to endpoints within the app, not IPs from outside. Leaving the original value causes mollysocket to reject everything.
    • Put a proper path in the db = './mollysocket.db' line rather than just having it land wherever you’re sitting.
    • Delete the mollysocket.db that was created on first run (even if it’s already where you’re intending to put it). This is just to make sure the web server creates it and has the correct permissions.

    Run script

    • The environment variable ROCKET_PORT must be set or the server will sit and do nothing. It’s best to create all of the environment variables mentioned in the README, whether that is in a user profile script or in a shell script that wraps startup. You can change any of these values, but they must exist.
    • export ROCKET_PORT=8020
      export RUST_LOG=info
      export MOLLY_CONF=/path/to/your/config.toml
      

    Proxy server

    • You’ll need to proxy everything from / to your mollysocket server and ROCKET_PORT.
    • Exclude anything that you may need served from your web server, such as .well-known.

    Things to know























  • looks great! the catch for me is that my current host doesn’t have docker support. your dependencies don’t look crazy so in theory i could burst it and install directly to the host environment, but at that point i’m giving myself grocy-level headaches.

    reading about docker-capable hosts, i was surprised to see them starting at 1GB RAM - i couldn’t run pac-man in that. what would be a reasonable expectation for kitchenowl?


  • pootriarch@poptalk.scrubbles.techOPtoSelfhosted@lemmy.worldgrocy *bangs head*
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    4
    ·
    2 years ago

    i haven’t tried the docker route - it seems fairly new. it also doesn’t seem like it would fix the issues i ran into. containerization is great for insulating the app from external dependency hell and environmental variation. but the problems i’ve had involve its own code and logic, and corruption of a sqlite database within its own filesystem; wrapping issues like that in a docker container only makes them harder to solve