# About Me
Hey there! I'm ELMINYAWE, a passionate developer who loves building things that live on the internet. I specialize in creating clean, efficient, and visually stunning applications.
From writing Python bots to crafting responsive web interfaces, I enjoy every aspect of the development process. I believe in writing code that not only works but tells a story. When I'm not coding, you'll find me exploring new technologies and pushing the boundaries of what's possible.
Tech Stack
> Code Arsenal
A collection of code snippets showcasing different languages and techniques I work with.
Discord Bot Framework
A simple async Discord bot with command handling and event listeners.
1import discord
2from discord.ext import commands
3
4class Bot(commands.Bot):
5 def __init__(self):
6 super().__init__(
7 command_prefix="!",
8 intents=discord.Intents.all()
9 )
10
11 async def on_ready(self):
12 print(f"Logged in as {self.user}")
13 await self.load_extension("cogs.music")
14
15bot = Bot()
16
17@bot.command()
18async def ping(ctx):
19 """Check bot latency"""
20 latency = round(bot.latency * 1000)
21 await ctx.send(f"🏓 Pong! {latency}ms")
22
23@bot.event
24async def on_message(message):
25 if message.author.bot:
26 return
27 await bot.process_commands(message)
28
29bot.run("YOUR_TOKEN")Express API Server
RESTful API server with middleware, rate limiting, and error handling.
1const express = require('express');
2const helmet = require('helmet');
3const cors = require('cors');
4const rateLimit = require('express-rate-limit');
5
6const app = express();
7const PORT = process.env.PORT || 3000;
8
9// Middleware
10app.use(helmet());
11app.use(cors());
12app.use(express.json());
13
14// Rate limiter
15const limiter = rateLimit({
16 windowMs: 15 * 60 * 1000,
17 max: 100,
18 message: { error: 'Too many requests' }
19});
20app.use('/api/', limiter);
21
22// Routes
23app.get('/api/health', (req, res) => {
24 res.json({
25 status: 'healthy',
26 uptime: process.uptime(),
27 timestamp: new Date().toISOString()
28 });
29});
30
31app.listen(PORT, () => {
32 console.log(`Server running on port ${PORT}`);
33});Neon Glow Animation
Pure CSS neon text effect with animated glow and flicker.
1.neon-text {
2 font-family: 'Courier New', monospace;
3 font-size: 3rem;
4 color: #fff;
5 text-shadow:
6 0 0 7px #ff0000,
7 0 0 10px #ff0000,
8 0 0 21px #ff0000,
9 0 0 42px #dc143c;
10 animation: flicker 1.5s infinite alternate;
11}
12
13@keyframes flicker {
14 0%, 18%, 22%, 25%, 53%, 57%, 100% {
15 opacity: 1;
16 text-shadow:
17 0 0 7px #ff0000,
18 0 0 10px #ff0000,
19 0 0 21px #ff0000;
20 }
21 20%, 24%, 55% {
22 opacity: 0.8;
23 text-shadow: none;
24 }
25}Game Entity System
A lightweight entity-component system for game development in Lua.
1local Entity = {}
2Entity.__index = Entity
3
4function Entity.new(name, x, y)
5 local self = setmetatable({}, Entity)
6 self.name = name
7 self.x = x
8 self.y = y
9 self.components = {}
10 self.velocity = { x = 0, y = 0 }
11 return self
12end
13
14function Entity:addComponent(name, data)
15 self.components[name] = data
16 return self
17end
18
19function Entity:update(dt)
20 if self.components.physics then
21 self.x = self.x + self.velocity.x * dt
22 self.y = self.y + self.velocity.y * dt
23 end
24end
25
26-- Usage
27local player = Entity.new("Player", 0, 0)
28 :addComponent("physics", { mass = 1 })
29 :addComponent("sprite", { texture = "hero" })# Projects
A selection of projects I've built, from bots to frameworks to game engines.