A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
TypeScript agent-skillsaidsh-pluginhacktoberfestjavascriptmcp-serverreactresume-builderself-hostedtypescript
import type { ResumeData } from "./data";
/** The shared fields every section starts with, minus its items or content. */
export const sectionDefaults = (icon: string) => ({
title: "",
icon,
columns: 1,
hidden: false,
showHeading: true,
keepTogether: false,
startOnNewPage: false,
});
const section = (icon: string) => ({ ...sectionDefaults(icon), items: [] as never[] });
export const defaultResumeData: ResumeData = {
picture: {
hidden: false,
fit: "cover",
url: "",
size: 80,
rotation: 0,
aspectRatio: 1,
borderRadius: 0,
borderColor: "rgba(0, 0, 0, 0.5)",
borderWidth: 0,
shadowColor: "rgba(0, 0, 0, 0.5)",
shadowWidth: 0,
},
basics: {
name: "",
headline: "",
email: "",
phone: "",
location: "",
website: { url: "", label: "" },
customFields: [],
},
summary: { ...sectionDefaults("article"), content: "" },
sections: {
profiles: section("messenger-logo"),
experience: section("briefcase"),
education: section("graduation-cap"),
projects: section("code-simple"),
skills: { ...section("compass-tool"), layout: "default", keywordLayout: "inline" },
languages: section("translate"),
interests: section("football"),
awards: section("trophy"),
certifications: section("certificate"),
publications: section("books"),
volunteer: section("hand-heart"),
references: section("phone"),
},
customSections: [],
metadata: {
template: "onyx",
layout: {
sidebarWidth: 35,
pages: [
{
fullWidth: false,
// Career narrative leads; Profiles stays in main so one-column imports retain it.
main: ["summary", "experience", "education", "projects", "volunteer", "references", "profiles"],
sidebar: ["skills", "certifications", "awards", "languages", "interests", "publications"],
},
],
},
page: {
gapX: 4,
gapY: 6,
marginX: 14,
marginY: 12,
format: "a4",
locale: "en-US",
dateFormat: "short",
hideLinkUnderline: false,
hideIcons: false,
hideSectionIcons: true,
},
design: {
colors: {
primary: "rgba(220, 38, 38, 1)",
text: "rgba(0, 0, 0, 1)",
background: "rgba(255, 255, 255, 1)",
},
level: {
icon: "star",
type: "circle",
},
entry: { layout: "stacked", lead: "organization", accent: "none" },
},
typography: {
body: {
fontFamily: "IBM Plex Serif",
fontWeights: ["400", "500"],
fontSize: 10,
lineHeight: 1.5,
},
heading: {
fontFamily: "IBM Plex Serif",
fontWeights: ["600"],
fontSize: 14,
lineHeight: 1.5,
},
},
notes: "",
styleRules: [],
},
};