Skip to content

"Fab City and futuristic urban designs: advancing existing concepts with a blockchain-driven approach."

Notifications You must be signed in to change notification settings

universalbit-dev/CityGenerator

 
 

Repository files navigation

CodeQL License: LGPL v3 NodeJS Hyperledger FreeCodeCamp

Web3


Description:
The CityGenerator project focuses on creating dynamic city models inspired by the principles outlined in the Fab City: The Mass Distribution of (Almost) Everything white paper. It aims to provide tools for simulating and visualizing sustainable, self-sufficient, and resilient urban environments.


Key Objectives:

  1. Sustainability: Promote local production and reduce dependency on external resources, aligning with the Fab City framework.
  2. Resilience: Envision cities capable of adapting to environmental, social, and economic changes.
  3. Collaboration: Create open-source tools and models to engage developers, urban planners, and researchers in building decentralized urban systems.

Clone the project

git clone https://github.com/universalbit-dev/CityGenerator.git
cd CityGenerator

Install packages with npm then generate your city model

npm i && npm audit fix
npm start

Automated Certificate Generation:

  • To simplify the process for users, the project is set up to automatically generate the SSL/TLS certificate and private key required for HTTPS during the npm install process. This eliminates the need for manual certificate creation, streamlining the setup of the HTTPS server.

Fixing Issues:

  • If you encounter any issues with the HTTPS server or certificate generation, refer to the SSL README for detailed instructions and troubleshooting tips.

Resources


City Generator Images
map01 map_16
map_13
About Author of City Map Generator: @probabletrain
Thanks!

...this is something of amazing


Build your Project:

The bundle.js file is currently located in the /src directory, which is not ideal. Generated files like bundle.js should be placed in a separate directory like /dist to maintain a clean project structure. Additionally, the application encounters issues and gets stuck during runtime or build. [BlackScreen]

npm run build

Webpack Bundle Analyzer

  • bundle.js should be removed from /src and instead generated in /dist.
  • The application should run smoothly after the change.

Interactive treemap visualization of the contents

Webpack Bundle Analyzer

"In a project like CityGenerator, which seems to involve complex features (e.g., blockchain-driven urban designs), managing bundle size is critical for ensuring good performance, especially for web-based applications. Using webpack-bundle-analyzer can help identify and reduce inefficiencies in the build output"


Blockchain Integration: Information about integrating with DigiByte and other blockchain environments.

-- DigiByte Integration Guide -- -- Documentation and examples --

Blockchain Environment

-- Workers

Contributing: feel free to make something of amazing.

📢 Support the UniversalBit Project

Help us grow and continue innovating!


License

Distributed under the LGPL-3.0 License. See lgpl-3.0.txt

About

"Fab City and futuristic urban designs: advancing existing concepts with a blockchain-driven approach."

Resources

Code of conduct

Stars

Watchers

Forks

Languages

  • JavaScript 93.3%
  • Assembly 2.3%
  • C 1.5%
  • Makefile 1.2%
  • TypeScript 1.1%
  • Shell 0.6%