Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Emrehan/bootip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

bootip

A small Python script that logs your local and public IP addresses to an AWS DynamoDB table at boot.

DynamoDB setup

Create a table named bootip (or any name you prefer) with:

  • Partition key: hostname (String)
  • Sort key: timestamp (String)
  • Enable TTL using the ttl attribute (Number, epoch seconds)

If you use a different table name, update the TABLE_NAME value in bootIp.py:

TABLE_NAME = "your_table_name"

Setup

python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt

About

A small Python script that logs your local and public IP addresses to an AWS DynamoDB table at boot.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages