第一次上传 (#312)
11
J/jkjkil4/README.md
Normal file
@@ -0,0 +1,11 @@
|
||||
## 女装照!
|
||||
|
||||
传了一些图片呢qwq
|
||||
|
||||
在这里浏览:[view.md](view.md)
|
||||
|
||||
还有一些比较涩的图片...思考了一下还是不放进来了
|
||||
|
||||
## 关于我
|
||||
|
||||
Github 主页:https://github.com/jkjkil4
|
||||
BIN
J/jkjkil4/photos/2023-11-10-(1).jpg
Normal file
|
After Width: | Height: | Size: 917 KiB |
BIN
J/jkjkil4/photos/2024-01-04-(1).jpg
Normal file
|
After Width: | Height: | Size: 814 KiB |
BIN
J/jkjkil4/photos/2024-01-16-(1).jpg
Normal file
|
After Width: | Height: | Size: 859 KiB |
BIN
J/jkjkil4/photos/2024-03-14-(1).jpg
Normal file
|
After Width: | Height: | Size: 717 KiB |
BIN
J/jkjkil4/photos/2024-04-21-(1).jpg
Normal file
|
After Width: | Height: | Size: 971 KiB |
BIN
J/jkjkil4/photos/2024-04-21-(2).jpg
Normal file
|
After Width: | Height: | Size: 939 KiB |
BIN
J/jkjkil4/photos/2024-06-19-(1).jpg
Normal file
|
After Width: | Height: | Size: 480 KiB |
BIN
J/jkjkil4/photos/2024-09-09-(1).jpg
Normal file
|
After Width: | Height: | Size: 945 KiB |
BIN
J/jkjkil4/photos/2024-09-27-(1).jpg
Normal file
|
After Width: | Height: | Size: 965 KiB |
BIN
J/jkjkil4/photos/2024-10-04-(1).jpg
Normal file
|
After Width: | Height: | Size: 761 KiB |
BIN
J/jkjkil4/photos/2024-10-25-(1).jpg
Normal file
|
After Width: | Height: | Size: 814 KiB |
BIN
J/jkjkil4/photos/2024-10-25-(2).jpg
Normal file
|
After Width: | Height: | Size: 1010 KiB |
BIN
J/jkjkil4/photos/2024-12-06-(1).jpg
Normal file
|
After Width: | Height: | Size: 718 KiB |
BIN
J/jkjkil4/photos/2024-12-06-(2).jpg
Normal file
|
After Width: | Height: | Size: 677 KiB |
BIN
J/jkjkil4/photos/2025-02-03-(1).jpg
Normal file
|
After Width: | Height: | Size: 661 KiB |
BIN
J/jkjkil4/photos/2025-02-22-(1).jpg
Normal file
|
After Width: | Height: | Size: 681 KiB |
BIN
J/jkjkil4/photos/2025-04-08-(1).jpg
Normal file
|
After Width: | Height: | Size: 867 KiB |
BIN
J/jkjkil4/photos/2025-04-25-(1).jpg
Normal file
|
After Width: | Height: | Size: 885 KiB |
BIN
J/jkjkil4/photos/2025-07-07-(1).jpg
Normal file
|
After Width: | Height: | Size: 138 KiB |
BIN
J/jkjkil4/photos/2025-07-07-(2).jpg
Normal file
|
After Width: | Height: | Size: 143 KiB |
BIN
J/jkjkil4/photos/2025-07-07-(3).jpg
Normal file
|
After Width: | Height: | Size: 114 KiB |
BIN
J/jkjkil4/photos/2025-07-07-(4).jpg
Normal file
|
After Width: | Height: | Size: 94 KiB |
BIN
J/jkjkil4/photos/2025-07-07-(5).jpg
Normal file
|
After Width: | Height: | Size: 134 KiB |
BIN
J/jkjkil4/photos/2025-07-07-(6).jpg
Normal file
|
After Width: | Height: | Size: 172 KiB |
BIN
J/jkjkil4/photos/2025-07-07-(7).jpg
Normal file
|
After Width: | Height: | Size: 151 KiB |
BIN
J/jkjkil4/photos/2025-08-22-(1).jpg
Normal file
|
After Width: | Height: | Size: 967 KiB |
BIN
J/jkjkil4/photos/2025-08-26-(1).jpg
Normal file
|
After Width: | Height: | Size: 584 KiB |
BIN
J/jkjkil4/photos/2025-08-30-(1).jpg
Normal file
|
After Width: | Height: | Size: 969 KiB |
BIN
J/jkjkil4/photos/2025-09-17-(1).jpg
Normal file
|
After Width: | Height: | Size: 991 KiB |
BIN
J/jkjkil4/photos/2025-09-18-(1).jpg
Normal file
|
After Width: | Height: | Size: 884 KiB |
BIN
J/jkjkil4/photos/2025-09-27-(1).jpg
Normal file
|
After Width: | Height: | Size: 760 KiB |
BIN
J/jkjkil4/photos/2025-11-18-(1).jpg
Normal file
|
After Width: | Height: | Size: 976 KiB |
BIN
J/jkjkil4/photos/2025-11-18-(2).jpg
Normal file
|
After Width: | Height: | Size: 798 KiB |
BIN
J/jkjkil4/photos/2025-11-18-(3).jpg
Normal file
|
After Width: | Height: | Size: 516 KiB |
BIN
J/jkjkil4/photos/2025-12-13-(1).jpg
Normal file
|
After Width: | Height: | Size: 866 KiB |
BIN
J/jkjkil4/photos/2026-01-17-(1).jpg
Normal file
|
After Width: | Height: | Size: 785 KiB |
BIN
J/jkjkil4/photos/2026-03-01-(1).jpg
Normal file
|
After Width: | Height: | Size: 678 KiB |
BIN
J/jkjkil4/photos/2026-03-11-(1).jpg
Normal file
|
After Width: | Height: | Size: 924 KiB |
40
J/jkjkil4/src/descs.txt
Normal file
@@ -0,0 +1,40 @@
|
||||
[2023-11-10-(1).jpg]
|
||||
这是我的第一套女装qwq,虽然说是比较廉价的款式,但是毕竟是第一套嘛,一切的开始
|
||||
|
||||
[2024-01-04-(1).jpg]
|
||||
试了一下浅色的款式
|
||||
|
||||
[2024-04-21-(1).jpg]
|
||||
又买了一套浅色的款式,这套会可爱一些呢
|
||||
|
||||
[2025-02-03-(1).jpg]
|
||||
偏向日常的尝试
|
||||
|
||||
[2025-02-22-(1).jpg]
|
||||
群友穿不下的女仆装,就送我了owo
|
||||
|
||||
[2025-04-08-(1).jpg]
|
||||
闺蜜给我挑的衣服,很好看!也挺适合穿出门的
|
||||
|
||||
[2025-04-25-(1).jpg]
|
||||
尝试在闺蜜和同学的陪同下出门...因为怕社恐所以专挑在外地旅游的时候尝试TAT
|
||||
|
||||
最后还去旁边的商场打了舞萌(心虚)
|
||||
|
||||
[2025-07-07-(1).jpg]
|
||||
受不了学校宿舍搬出来住了,接下来就是大拍特拍环节!
|
||||
|
||||
[2025-08-22-(1).jpg]
|
||||
借群友衣服穿穿
|
||||
|
||||
[2025-08-26-(1).jpg]
|
||||
偏向日常的尝试
|
||||
|
||||
[2025-09-27-(1).jpg]
|
||||
去学校
|
||||
|
||||
[2025-12-13-(1).jpg]
|
||||
下雪出来走走
|
||||
|
||||
[2026-03-11-(1).jpg]
|
||||
忍不住又买了新衣服
|
||||
120
J/jkjkil4/src/generate_viewmd.py
Normal file
@@ -0,0 +1,120 @@
|
||||
from functools import lru_cache
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
ROOT_DIR = Path(__file__).resolve().parents[1]
|
||||
PHOTOS_DIR = ROOT_DIR / 'photos'
|
||||
DESCS_FILE = ROOT_DIR / 'src' / 'descs.txt'
|
||||
OUTPUT_FILE = ROOT_DIR / 'view.md'
|
||||
|
||||
|
||||
def extract_date_from_name(file_name: str) -> str:
|
||||
if len(file_name) >= 10:
|
||||
return file_name[:10]
|
||||
return ''
|
||||
|
||||
|
||||
@lru_cache(maxsize=1)
|
||||
def get_descs() -> dict[str, str]:
|
||||
if not DESCS_FILE.exists():
|
||||
return {}
|
||||
|
||||
descs: dict[str, str] = {}
|
||||
current_name = None
|
||||
current_lines: list[str] = []
|
||||
|
||||
for raw_line in DESCS_FILE.read_text(encoding='utf-8').splitlines():
|
||||
line = raw_line.rstrip()
|
||||
|
||||
if line.startswith('[') and line.endswith(']'):
|
||||
if current_name is not None:
|
||||
descs[current_name] = '\n'.join(current_lines).strip()
|
||||
current_name = line[1:-1].strip()
|
||||
current_lines = []
|
||||
continue
|
||||
|
||||
if current_name is not None:
|
||||
current_lines.append(raw_line)
|
||||
|
||||
if current_name is not None:
|
||||
descs[current_name] = '\n'.join(current_lines).strip()
|
||||
|
||||
return descs
|
||||
|
||||
|
||||
def read_optional_text(image_file: Path) -> str:
|
||||
return get_descs().get(image_file.name, '')
|
||||
|
||||
|
||||
def build_cell(image_file: Path) -> str:
|
||||
date_text = extract_date_from_name(image_file.name)
|
||||
note_text = read_optional_text(image_file)
|
||||
|
||||
lines = [
|
||||
'<td width="50%">',
|
||||
'',
|
||||
f'',
|
||||
date_text,
|
||||
]
|
||||
if note_text:
|
||||
lines.extend([
|
||||
'',
|
||||
note_text,
|
||||
])
|
||||
lines.extend([
|
||||
'',
|
||||
'</td>',
|
||||
])
|
||||
return '\n'.join(lines)
|
||||
|
||||
|
||||
def generate_view_md() -> str:
|
||||
imgs = sorted(PHOTOS_DIR.glob('*.jpg'), key=lambda path: path.name)
|
||||
|
||||
lines = [
|
||||
'<!-- 该文件由 generate_viewmd.py 生成,请勿手动编辑此文件 -->',
|
||||
'',
|
||||
'<table>',
|
||||
'',
|
||||
]
|
||||
|
||||
for index in range(0, len(imgs), 2):
|
||||
left_img = imgs[index]
|
||||
right_img = imgs[index + 1] if index + 1 < len(imgs) else None
|
||||
|
||||
lines.append('<tr>')
|
||||
lines.append(build_cell(left_img))
|
||||
|
||||
if right_img is None:
|
||||
lines.extend([
|
||||
'<td width="50%">',
|
||||
'',
|
||||
'</td>',
|
||||
])
|
||||
else:
|
||||
lines.append(build_cell(right_img))
|
||||
|
||||
lines.extend([
|
||||
'</tr>',
|
||||
'',
|
||||
])
|
||||
|
||||
if index + 2 < len(imgs):
|
||||
lines.extend([
|
||||
'<tr><td><br></td></tr>',
|
||||
'',
|
||||
])
|
||||
|
||||
lines.append('</table>')
|
||||
lines.append('')
|
||||
|
||||
return '\n'.join(lines)
|
||||
|
||||
|
||||
def main() -> None:
|
||||
output = generate_view_md()
|
||||
OUTPUT_FILE.write_text(output, encoding='utf-8')
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
354
J/jkjkil4/view.md
Normal file
@@ -0,0 +1,354 @@
|
||||
<!-- 该文件由 generate_viewmd.py 生成,请勿手动编辑此文件 -->
|
||||
|
||||
<table>
|
||||
|
||||
<tr>
|
||||
<td width="50%">
|
||||
|
||||
.jpg)
|
||||
2023-11-10
|
||||
|
||||
这是我的第一套女装qwq,虽然说是比较廉价的款式,但是毕竟是第一套嘛,一切的开始
|
||||
|
||||
</td>
|
||||
<td width="50%">
|
||||
|
||||
.jpg)
|
||||
2024-01-04
|
||||
|
||||
试了一下浅色的款式
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr><td><br></td></tr>
|
||||
|
||||
<tr>
|
||||
<td width="50%">
|
||||
|
||||
.jpg)
|
||||
2024-01-16
|
||||
|
||||
</td>
|
||||
<td width="50%">
|
||||
|
||||
.jpg)
|
||||
2024-03-14
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr><td><br></td></tr>
|
||||
|
||||
<tr>
|
||||
<td width="50%">
|
||||
|
||||
.jpg)
|
||||
2024-04-21
|
||||
|
||||
又买了一套浅色的款式,这套会可爱一些呢
|
||||
|
||||
</td>
|
||||
<td width="50%">
|
||||
|
||||
.jpg)
|
||||
2024-04-21
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr><td><br></td></tr>
|
||||
|
||||
<tr>
|
||||
<td width="50%">
|
||||
|
||||
.jpg)
|
||||
2024-06-19
|
||||
|
||||
</td>
|
||||
<td width="50%">
|
||||
|
||||
.jpg)
|
||||
2024-09-09
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr><td><br></td></tr>
|
||||
|
||||
<tr>
|
||||
<td width="50%">
|
||||
|
||||
.jpg)
|
||||
2024-09-27
|
||||
|
||||
</td>
|
||||
<td width="50%">
|
||||
|
||||
.jpg)
|
||||
2024-10-04
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr><td><br></td></tr>
|
||||
|
||||
<tr>
|
||||
<td width="50%">
|
||||
|
||||
.jpg)
|
||||
2024-10-25
|
||||
|
||||
</td>
|
||||
<td width="50%">
|
||||
|
||||
.jpg)
|
||||
2024-10-25
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr><td><br></td></tr>
|
||||
|
||||
<tr>
|
||||
<td width="50%">
|
||||
|
||||
.jpg)
|
||||
2024-12-06
|
||||
|
||||
</td>
|
||||
<td width="50%">
|
||||
|
||||
.jpg)
|
||||
2024-12-06
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr><td><br></td></tr>
|
||||
|
||||
<tr>
|
||||
<td width="50%">
|
||||
|
||||
.jpg)
|
||||
2025-02-03
|
||||
|
||||
偏向日常的尝试
|
||||
|
||||
</td>
|
||||
<td width="50%">
|
||||
|
||||
.jpg)
|
||||
2025-02-22
|
||||
|
||||
群友穿不下的女仆装,就送我了owo
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr><td><br></td></tr>
|
||||
|
||||
<tr>
|
||||
<td width="50%">
|
||||
|
||||
.jpg)
|
||||
2025-04-08
|
||||
|
||||
闺蜜给我挑的衣服,很好看!也挺适合穿出门的
|
||||
|
||||
</td>
|
||||
<td width="50%">
|
||||
|
||||
.jpg)
|
||||
2025-04-25
|
||||
|
||||
尝试在闺蜜和同学的陪同下出门...因为怕社恐所以专挑在外地旅游的时候尝试TAT
|
||||
|
||||
最后还去旁边的商场打了舞萌(心虚)
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr><td><br></td></tr>
|
||||
|
||||
<tr>
|
||||
<td width="50%">
|
||||
|
||||
.jpg)
|
||||
2025-07-07
|
||||
|
||||
受不了学校宿舍搬出来住了,接下来就是大拍特拍环节!
|
||||
|
||||
</td>
|
||||
<td width="50%">
|
||||
|
||||
.jpg)
|
||||
2025-07-07
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr><td><br></td></tr>
|
||||
|
||||
<tr>
|
||||
<td width="50%">
|
||||
|
||||
.jpg)
|
||||
2025-07-07
|
||||
|
||||
</td>
|
||||
<td width="50%">
|
||||
|
||||
.jpg)
|
||||
2025-07-07
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr><td><br></td></tr>
|
||||
|
||||
<tr>
|
||||
<td width="50%">
|
||||
|
||||
.jpg)
|
||||
2025-07-07
|
||||
|
||||
</td>
|
||||
<td width="50%">
|
||||
|
||||
.jpg)
|
||||
2025-07-07
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr><td><br></td></tr>
|
||||
|
||||
<tr>
|
||||
<td width="50%">
|
||||
|
||||
.jpg)
|
||||
2025-07-07
|
||||
|
||||
</td>
|
||||
<td width="50%">
|
||||
|
||||
.jpg)
|
||||
2025-08-22
|
||||
|
||||
借群友衣服穿穿
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr><td><br></td></tr>
|
||||
|
||||
<tr>
|
||||
<td width="50%">
|
||||
|
||||
.jpg)
|
||||
2025-08-26
|
||||
|
||||
偏向日常的尝试
|
||||
|
||||
</td>
|
||||
<td width="50%">
|
||||
|
||||
.jpg)
|
||||
2025-08-30
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr><td><br></td></tr>
|
||||
|
||||
<tr>
|
||||
<td width="50%">
|
||||
|
||||
.jpg)
|
||||
2025-09-17
|
||||
|
||||
</td>
|
||||
<td width="50%">
|
||||
|
||||
.jpg)
|
||||
2025-09-18
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr><td><br></td></tr>
|
||||
|
||||
<tr>
|
||||
<td width="50%">
|
||||
|
||||
.jpg)
|
||||
2025-09-27
|
||||
|
||||
去学校
|
||||
|
||||
</td>
|
||||
<td width="50%">
|
||||
|
||||
.jpg)
|
||||
2025-11-18
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr><td><br></td></tr>
|
||||
|
||||
<tr>
|
||||
<td width="50%">
|
||||
|
||||
.jpg)
|
||||
2025-11-18
|
||||
|
||||
</td>
|
||||
<td width="50%">
|
||||
|
||||
.jpg)
|
||||
2025-11-18
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr><td><br></td></tr>
|
||||
|
||||
<tr>
|
||||
<td width="50%">
|
||||
|
||||
.jpg)
|
||||
2025-12-13
|
||||
|
||||
下雪出来走走
|
||||
|
||||
</td>
|
||||
<td width="50%">
|
||||
|
||||
.jpg)
|
||||
2026-01-17
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr><td><br></td></tr>
|
||||
|
||||
<tr>
|
||||
<td width="50%">
|
||||
|
||||
.jpg)
|
||||
2026-03-01
|
||||
|
||||
</td>
|
||||
<td width="50%">
|
||||
|
||||
.jpg)
|
||||
2026-03-11
|
||||
|
||||
忍不住又买了新衣服
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||