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

Skip to content

private-facts/private-facts

Repository files navigation

Private Facts

Private Facts is a web app to track your private info. This project was originally developed at https://github.com/blaisep/private_facts/tree/main; previous commit history can be found there.

Why private facts?

This repo holds the source code and resource files for the project described at private-facts.readthedocs.io The code intends to be a demonstration of how to use Tahoe-lafs and better understand the concept of "provider-independent security" as it pertains to Tahoe-lafs.

How to use this repo

There are several ways you can use this repo:

  • as a companion to the tutorials at private-facts.readthedocs.io
  • as the starting point for a project of your own
  • as a practical guide to setting up a local development instance of Tahoe-lafs

We encourage you to read through the docs first and get an overall sense of the narrative arc. Later, if you want the hands-on experience, clone the repo and go through the instructions.

Installation

These instructions assume you are using uv for project management; if you use another approach, you will have to modify some of the commands below. Project dependencies are listed in pyproject.toml.

With SSH:

git clone [email protected]:private-facts/private-facts.git && cd private-facts

With https:

git clone https://github.com/private-facts/private-facts.git && cd private-facts

2. Install dependencies

uv sync

3. Start the Tahoe storage server and client (in separate terminals or using e.g. tmux)

uv run tahoe-server/storage0
uv run tahoe-server/client0

Or, if you have Just installed:

just dev

which will start both processes in their own tmux panes and focus a third pane.

4. Run the demo scripts

uv run hello
uv run hello_file
uv run hello_system
uv run hello_mutable

5. Stop the server and client and close tmux (if using Just)

just stop

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Getting ready for your first pull request

Please make sure to update tests as appropriate.

To run the tests:

uv run pytest

Or, with Just:

just test

License

GNU General Public License v3 //: # ( This file was inspired by https://www.makeareadme.com/ )

About

A simple example of core Tahoe-LAFS features using the REST interface.

Topics

Resources

License

GPL-3.0, Unknown licenses found

Licenses found

GPL-3.0
LICENSE
Unknown
COPYING

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •