TwoSpace

TwoSpace

A self-hosted private website for couples-record every diary, treasure every photo, remember every anniversary, and leave a gentle footprint that belongs to two people.

4GitHub
Description

Lazy cat OIDC login has been integrated. ##Functional characteristics - Exclusive space for two people: Fixed identity slots for two people are retained, and the original project's "two masters" diary author semantics continue to be used. - Local password: You can optionally configure two people's local passwords during installation; automatically hide the password entry when you are not filled in to avoid empty login forms. - Home Ritual Sense Display: Display love days, random quotes, photo cards and recent diary previews, suitable for mobile access. - Diary recording: Support creating, editing, and deleting diaries, retaining author affiliation, mood tags, updated historical dates and multiple image uploads. - Album aggregation: Automatically summarize diary pictures to the album page, and you can continue to view large picture previews and downloads. - Memorial Day and Footprint Statistics: Support countdown to anniversaries, anniversary calculation, and custom statistical cards such as "hugging times". - The first opening footprint is the bottom: When 'couple.jpg','avatar1.jpg', and 'avatar2.jpg' are not uploaded, the default illustration will be displayed instead of the broken picture. ###How to log in for the second person If both of you ** have separate lazy cat accounts **, the second person does not need a separate login button, just use the same 'Use lazy cat login': 1. The second person opens the same TwoSpace address. 2. Click `Log in using lazy cat` at the top of the page. 3. Use ** your lazy cat account ** to complete unified login. 4. If the current instance has not yet filled two slots, the second person will automatically bind to the other slot. Note: - If two people are actually logged in to the ** same lazy cat account **, the system will recognize it as the same identity and will not automatically become another person. - Only when two people use ** different lazy cat accounts ** can TwoSpace distinguish two people into two slots through OIDC. - If you want two slots to be permanently bound to a specific account, you can also fill in 'user1_oidc_subject' and 'user2_oidc_subject' in the installation parameters. ###Customize photo and avatar By default, the app attempts to read the following file paths: - `/lzcapp/var/data/uploads/couple.jpg` - `/lzcapp/var/data/uploads/avatar1.jpg` - `/lzcapp/var/data/uploads/avatar2.jpg` If these files do not exist, default placeholders will be displayed on the home page and login page, which will not affect continued use. In the Lazy Cat File Manager, the correct operation is as follows: 1. Open `Application Data/ cloud.lazycat.app.twospace / data` 2. Enter the `uploads` folder inside 3. Put your pictures in the uploads folder instead of directly in the data root directory 4. The following three names must be strictly used for file names: - `couple.jpg` - `avatar1.jpg` - `avatar2.jpg` 5. Refresh it once after returning to the TwoSpace page, which usually takes effect immediately The directory structure should look like this: ```text data/ ├── twospace.db └── uploads/ ├── couple.jpg ├── avatar1.jpg └── avatar2.jpg ###Using diaries, photo albums and statistics 1. You can directly see the number of love days, random quotes and recent diaries on the front page. 2. Click `Write a Diary 'to enter the diary page. When creating content, you can fill in the title, body, and mood tags, and upload pictures. 3. Diary pictures will automatically appear on the album page. 4. On the `STATS` page, you can add anniversaries, or you can create custom counting cards such as "Number of Hugs" and "Number of Movies Watching Together". ###Suggestion on image upload ratio - The picture area in the diary stream adopts a ** cover-style trimming design **: list cards and edit pop-up window thumbnails will cover the container first, so the edge area will be cut off. - If you want to see the full picture, don't use the cover picture in the diary stream as the standard; after clicking the picture to enter the preview layer, it will be displayed in full scale. - '3:4','4:5' or '1:1' are most recommended for a single picture. These ratios are usually the most natural in the diary stream. - When mixing multiple pictures, try to keep each picture close to the range of '1:1' to '4:5', and the overall grid will be more tidy. - It is not recommended to upload ultra-wide horizontal pictures, ultra-long poster pictures, and Logo pictures with a lot of white space around them; it is easier for such pictures to display only the middle part under cover-style clipping. - If you want a picture to be cut as little as possible in the diary stream, you can cut it appropriately before uploading, giving priority to keeping the main body in the center area of the picture.

Screenshots
Screenshot 1
Screenshot 2
Screenshot 3
Screenshot 4
Screenshot 5
Mobile Screenshots
Mobile Screenshot 1
Mobile Screenshot 2
Mobile Screenshot 3
App Information
Version
0.0.1
Package Size
63.5 KB
Image Size
64.33 MB
Updated
May 5, 2026
Source Code
HEHUA2005
Platform Support
PCMobile
Keywords
Double spacelove recordprivate diaryphoto albumanniversary