Skip to main content

Personal Knowledge Base

Project description

Personal Knowledge Base

Organize personal information with markdown files, folders and search

Prerequisites

  • Python >=3.12.7

Installation

Create a knowledge base folder, eg. kb

mkdir kb && cd kb

Get content folder and .env file for customization later

git clone https://github.com/hyw208/pkb.git
cp -R ./pkb/content .
cp .env .

Create/activate virtual environment and install pkb lib

python -m venv .venv
source .venv/bin/activate
pip install pkb

Launch

python -m pkb.fast

// Or

uvicorn pkb.fast:app

Customize

Change site name by editing .env file, save and restart

WEBSITE_NAME="Change it"

Change navigation items by editing .env file, save and restart,

// from

HEADER_ITEMS=home,services,contact,about,search

// to 

HEADER_ITEMS=home,"new file 1",new_file_2,search

ps. make sure to create files "new file 1.md" and "new_file_2.md" with some texts under 'content' folder

What's next?

Delete all files you don't need and start create your personal content and have fun~

<style type="text/css"> pre { color:white; background-color:grey; padding:5px; } </style>

Project details


Download files

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

Source Distribution

pkb-0.1.5.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

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

pkb-0.1.5-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

Details for the file pkb-0.1.5.tar.gz.

File metadata

  • Download URL: pkb-0.1.5.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.0 CPython/3.13.1 Darwin/23.5.0

File hashes

Hashes for pkb-0.1.5.tar.gz
Algorithm Hash digest
SHA256 a7c310a34e7e9bb5b9a8c804252ca6445e754e5cc9b2d71e2efe334617acebae
MD5 d8aaa034ae5a44ba887e5073c102e962
BLAKE2b-256 32459a1553c0508c49d1de72280b81200ed581579a429b4144133d634cdcb327

See more details on using hashes here.

File details

Details for the file pkb-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: pkb-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 10.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.0 CPython/3.13.1 Darwin/23.5.0

File hashes

Hashes for pkb-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 5fb813a344f3a770d3de855ce1f9fc5b9c736f32d840dbce06ab011efa56a135
MD5 d92a41d8df7a8f412ee1628a9f44fcc8
BLAKE2b-256 791edf71bf9150d461d81a9fe5a3f2f8687318b72e169358f98cd88f6bdd73c7

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 Pingdom Monitoring Sentry Error logging StatusPage Status page