Use git submodules and make for simple code sharing

This page summarizes the projects mentioned and recommended in the original post on dev.to

SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
  • mdx-deck

    ♠️ React MDX-based presentation decks

  • Including the building of graphviz within pandoc lead to high build times, which is exactly the problem I wanted to avoid with the move away from mdx-deck

  • Therefore I was looking for another solution that allows me to reuse code without using NPM. I like other package managers much better, but using them might feel weird, since they are targeted at other programming languages, and I am not really aware of a language-independent package manager. So I decided to just use Git submodules for these files. So I created a separate repository for the shared presentation code including the CSS, JS, and a small markdown file that allows me to test the package independently. There is also a Makefile included that knows how to build the presentation since I also don't want to copy that information into all my presentations (otherwise there might some adapting be necessary every time the package is restructured).

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • presentation-template

  • Before explaining the second line, I should probably elaborate a bit on the idea of how to integrate the graphviz images. There is a diagrams folder in each of my presentations, which will contain files with a .dot ending. These files contain the graphviz instructions. make should create a file with a .dot.svg ending for each of the .dot files in the same folder, which in turn can be included in the presentation. So the presentation will include some markdown like this:

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Launch HN: Onedoc (YC W24) – A better way to create PDFs

    11 projects | news.ycombinator.com | 11 Mar 2024
  • Popular Frontend Coding Interview Challenges [React Version ]

    1 project | /r/reactjs | 4 Jan 2023
  • Hacktoberfest 2021! My second contribution

    2 projects | dev.to | 27 Oct 2021
  • Let's Make a Pokémon Themed Note Keeping App in React!

    2 projects | dev.to | 29 Aug 2021
  • Integrate Copilot feature into your React applications using CopilotKit

    5 projects | dev.to | 3 May 2024