Skip to main content

Project generator for Nintendo Switch homebrews.

https://travis-ci.org/roedesh/nxstart.svg?branch=master

Features

  • Generate a libnx (C++) project using nxstart libnx

  • Generate a libtransistor (C) project using nxstart libt

  • Generate a BrewJS (Javascript) project using nxstart brewjs

  • Generate a PyNX (Python) project using nxstart pynx

Installation

Install from PyPi using pip, a package manager for Python.

$ pip install nxstart

Don’t have pip installed? Try installing it, by running this from the command line:

$ curl https://bootstrap.pypa.io/get-pip.py | python

Or, you can download the source code for nxstart and then run:

$ python setup.py install

You may need to run the above commands with sudo.

Generating a libnx (C++) project

Run nxstart libnx. It will ask for a project name, author name and if you are using CLion (IDE by Jetbrains). If you say yes to CLion, CMakeLists.txt will be included.

The following project structure will be generated:

project
   .editorconfig
   .gitignore
   CMakeLists.txt  // Only if you use CLion
   Makefile
   icon.jpg
   README.md

└───data

└───include

└───source
       main.cpp    // Your main application file

Generating a libtransistor (C) project

Run nxstart libt. It will ask for a project name, author name and if you are using CLion (IDE by Jetbrains). If you say yes to CLion, CMakeLists.txt will be included.

The following project structure will be generated:

project
   .editorconfig
   .gitignore
   CMakeLists.txt  // Only if you use CLion
   main.c
   Makefile
   icon.jpg
   README.md

Generating a BrewJS (Javascript) project

Run nxstart brewjs. It will ask for a project name, author name. The following project structure will be generated:

project
   .editorconfig
   .gitignore
   index.js        // Your main application file
   README.md

└───assets

Generating a PyNX (Python) project

Run nxstart pynx. It will ask for a project name, author name. The following project structure will be generated:

project
   .editorconfig
   .gitignore
   main.py        // Your main application file
   README.md

Skip prompts

To skip the prompts, provide the necessary flags. For example:

$ nxstart -n "My new project" -a "John Doe" libnx --clion

Or if you don’t use CLion:

$ nxstart -n "My new project" -a "John Doe" libnx --no-clion

Running tests

Tests can be run with the pytest command. If you are contributing code, make sure all tests are green before submitting a PR.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nxstart-1.0.3.tar.gz (48.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nxstart-1.0.3-py3-none-any.whl (83.2 kB view details)

Uploaded Python 3

File details

Details for the file nxstart-1.0.3.tar.gz.

File metadata

  • Download URL: nxstart-1.0.3.tar.gz
  • Upload date:
  • Size: 48.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for nxstart-1.0.3.tar.gz
Algorithm Hash digest
SHA256 22c939d8630498fa66c0258ff6ae4bf298e2dd72c12d766609f7e3a1b9828973
MD5 88a4b9926e356a80c151c88a8a51f07e
BLAKE2b-256 326569bfb2d1d6dbd782baf204db9899cf5b678f9ac9a2bf4d2111cb582104b9

See more details on using hashes here.

File details

Details for the file nxstart-1.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for nxstart-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b53c18f5e6d43a87d24a17691dd8b93537177ca6738addb99f41ef9172ef46d3
MD5 ecbf83c01d53b5b0eb7085fc1a8979ce
BLAKE2b-256 97b5972a205dd794e4f4ff48137601debbaae2e6659dc1d746aa69dda176500a

See more details on using hashes here.

Release history Release notifications | RSS feed

1.1.3

2 files

1.1.2

2 files

1.1.0

2 files

This release

1.0.3 This release

2 files

1.0.2

2 files

1.0.1

2 files

1.0.0

2 files

0.5.0

2 files

0.4.0

2 files

0.3.0

2 files

0.2.1

2 files

0.2.0

2 files

0.1.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page