Skip to main content

Tiny Personal Website

AGPL license docker-pulls python-version made-wth-flask made-with-bootstrap

This is a small Python based personal website aimed first and foremost at being a resume. I originally wrote this a decade or so ago, and recently absolutely borked my react website, resulting in me quickly resurrecting this thing in about a day and a half. It was actually pretty fun though, so I've continued to add little features. This one does the same thing, but better, and faster, with less js. Feel free to fork this and make it your own, but keep it open source. This repo is hosted at git.open.engineering:jessebot/tiny_personal_website and mirrored to codeberg:jessebot/tiny_personal_website. Please make Issues and PRs on codeberg.org.

screenshot of jessebot.work which serves as an example website. It features a picture of Jesse a person with blue hair that is 31. There is a blurb about them that you can read in tiny_personal_website/config/config.yaml and link icons to github, gitlab, and linkedin.

Getting Started

Clone this github repo into your desired webroot, and install dependencies with poetry:

poetry install

You can configure everything (e.g. website title, your photo, quote, etc) by editing tiny_personal_website/config/config.yaml and replacing all the Jesse data with your own.

Testing Locally

# get into a poetry shell
poetry shell

# run gunicorn
gunicorn tiny_personal_website:app

Then you can go to http://127.0.0.1:8000 in a browser to view your changes.

Docker

For testing locally with docker, you can do:

# this tag can be anything, but this is typically what I do locally
docker build . -t jessebot/tiny-personal-website:dev

# to test locally, you can do -p 8000:8000 to forward
# port 8000 on the container to port 8000 on your local machine
docker run --rm -p 8000:8000 jessebot/tiny-personal-website:dev

Then you can go to http://127.0.0.1:8000 in a browser to view your changes.

You can now use an environment variable to set the location of the config.yaml to use. Here's an example if you have your config file in your current directory:

# this assumes you've built or pulled jessebot/tiny-personal-website:latest locally
docker run --rm -v ./tiny_personal_website/config:/app/tiny_personal_website/config  -p 8000:8000 jessebot/tiny-personal-website:dev

Deploying on an app platform

You want the following command plugged into where-ever this runs (e.g. digital ocean app platform):

gunicorn --worker-tmp-dir /dev/shm tiny_personal_website:app

And the container port of note is port 8000.

Attribution

Made with OpenWeb Icons Set and Nerd Fonts.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tiny_personal_website-2.1.0.tar.gz (2.9 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tiny_personal_website-2.1.0-py3-none-any.whl (2.9 MB view details)

Uploaded Python 3

File details

Details for the file tiny_personal_website-2.1.0.tar.gz.

File metadata

  • Download URL: tiny_personal_website-2.1.0.tar.gz
  • Upload date:
  • Size: 2.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.11.2 Linux/6.1.0-49-amd64

File hashes

Hashes for tiny_personal_website-2.1.0.tar.gz
Algorithm Hash digest
SHA256 37113380cc7fc97cd99f6df5f6440e3fe27894fdef86f89d9cd26dd66aa4ca35
MD5 35ed0e8d9bbea20f0a28d29e1322953e
BLAKE2b-256 50e42f1e965b077ea792fda8174fb90430a619e9e08c26a2e36f180ffea99d97

See more details on using hashes here.

File details

Details for the file tiny_personal_website-2.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for tiny_personal_website-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3b2cddd4e3235881795799c618f47032df8cb4ac17c578d1f603d653d498642d
MD5 bb7fd109ff8f54125a038fa472a95189
BLAKE2b-256 f9734ed646fbaaee71411462a4c56a23cb9c9e84a40a0649920267eceb86490e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page