Chirp is an open source social media project designed to replicate the feel of Twitter, but be better. Chirp is built with PHP, HTML, JavaScript, CSS, and SQLite.
- Account creation
- Posting
- Replying
- Liking
- Account editing
- Following
- Reposts
- Viewing reposts on accounts
- Post editing
- Post deletion
- Search
- Trends
- "For You" timeline
Chirp's source code is open source, and contributions are welcome! You can fork this repository, make changes, and submit a pull request. If you contribute, include your Chirp username to receive a contributor badge next to your name.
-
Clone this repository to your desired location.
-
Navigate to the project directory:
php -S localhost:port
-
Ensure you have
PHP
andPDO
with SQLite support installed. -
Clone the repository:
git clone https://github.com/actuallyaridan/chirp mv chirp /var/www/
- Note: Replace
/var/www/
with the directory used by your Apache or XAMPP installation.
- Note: Replace
-
Ensure the directory is empty before moving Chirp. Placing it in a non-empty folder like
/htdocs/chirp
may cause issues.
Chirp uses SQLite as its database. The actual database is not included in the repository due to sensitive information, but a blank sample database (chirp.db.sample
) is provided.
To use it:
- Rename
chirp.db.sample
tochirp.db
. - Place it above the root directory of your PHP web server to secure it.
- Data will populate automatically as you use the application.
To create an admin account:
- Manually generate an invite code.
- Sign up with the username "chirp".
Note: A more user-friendly system for managing permissions and privileges is planned.
You are free to fork Chirp and use its code as a foundation for your project. However, please adhere to the following guidelines:
- Rebrand your project: Avoid using any Chirp branding.
- Credit us: Provide credit to the original contributors or link to this repository.
Chirp is licensed under the MIT license.