Quasi-remote laser pulse compression and generation of radiation and particle beams