Skip to main content
U.S. flag

An official website of the United States government

Dot gov

The .mil means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

DoW Project Owners: Learn more about open source at DoW

Get Started

Open Source at DoW

The U.S. Department of War (DoW) faces unique challenges in open sourcing its code. Unlike most software projects, code written by U.S. Federal government employees typically does not have copyright protections under U.S. and some international laws. This can make it difficult to attach an open source license to our code. The Defense Digital Service (DDS) worked with the open source community starting in early 2017 to develop a guideline for supporting open source software (OSS) within the Department. Code.mil is now maintained by the DoW CIO.

arrow right

Connect with us.

We believe that software created by the government should be shared with the public, and we want to collaborate with civic-minded peers to make this happen. Reach out to us to start the discussion!
{{site.email}} Check us out on GitHub

arrow right

Make us better.

We’ve drafted this documentation in partnership with the open source community. You can help improve our open source strategy by improving these documents! Open an issue or a pull request with your suggestions.

What is Code.mil?

Code.mil is an experiment in open source at the U.S. Department of War. The goal is to foster open collaboration with the developer community around the world on DoW open source projects. During the first phase, which launched in early 2017, we wrote a strategy for open sourcing code written by DoW employees, and then we called upon the OSS developer community to help us finalize that plan.

We are calling on the entire DoW developer community to reach out to the DoW CIO to begin tracking open source projects coming out of the Department.

In the future we will tackle issues around procuring source code and addressing how this strategy might facilitate technology transfer. The hope is that Code.mil will encourage conversation around these topics and allow anyone around the world to contribute knowledge and code for DoW projects.

This initiative is not intended to set DoW policy, but rather is exploring alternate ways to join the open source and free software communities. You can read more about the U.S. Federal Source Code Policy on the Digital.gov web site.