Project generator for Nintendo Switch homebrews. A work in progress.
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.
Creating 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 created:
project
│ .editorconfig
│ .gitignore
│ CMakeLists.txt // Only if you use CLion
│ Makefile
│ icon.jpg
│ README.md
│
└───data
│
└───include
│
└───source
│ main.cpp // Your main application file
Creating 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 created:
project
│ .editorconfig
│ .gitignore
│ CMakeLists.txt // Only if you use CLion
│ main.c
│ Makefile
│ icon.jpg
│ README.md
│
Creating a BrewJS (Javascript) project
Run nxstart brewjs. It will ask for a project name, author name. The following project structure will be created:
project
│ .editorconfig
│ .gitignore
│ index.js // Your main application file
│ README.md
│
└───assets
│
Creating a PyNX (Python) project
Run nxstart pynx. It will ask for a project name, author name. The following project structure will be created:
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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nxstart-0.5.0.tar.gz.
File metadata
- Download URL: nxstart-0.5.0.tar.gz
- Upload date:
- Size: 47.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2f51f4239c8362e37adef4c1f9d51f55a8dcfe61bf18ba15bf590f5b1a9d8543
|
|
| MD5 |
94d1adcc3e0b4943ae5fbe9bd8464109
|
|
| BLAKE2b-256 |
542baf81b182b37bfdbafe0112580ef9f24a05c4e4c5c045f87d59fac2bc4047
|
File details
Details for the file nxstart-0.5.0-py3-none-any.whl.
File metadata
- Download URL: nxstart-0.5.0-py3-none-any.whl
- Upload date:
- Size: 81.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f4acb8720a746a4f609b537b58c3c7e1a605ad48ba32edc449670b051b1e66a9
|
|
| MD5 |
2469256a54c13c1b06f69cb6ab07931c
|
|
| BLAKE2b-256 |
f31e81493a2f9c67d67ee2cf29d5b0c0b214b6a5bb656076a4b0f35672948fc2
|