Skip to content

Commit

Permalink
add debug launch for vscode
Browse files Browse the repository at this point in the history
  • Loading branch information
thebino committed Jun 19, 2023
1 parent 9cade20 commit d4a7c2c
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 8 deletions.
2 changes: 2 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,7 @@
"rangav.vscode-thunder-client",
"usernamehw.errorlens",
"dracula-theme.theme-dracula",
"vadimcn.vscode-lldb",
"ms-vscode.cpptools",
],
}
24 changes: 24 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Photos.network (OSX)",
"type": "lldb",
"request": "launch",
"program": "${workspaceRoot}/target/debug/core",
"args": [],
"cwd": "${workspaceRoot}"
},
{
"name": "Photos.network (Windows)",
"type": "cppvsdbg",
"request": "launch",
"program": "${workspaceRoot}/target/debug/core.exe",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceRoot}",
"environment": [],
"externalConsole": true
}
]
}
17 changes: 9 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,30 +7,33 @@


[Photos.network](https://photos.network) is a privacy first photo storage and sharing service for fediverse.

Its core features are:

- Share photos with friends, family or public
- Upload photos and videos without resolution or quality constraints
- Filter / Search photos by attributes like location or date
- Group photos by objects like people of objects
- Group photos by their content like people or objects
- Share photos with friends, family or public


## Core

This repository contains the core system of the project.
This repository contains the **core** system of the project.
It is responsible for main tasks e.g.:

- **Authentication** (validate the identity of users)
- **Authorization** (handle access privileges of resources like photos or albums)
- **Add-on Handling** (managing add-ons)
- **Plugin Handling** (extend the feature set by plugins)
- **Persistency** (read / write data)
- **Task Processing** (keep track of running tasks)



## Development

The core is written in [Rust](https://rust-lang.org/) and highly customizably by using a Plugin-system.

Plugins are realized by **dynamic loading** by using [abi_stable_crates](https://github.com/rodrimati1992/abi_stable_crates)

---

### Visual Studio Code

Expand All @@ -44,5 +47,3 @@ The fastest start into development can be archived by using [Visual Studio Code]
6. Launch **Photos.network** from the `RUN` window.

![VS Code with devcontainers](vscode.gif)

---
Binary file added vscode.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d4a7c2c

Please sign in to comment.