# How to generate new Module template without Git/Github

**URL:** <https://discourse.julialang.org/t/how-to-generate-new-module-template-without-git-github/107169>\
**Category:** New to Julia\
**Tags:** pkgtemplates\
**Created:** [December 5, 2023, 1:53pm UTC](https://discourse.julialang.org/t/how-to-generate-new-module-template-without-git-github/107169 "2023-12-05T13:53:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![roeya](https://avatars.discourse-cdn.com/v4/letter/r/ecb155/32.png) [@roeya](https://discourse.julialang.org/u/roeya)\
**Post date:** [December 5, 2023, 1:53pm UTC](https://discourse.julialang.org/t/how-to-generate-new-module-template-without-git-github/107169/1 "2023-12-05T13:53:17Z")

</div>

When you want to generate new module the documentation points you to PkgTemplates however if for some reason you do not have a Git or Github account you will get an error:

```julia
Git hosting service username is required, set one with keyword `user="<username>"`

```

To solve it use the following script to create new module under the current directory:

```julia
using PkgTemplates

plugins = [ CompatHelper(),
ProjectFile(),
SrcDir(),
!Git,
License(),
Readme(),
Tests(),
TagBot(),
!GitHubActions,
]

t = Template(;plugins=plugins, dir=".") # replace dir with the required directory

t("Demo") # the module name will be Demo

```
