Skip to content

Instantly share code, notes, and snippets.

@roxwize
Last active January 31, 2025 02:29
Show Gist options
  • Select an option

  • Save roxwize/28eb2d59ddb0625a0855ba0a43dcf4c4 to your computer and use it in GitHub Desktop.

Select an option

Save roxwize/28eb2d59ddb0625a0855ba0a43dcf4c4 to your computer and use it in GitHub Desktop.
mipilin readme file for high seas


mipilin is a website lets you check on how your friends are doing, which is a very good and noble thing and something you should feel proud of for even considering. Also you can let YOUR friends know how YOU'RE doing. I guess.

If you're coming from High Seas and want to test the website out, invite codes are available upon request. Just DM roxwize on the Slack.

mipilin mipilin

website screenshot

Running locally

## get repository
git clone https://git.sr.ht/~roxwize/mipilin
cd mipilin

## setup environment variables
cp .env.example .env
$EDITOR .env # If $EDITOR is not set, replace it with your text editor of choice

## start server
pnpm install
pnpm build # Compile TypeScript files to JavaScript in ./dist/
pnpm start

You can also run the server's TypeScript directly by using pnpm dev.

Environment variables

Keep your .env file to yourself. The only non-sensitive field is LISTEN_ON_SOCKET.

Variable Description Required
LISTEN_ON_SOCKET If set to true the server will run on a Unix socket at /run/user/[UUID]/mipilin/mipilin.sock no
DATABASE_URL URL where your PostgresQL database will be accessed yes
COOKIE_SECRET Can be any string, used to sign cookies yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment