Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

A one-way Markdown mirror folder

Abierto
#37 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
68/100
Tipo de issue
Nueva funcionalidad
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
csharp, git, markdown

Línea de trabajo

Read MarkdownPromptFormat.cs, MarkdownWorkflowFormat.cs, and MarkdownTransferService.cs to understand the existing format and file naming; then review the Storage section in SettingsViewModel.cs, IFilePickerService, and AppSettings.cs. Add the one-way mirror setting and folder write flow, tracking only files Prompuff created and writing each through a temporary file before rename. Done means importing the mirror restores prompts and workflows, unowned files remain untouched with a test covering that, and docs/user-guide.md explains the mirror.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

enhancement

Keep the library as plain files too, so Git, Syncthing or any editor can see it: a folder that Prompuff keeps in step with the library.

What to do

  • Add a mirror folder, chosen in Settings › Storage and off until one is picked. Like Export, Prompuff writes only where the user chose.
  • The folder holds one Markdown file per prompt in the 1.0 format, with workflows in workflows/. It's flat: collections stay in the frontmatter, as in any export.
  • The mirror is one-way. Prompuff writes it, and Import stays the way files come in. A two-way mirror is #56.
  • Prompuff only ever changes or removes files it wrote. Keep track of which those are, either in the library (a new migration, never an edited one) or in a file inside the mirror, and record the choice in ROADMAP.md.
  • Write each file to a temporary name and then rename it, so Git or Syncthing never pick up half a file.
  • Remembered values never go into the mirror, since they're never exported.
  • Mirror files keeping in step with their prompts as they change is #38.

Where to look

  • src/Prompuff.Infrastructure/ImportExport/MarkdownPromptFormat.cs and MarkdownWorkflowFormat.cs: Write
  • src/Prompuff.Infrastructure/ImportExport/MarkdownTransferService.cs: how export names and writes files
  • src/Prompuff.App/ViewModels/SettingsViewModel.cs: the Storage section; IFilePickerService picks the folder
  • src/Prompuff.Application/Settings/AppSettings.cs

Done when

  • Picking a folder fills it with the library, and importing that folder into a fresh library brings back the same prompts and workflows.
  • A file in the folder that Prompuff didn't write is never changed or removed. A test covers it.
  • docs/user-guide.md describes the mirror.
Lenguaje dominante
C#
Estrellas
0
Forks
1
Merge medio
1 h 21 min
PR fusionados (30 d)
22

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de hazeliscoding/prompuff

Todos los issues de hazeliscoding/prompuff

Issues similares

Más issues de C#

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.