If the soundboard is in good shape then the piano's musical life may not be over, even though it needs work. For many churches, schools and other non-profits, any piano is better than none at all and you may qualify for a tax deduction if you make it a charitable donation.
If the inner works are beyond repair but the outside is in good shape, a piano can be re-purposed to make an attractive and functional desk or sideboard. Tackle it as a DIY project or consider hiring a cabinetmaker who specializes in that type of conversion.
If the cabinet is too far gone to preserve as a whole, consider dismantling it and using undamaged parts, legs, front panel, top, in other projects.