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~

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.6.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.6-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pkb-0.1.6.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.6.tar.gz
Algorithm Hash digest
SHA256 a59e27f030c55ae535d9a37242df01d49e578f88ebb0ff44e36a0b2b938a8454
MD5 0497bd1a653d49cc970f65fcba2e8bfc
BLAKE2b-256 6354ae54c7d4c348b73be737b0db6ae5712e0fa29a555611cd7c8b6052b3d5eb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pkb-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 10.1 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 f0b95f93f280da0864a30e044824b5ed30d2f02d824e3355622dd9ade1fd7669
MD5 c9ce828b6ce32a24f1c50ad90e4780a4
BLAKE2b-256 d57bca6796c59dd3b2887b3ebdc3f10b6bc96df5275682f7354c96156131d7ec

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