Cut the shallot into small cubes, also cut the garlic very finely. Quarter the salami lengthways and cut into small pieces, also cut the artichoke hearts lengthways into quarters. Cut the peppers into strips.
While the pasta is cooking, braise the shallot with the bell pepper and half of the salami in a large pan with olive oil - be careful not to fry too hot! Now add the artichokes and garlic and stew briefly, pour the wine on top and wait until the wine has almost boiled off, then add a small piece of butter. Season well with salt and a lot of pepper, add the parsley and the remaining salami and stew for another minute. If everything gets too dry, add a little cooking water from the pasta.
Mix the finished spaghetti with everything in the pan and sprinkle with parmesan cheese before serving.