Initial commit: Minimal Profile app for Nextcloud 33
This commit is contained in:
78
README.md
Normal file
78
README.md
Normal file
@@ -0,0 +1,78 @@
|
||||
# Minimal Profile
|
||||
|
||||
A Nextcloud 33 app that hides profile fields to create a minimal user profile.
|
||||
|
||||
## Features
|
||||
|
||||
- Hide profile fields like pronouns, social links, and more
|
||||
- Works on personal settings page
|
||||
|
||||
## Installation
|
||||
|
||||
1. Copy the `minimalprofile` folder to your Nextcloud `apps/` directory
|
||||
2. Enable the app:
|
||||
```bash
|
||||
occ app:enable minimalprofile
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
### Set hidden fields using OCC config command
|
||||
|
||||
Hide the pronouns field:
|
||||
```bash
|
||||
occ config:app:set minimalprofile hidden_fields --value='["pronouns"]'
|
||||
```
|
||||
|
||||
Hide multiple fields:
|
||||
```bash
|
||||
occ config:app:set minimalprofile hidden_fields --value='["pronouns","role","headline"]'
|
||||
```
|
||||
|
||||
### View hidden fields
|
||||
```bash
|
||||
occ config:app:get minimalprofile hidden_fields
|
||||
```
|
||||
|
||||
### Show all fields (reset)
|
||||
```bash
|
||||
occ config:app:delete minimalprofile hidden_fields
|
||||
```
|
||||
|
||||
## Available Fields
|
||||
|
||||
| Field | Description |
|
||||
|-------|-------------|
|
||||
| `pronouns` | User pronouns (e.g., she/her) |
|
||||
| `role` | Job title / role |
|
||||
| `headline` | Personal tagline |
|
||||
| `biography` | User bio |
|
||||
| `organisation` | Organization |
|
||||
| `phone` | Phone number |
|
||||
| `address` | Physical address |
|
||||
| `birthdate` | Birthdate |
|
||||
| `website` | Website URL |
|
||||
| `twitter` | Twitter handle |
|
||||
| `fediverse` | Fediverse handle |
|
||||
| `location` | Location |
|
||||
|
||||
## Examples
|
||||
|
||||
Hide just pronouns:
|
||||
```bash
|
||||
occ config:app:set minimalprofile hidden_fields --value='["pronouns"]'
|
||||
```
|
||||
|
||||
Hide pronouns, role, and headline:
|
||||
```bash
|
||||
occ config:app:set minimalprofile hidden_fields --value='["pronouns","role","headline"]'
|
||||
```
|
||||
|
||||
Hide all extra social fields:
|
||||
```bash
|
||||
occ config:app:set minimalprofile hidden_fields --value='["pronouns","role","headline","biography","website","twitter","fediverse"]'
|
||||
```
|
||||
|
||||
## Compatibility
|
||||
|
||||
- Nextcloud 33
|
||||
Reference in New Issue
Block a user